/* Formularios de registro, acceso y panel del cliente. Prefijo .pmc- */
.pmc-form-wrap, .pmc-account { max-width: 30rem; margin: 2rem auto; }
.pmc-form, .pmc-form *, .pmc-summary, .pmc-summary * { box-sizing: border-box; }
.pmc-form, .pmc-summary {
	background: #fff; color: #1c1917; border: 1px solid #e7e5e4; border-radius: 1rem;
	padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pmc-form h2, .pmc-summary h2 { margin: 0 0 1rem; font-size: 1.4rem; }
.pmc-field { margin-bottom: 1rem; }
.pmc-field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.pmc-field input[type=text], .pmc-field input[type=email], .pmc-field input[type=password], .pmc-field select {
	width: 100%; min-height: 2.9rem; padding: .6rem .75rem; border: 1px solid #a8a29e; border-radius: .6rem;
	font: inherit; background: #fff; color: inherit;
}
.pmc-field input:focus, .pmc-field select:focus { outline: 3px solid #93c5fd; outline-offset: 1px; border-color: #1d4ed8; }
.pmc-field.has-error input, .pmc-field.has-error select { border-color: #b91c1c; }
.pmc-prefixed { display: flex; align-items: stretch; }
.pmc-prefixed span {
	display: flex; align-items: center; padding: 0 .6rem; border: 1px solid #a8a29e; border-right: 0;
	border-radius: .6rem 0 0 .6rem; background: #f5f5f4; color: #57534e; font-size: .9rem; white-space: nowrap;
}
.pmc-prefixed input { border-radius: 0 .6rem .6rem 0 !important; min-width: 0; }
.pmc-check label { display: block; position: relative; padding-left: 1.75rem; font-weight: 400; }
.pmc-check input { position: absolute; left: 0; top: .3rem; margin: 0; width: 1.1rem; height: 1.1rem; }
.pmc-help { color: #57534e; font-size: .875rem; margin: .35rem 0 0; }
.pmc-error { color: #b91c1c; font-size: .9rem; margin: .35rem 0 0; font-weight: 500; }
.pmc-form > .pmc-error { background: #fef2f2; border: 1px solid #fecaca; padding: .6rem .75rem; border-radius: .6rem; margin: 0 0 1rem; }
.pmc-notice { padding: .7rem .9rem; border-radius: .6rem; margin: 0 0 1rem; font-weight: 500; }
.pmc-notice-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.pmc-notice-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.pmc-notice-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.pmc-notice-admin { background: #f4fbd9; border: 2px solid #101114; color: #101114; }
.pmc-notice-admin a { color: #101114; font-weight: 700; }
.pmc-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .6rem 1.2rem;
	border: 0; border-radius: .6rem; background: #1d4ed8; color: #fff; font: inherit; font-weight: 600;
	text-decoration: none; cursor: pointer;
}
.pmc-form .pmc-btn { width: 100%; }
.pmc-btn:hover { background: #1e40af; color: #fff; }
.pmc-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.pmc-link-btn { border: 0; background: none; color: #1d4ed8; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.pmc-form-alt { text-align: center; margin: 1rem 0 0; font-size: .95rem; }
.pmc-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pmc-slug-status { min-height: 1.2em; margin: -.5rem 0 1rem; font-size: .9rem; }
.pmc-slug-status.is-ok { color: #047857; }
.pmc-slug-status.is-bad { color: #b91c1c; }
.pmc-summary dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 1rem 0; }
.pmc-summary dt { font-weight: 600; color: #57534e; }
.pmc-summary dd { margin: 0; word-break: break-word; }
.pmc-badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.pmc-badge-ok { background: #d1fae5; color: #065f46; }
.pmc-badge-wait { background: #fef3c7; color: #78350f; }
.pmc-badge-off { background: #fee2e2; color: #7f1d1d; }
.pmc-account-foot { text-align: center; margin-top: 1rem; }
.pmc-account-support { text-align: center; margin: 1.5rem 0 0; color: #4b5563; font-size: .95rem; }
@media (max-width: 30rem) { .pmc-summary dl { grid-template-columns: 1fr; } .pmc-summary dt { margin-top: .5rem; } }
