/* Registro de negocio (app/Views/auth/signup.php). Paleta Verde Agave del sitio. */
.su-body { margin: 0; min-height: 100vh; background: #F5F7FB; color: #0F172A; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.su-body input, .su-body select, .su-body button { font-family: inherit; }
.su-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 5fr) 7fr; }

.su-panel { display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; padding: 3rem clamp(2rem, 4vw, 4rem); background: #095A41; color: #FFFFFF; }
.su-brand { align-self: flex-start; }
.su-brand img { display: block; height: 64px; width: auto; }
.su-panel-title { margin: 1.25rem 0 0; max-width: 15ch; font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.su-panel-copy { margin: 0; max-width: 34ch; font-size: 1.05rem; line-height: 1.55; color: #D6EFE4; }

/* Ticket de caja: el borde inferior dentado imita el corte del papel termico. */
.su-ticket-wrap { margin-top: 0.75rem; max-width: 360px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22)); }
.su-ticket { padding: 1.35rem 1.35rem 2rem; background: #FFFFFF; color: #1A1C1A; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; font-size: 0.88rem; -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 9px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 9px repeat-x; }
.su-ticket-head { margin: 0 0 0.6rem; padding-bottom: 0.7rem; border-bottom: 1px dashed #868B82; font-weight: 700; text-align: center; }
.su-ticket-lines { list-style: none; margin: 0; padding: 0; }
.su-ticket-lines li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.3rem 0; }
.su-ticket-lines li span:last-child { color: #0B6E4F; font-weight: 600; }
.su-ticket-total { display: flex; justify-content: space-between; margin: 0.7rem 0 0; padding-top: 0.7rem; border-top: 1px dashed #868B82; font-size: 1.05rem; font-weight: 800; }
.su-ticket-foot { margin: 0.6rem 0 0; font-size: 0.78rem; color: #4B5149; text-align: center; }

.su-form-wrap { display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; }
.su-form-inner { width: 100%; max-width: 480px; }
.su-title { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.su-lede { margin: 0.4rem 0 1.5rem; font-size: 1rem; line-height: 1.5; color: #475569; }
.su-form { display: grid; gap: 1rem; }
.su-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.su-field { min-width: 0; }
.su-hint { margin: 0.4rem 0 0; font-size: 0.82rem; line-height: 1.45; color: #5B6158; }
.su-url { color: #0F172A; overflow-wrap: anywhere; }
.su-url strong { color: #0B6E4F; }
.su-password { position: relative; }
.su-password .ios-input { padding-right: 6rem; }
.su-toggle { position: absolute; top: 50%; right: 0.25rem; transform: translateY(-50%); min-height: 44px; padding: 0 0.8rem; border: 0; border-radius: 10px; background: #E6F4EF; color: #095A41; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.su-toggle:hover { background: #D3EBDF; }
.su-toggle:focus-visible { outline: 2px solid #0B6E4F; outline-offset: 2px; }
.su-submit { margin-top: 0.5rem; min-height: 50px; font-size: 1rem; font-weight: 700; }
.su-login { margin: 1.25rem 0 0; text-align: center; color: #475569; }
.su-login a { color: #0B6E4F; font-weight: 700; }

/* Escritorio de hasta 1000 px de alto (1920x945 a 1280x609): el formulario completo y «Crear mi cuenta gratis»
   a la vista sin scroll. Correo y contraseña van lado a lado (spec 2026-10-22, B12). */
@media (min-width: 901px) and (max-height: 1000px) {
    .su-form-wrap { padding: 0.5rem 2rem; }
    .su-form-inner { max-width: 640px; }
    .su-title { font-size: 1.5rem; }
    .su-lede { margin: 0.2rem 0 0.75rem; font-size: 0.95rem; }
    .su-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.75rem; row-gap: 0.45rem; }
    .su-form > * { grid-column: 1 / -1; }
    .su-form > .su-field:has(#email), .su-form > .su-field:has(#password) { grid-column: auto; }
    .su-form .ios-label { margin-bottom: 0.2rem; font-size: 14px; }
    .su-form .ios-input, .su-form .ios-select { min-height: 44px; padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .su-hint { margin-top: 0.2rem; font-size: 0.78rem; line-height: 1.35; }
    .su-check { font-size: 0.9rem; line-height: 1.4; }
    .su-privacy-note { margin-top: 0.15rem; font-size: 0.78rem; line-height: 1.35; }
    .su-submit { margin-top: 0.25rem; }
    .su-login { margin-top: 0.35rem; }
}
/* Panel verde en ventanas de escritorio de hasta 1000 px de alto: cabe sin scroll de página. */
@media (min-width: 901px) and (max-height: 1000px) {
    .su-panel { gap: 0.75rem; padding: 1.25rem clamp(2rem, 4vw, 4rem); }
    .su-brand img { height: 52px; }
    .su-panel-title { margin-top: 0.5rem; }
    .su-ticket-wrap { margin-top: 0.25rem; }
    .su-ticket { padding: 1rem 1.25rem 1.6rem; }
    .su-ticket-lines li { padding: 0.18rem 0; }
}
@media (max-width: 900px) {
    .su-layout { grid-template-columns: 1fr; }
    .su-panel { padding: 1rem 1.25rem; }
    .su-brand img { height: 44px; }
    .su-panel-title, .su-panel-copy, .su-ticket-wrap { display: none; }
    .su-form-wrap { align-items: flex-start; padding: 2rem 1.25rem 2.5rem; }
}
@media (max-width: 480px) {
    .su-row { grid-template-columns: 1fr; }
    .su-form-wrap { padding: 1.5rem 1rem 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .su-form-inner { animation: none; }
}
