/* ========================================
   EarlyBird Registration & Login Styles
   Brand colors: Navy #1B2A4A, Green #1B5E3B
   ======================================== */

/* Password toggle wrapper */
.eb-password-wrap {
    position: relative;
    display: block;
}

.eb-password-wrap .eb-input {
    padding-right: 44px !important;
    width: 100%;
    box-sizing: border-box;
}

.eb-pw-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    min-height: unset !important;
    line-height: 1 !important;
    color: #9ca3af !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s;
    z-index: 2;
    user-select: none;
}

.eb-pw-toggle:hover,
.eb-pw-toggle:focus {
    color: #1B5E3B !important;
    background: none !important;
    box-shadow: none !important;
}

.eb-pw-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Body & Container */
.eb-auth-page {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eb-auth-container {
    width: 100%;
    max-width: 520px;
    padding: 24px;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-auth-box {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 44px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.eb-auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.eb-auth-logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1B2A4A;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.eb-auth-logo p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Toggle Button */
.eb-auth-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    background: #f3f4f6;
    padding: 5px;
    border-radius: 12px;
}

.eb-toggle-btn {
    flex: 1;
    padding: 12px 18px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-toggle-btn.active {
    background: white;
    color: #1B2A4A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.eb-toggle-btn:hover:not(.active) {
    color: #374151;
    background: rgba(255, 255, 255, 0.5);
}

/* SSO Buttons */
.eb-sso-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.eb-sso-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-sso-btn:hover {
    background: #f8fafc;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.eb-sso-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.eb-sso-icon {
    font-size: 18px;
    font-weight: 600;
}

/* Divider */
.eb-divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
    color: #9ca3af;
    font-size: 13px;
}

.eb-divider::before,
.eb-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.eb-divider span {
    padding: 0 12px;
}

/* Section Divider (for form sections) */
.eb-section-divider {
    display: flex;
    align-items: center;
    margin: 24px 0 16px 0;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.eb-section-divider span {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Styles */
.eb-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.eb-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Role-specific field sections: consistent 20px gap between fields.
   Uses margin-top (not gap/flex) so it survives jQuery .show()/.slideDown()
   which force display:block via inline style. */
#eb-normal-reg-fields > * + * {
    margin-top: 20px;
}
.eb-role-fields.active > * + * {
    margin-top: 20px;
}
#sso-student-fields > * + *,
#sso-parent-fields > * + *,
#sso-professional-fields > * + * {
    margin-top: 20px;
}

.eb-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.eb-field-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: -2px;
    display: block;
}

.eb-input {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
}

/* Select/Dropdown specific styles */
select.eb-input {
    padding: 10px 12px;
    padding-right: 32px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.eb-input:focus {
    outline: none;
    border-color: #1B5E3B;
    box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.12);
    transform: translateY(-1px);
}

.eb-input:hover:not(:focus) {
    border-color: #9ca3af;
}

.eb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}

/* Phone number row (legacy, kept for safety) */
.eb-phone-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.eb-phone-code {
    width: 110px;
    min-width: 110px;
    flex-shrink: 0;
    padding-right: 28px;
}

.eb-phone-number {
    flex: 1;
    min-width: 0;
}

/* ── Unified phone input ── */
.eb-phone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    height: 46px;
    transition: border-color 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}

.eb-phone-wrapper:focus-within {
    border-color: #1B5E3B;
    box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.12);
}

/* Flag button */
.eb-phone-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px 0 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    height: 100%;
    user-select: none;
    outline: none;
    border-radius: 8px 0 0 8px;
}

.eb-phone-btn:focus-visible {
    box-shadow: inset 0 0 0 2px #1B5E3B;
}

.eb-phone-flag {
    font-size: 20px;
    line-height: 1;
    display: block;
}

.eb-phone-code-display {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    line-height: 1;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.eb-phone-caret {
    flex-shrink: 0;
    margin-top: 1px;
    display: block;
}

.eb-phone-divider {
    width: 1px;
    height: 22px;
    background: #d1d5db;
    flex-shrink: 0;
    margin: 0 2px;
}

/* Tel input */
.eb-phone-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    color: #374151;
    background: transparent;
    height: 100%;
    border-radius: 0 8px 8px 0;
}

.eb-phone-input::placeholder {
    color: #9ca3af;
}

/* Custom dropdown list */
.eb-phone-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    width: 260px;
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.eb-phone-dropdown.eb-open {
    display: block;
}

.eb-phone-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: background 0.15s;
    white-space: nowrap;
}

.eb-phone-dropdown li:hover,
.eb-phone-dropdown li.eb-selected {
    background: #f3faf6;
    color: #1B5E3B;
}

.eb-phone-dropdown li .eb-dd-flag {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.eb-phone-dropdown li .eb-dd-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eb-phone-dropdown li .eb-dd-code {
    color: #6b7280;
    font-size: 13px;
    flex-shrink: 0;
}

.eb-form-row.eb-form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Checkbox */
.eb-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: color 0.2s ease;
}

.eb-checkbox:hover {
    color: #1f2937;
}

.eb-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1B5E3B;
}

/* Role Selector */
.eb-role-selector {
    display: flex;
    gap: 12px;
}

.eb-role-option {
    flex: 1;
    cursor: pointer;
}

.eb-role-option input[type="radio"] {
    display: none;
}

.eb-role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-role-card:hover {
    border-color: #bbf7d0;
    background: #f8faf9;
    transform: translateY(-2px);
}

.eb-role-option input[type="radio"]:checked + .eb-role-card {
    border-color: #1B5E3B;
    background: #f0fdf4;
    box-shadow: 0 4px 12px rgba(27, 94, 59, 0.15);
    transform: translateY(-2px);
}

.eb-role-card strong {
    font-size: 14px;
    color: #111827;
    display: block;
    margin-bottom: 4px;
    transition: color 0.25s ease;
}

.eb-role-option input[type="radio"]:checked + .eb-role-card strong {
    color: #166534;
}

.eb-role-card small {
    font-size: 12px;
    color: #6b7280;
    transition: color 0.25s ease;
}

/* Account Type Selector (for Students) */
.eb-account-type-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eb-account-type-option {
    cursor: pointer;
}

.eb-account-type-option input[type="radio"] {
    display: none;
}

.eb-account-type-card {
    display: block;
    padding: 16px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-account-type-card:hover {
    border-color: #bbf7d0;
    background: #f8faf9;
}

.eb-account-type-card.selected {
    border-color: #1B5E3B;
    background: #f0fdf4;
    box-shadow: 0 2px 8px rgba(27, 94, 59, 0.12);
}

.eb-account-type-card strong {
    font-size: 14px;
    color: #111827;
    display: block;
    margin-bottom: 4px;
    transition: color 0.25s ease;
}

.eb-account-type-card.selected strong {
    color: #166534;
}

.eb-account-type-card small {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* Email Field List (Dynamic) */
.eb-email-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eb-email-field-group {
    display: flex;
    gap: 10px;
    align-items: center;
    animation: slideInFade 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-email-field-group .eb-input {
    flex: 1;
}

.eb-btn-remove-email {
    padding: 10px 14px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-btn-remove-email:hover {
    background: #fecaca;
    transform: scale(1.02);
}

.eb-btn-add-email {
    margin-top: 10px;
    padding: 10px 18px;
    background: white;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-btn-add-email:hover {
    background: #f0fdf4;
    border-color: #1B5E3B;
    border-style: solid;
    color: #1B5E3B;
}

/* Role-specific Fields */
.eb-role-fields {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

.eb-role-fields.active {
    display: block;
    animation: slideDownFade 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animations */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons */
.eb-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.eb-btn-primary {
    background: linear-gradient(135deg, #1B5E3B 0%, #155e30 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(27, 94, 59, 0.25);
}

.eb-btn-primary:hover {
    background: linear-gradient(135deg, #155e30 0%, #0f4a24 100%);
    box-shadow: 0 4px 16px rgba(27, 94, 59, 0.35);
    transform: translateY(-2px);
}

.eb-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27, 94, 59, 0.25);
}

.eb-btn-full {
    width: 100%;
}

.eb-btn.loading {
    pointer-events: none;
}

.eb-btn.loading .eb-btn-content {
    opacity: 0;
}

.eb-btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eb-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    box-sizing: border-box;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Required Field Marker */
.eb-required,
.eb-form-group label .eb-required,
label .eb-required {
    color: #dc2626 !important;
    font-weight: 700;
    margin-left: 2px;
    display: inline;
}

.required-marker {
    color: #dc2626 !important;
    font-weight: 700;
}

/* Links */
.eb-link {
    color: #1B5E3B;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.eb-link:hover {
    color: #155e30;
    text-decoration: underline;
}

.eb-link-small {
    color: #1B5E3B;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.eb-link-small:hover {
    color: #155e30;
    text-decoration: underline;
}

/* Footer */
.eb-auth-footer {
    text-align: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.eb-auth-footer p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Message Box */
.eb-message {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    animation: slideDownFade 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.eb-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .eb-auth-box {
        padding: 32px 24px;
        border-radius: 12px;
        min-height: auto;
    }
    
    .eb-role-selector {
        flex-direction: column;
        gap: 10px;
    }
    
    .eb-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .eb-auth-container {
        max-width: 100%;
        padding: 16px;
    }
    
    .eb-auth-logo h1 {
        font-size: 28px;
    }
    
    .eb-btn {
        padding: 14px 20px;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Terms of Service Modal
   ══════════════════════════════════════════════════════════════════════════════ */

.eb-terms-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 42, 74, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ebTermsFadeIn 0.25s ease;
}

@keyframes ebTermsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.eb-terms-modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 24px 60px rgba(0, 0, 0, 0.18);
    animation: ebTermsSlideUp 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

@keyframes ebTermsSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.eb-terms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #1B2A4A 0%, #263a5e 100%);
    flex-shrink: 0;
}

.eb-terms-modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eb-terms-modal-icon {
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}

.eb-terms-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.eb-terms-modal-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.eb-terms-modal-close:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.eb-terms-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    background: #fafbfc;
}

.eb-terms-content h3 {
    font-size: 13px;
    font-weight: 700;
    color: #1B2A4A;
    margin: 24px 0 10px 0;
    padding: 8px 0 8px 12px;
    border-bottom: none;
    border-left: 3px solid #1B5E3B;
    background: #f0fdf4;
    border-radius: 0 6px 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.eb-terms-content h3:first-child {
    margin-top: 0;
}

.eb-terms-content p {
    font-size: 13.5px;
    line-height: 1.75;
    color: #4b5563;
    margin: 0 0 10px 0;
}

.eb-terms-content ul {
    margin: 0 0 10px 0;
    padding-left: 22px;
}

.eb-terms-content ul li {
    font-size: 13.5px;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 4px;
}

.eb-terms-content a {
    color: #1B5E3B;
    text-decoration: none;
    font-weight: 500;
}

.eb-terms-content a:hover {
    text-decoration: underline;
    color: #155e30;
}

.eb-terms-content strong {
    color: #1B2A4A;
}

.eb-terms-last-updated {
    margin-top: 28px !important;
    padding-top: 16px;
    border-top: 2px solid #e5e7eb;
    font-size: 13px !important;
    color: #6b7280 !important;
    font-style: italic;
}

.eb-terms-modal-footer {
    padding: 14px 24px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    flex-shrink: 0;
}

.eb-terms-scroll-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
    animation: ebTermsPulse 2s ease-in-out infinite;
}

@keyframes ebTermsPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.eb-terms-scroll-hint.eb-hidden {
    display: none;
}

.eb-terms-modal-checkbox {
    font-size: 14px !important;
    color: #374151 !important;
    transition: opacity 0.3s ease;
}

.eb-terms-modal-checkbox input[type="checkbox"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.eb-terms-modal-checkbox input[type="checkbox"]:disabled + span {
    opacity: 0.5;
    cursor: not-allowed;
}

.eb-terms-modal-checkbox input[type="checkbox"]:not(:disabled) {
    opacity: 1;
    cursor: pointer;
}

.eb-terms-modal-checkbox input[type="checkbox"]:not(:disabled) + span {
    opacity: 1;
    cursor: pointer;
}

/* Terms link styling within the form */
.eb-terms-link {
    font-weight: 600 !important;
    text-decoration: underline;
}

.eb-terms-link:hover {
    color: #155e30 !important;
}

@media (max-width: 600px) {
    .eb-terms-modal-overlay {
        padding: 10px;
    }

    .eb-terms-modal {
        max-height: 90vh;
        border-radius: 12px;
    }

    .eb-terms-modal-header {
        padding: 14px 18px;
    }

    .eb-terms-modal-header h2 {
        font-size: 16px;
    }

    .eb-terms-modal-body {
        padding: 18px 20px;
    }

    .eb-terms-modal-footer {
        padding: 14px 20px;
    }

    .eb-terms-content h3 {
        font-size: 15px;
    }

    .eb-terms-content p,
    .eb-terms-content ul li {
        font-size: 13px;
    }
}
