/*
 * NCLEX Nerds CSS Bundle: signup-modal.bundle.css
 * Group: public
 * Auto-generated by scripts/bundle_css.py — DO NOT EDIT
 * Edit the source files instead.
 * Sources: signup-modal-base.css, signup-modal-mobile-portrait.css, signup-modal-mobile-landscape.css
 */

/* === signup-modal-base.css === */
/*
 * Signup Modal — Base Styles
 *
 * Shared across every public page that includes templates/_signup_modal.html
 * (landing, pricing, future public pages). No @media wrapper — every rule
 * applies at every viewport; viewport-specific tweaks live in
 * signup-modal-{mobile-portrait,mobile-landscape}.css.
 *
 * Site-wide base (vars, reset, typography) is in _public-base.css.
 * Do NOT duplicate those here.
 */

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.visible { opacity: 1; visibility: visible; }

.modal {
    background: var(--bg-card);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal { transform: translateY(0) scale(1); }

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.modal-logo { height: 56px; width: auto; margin-bottom: 12px; }

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page);
    border: none;
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover { background: var(--red-light); color: var(--red); }

.modal-body { padding: 24px; }

.modal-step-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Signup Form */
.signup-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row .form-group { min-width: 0; }
.form-row .form-group input { width: 100%; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); }

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-page);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder { color: var(--text-muted); }

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-submit {
    padding: 14px 24px;
    background: var(--gradient-main);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-error {
    color: var(--red);
    font-size: 0.85rem;
    text-align: center;
    display: none;
    margin-top: 4px;
}

.success-content { text-align: center; padding: 20px 0; }

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--green);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-desc { color: var(--text-secondary); margin-bottom: 8px; }

.success-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 24px;
}

.success-note { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.success-note a { color: var(--primary-purple); text-decoration: none; }
.success-note a:hover { text-decoration: underline; }

.code-input {
    font-size: 1.5rem !important;
    letter-spacing: 0.5em;
    text-align: center;
    font-family: var(--font-heading), monospace !important;
    font-weight: 600;
}

.code-input::placeholder { letter-spacing: 0.3em; opacity: 0.5; }

.checkbox-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    accent-color: var(--primary-purple);
    cursor: pointer;
}

.form-resend {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.resend-link {
    background: none;
    border: none;
    color: var(--primary-purple);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.resend-link:hover:not(:disabled) { text-decoration: underline; }
.resend-link:disabled { opacity: 0.6; cursor: not-allowed; }

/* === signup-modal-mobile-portrait.css === */
/*
 * Signup Modal — Mobile Portrait Overrides
 * @media (max-width: 768px) and (orientation: portrait)
 */

@media (max-width: 768px) and (orientation: portrait) {

/* Stack the firstName/lastName row when the viewport can't fit two inputs */
.form-row { grid-template-columns: 1fr; }

.code-input {
    font-size: 1.25rem !important;
    letter-spacing: 0.4em;
}

} /* end */

/* === signup-modal-mobile-landscape.css === */
/*
 * Signup Modal — Mobile Landscape Overrides
 * @media (max-width: 926px) and (orientation: landscape)
 */

@media (max-width: 926px) and (orientation: landscape) {

/* Landscape mobile has horizontal room but tiny vertical. Cap the modal
   at ~80vh and let body scroll inside. Keep the form row 2-col. */
.modal { max-height: 82vh; }
.modal-body { padding: 18px 20px; }
.modal-header { padding: 16px 20px 12px; }
.modal-logo { height: 44px; margin-bottom: 8px; }

} /* end */
