* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #2563eb;
    --primary-purple-dark: #1e40af;
    --primary-purple-light: #3b82f6;
    --accent-yellow: #FCD34D;
    --dark-bg: #1A1A2E;
    --dark-surface: #16213E;
    --text-light: #FFFFFF;
    --text-gray: #A0AEC0;
    --success-green: #10B981;
    --error-red: #EF4444;
    --border-color: #2D3748;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-light);
}

/* Modal */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1000;
}

.modal-content {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: var(--dark-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Painel Esquerdo */
.modal-left {
    flex: 0 0 40%;
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 50%, var(--primary-purple-light) 100%);
    position: relative;
    overflow: hidden;
    display: none;
    padding: 60px 40px;
    align-items: center;
    justify-content: center;
}

.modal-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.modal-left::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

.branding-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image-modal {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    display: block;
}

.logo-fallback-modal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo-highlight {
    color: var(--accent-yellow);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.welcome-text {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-light);
    margin-top: 80px;
}

/* Painel Direito */
.modal-right {
    flex: 1;
    padding: 40px 50px;
    background: var(--dark-surface);
    position: relative;
    min-height: 600px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close-btn:hover {
    color: var(--text-light);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.1rem;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: var(--primary-purple-light);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-purple-light);
    border-radius: 2px 2px 0 0;
}

/* Login Options */
.login-options {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.option-btn {
    flex: 1;
    padding: 12px 20px;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.option-btn.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--text-light);
}

/* Forms */
.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}


.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 45px 14px 45px;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.form-group input::placeholder {
    color: var(--text-gray);
}

/* Icon positioning - works for both login and register */
.icon-left {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
}

/* Form group inline - same method as login, for register fields with labels */
.form-group-inline {
    position: relative;
    width: 100%;
}

.form-group-inline .icon-left {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
}

.form-group-inline input {
    width: 100%;
    padding: 14px 45px 14px 45px;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group-inline input[type="password"] {
    padding-right: 45px;
}

.form-group-inline input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.form-group-inline input::placeholder {
    color: var(--text-gray);
}

/* CPF and Phone Groups */
.cpf-group,
.phone-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.cpf-group .form-group-inline {
    flex: 1;
}

.phone-group .form-group-inline {
    flex: 1;
}

.form-group input[readonly] {
    background: var(--dark-bg);
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-verify {
    padding: 14px 25px;
    background: var(--primary-purple);
    border: none;
    border-radius: 8px;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-verify:hover {
    background: var(--primary-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
}

.btn-verify:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Date Group */
.date-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.date-select-wrapper {
    position: relative;
    flex: 1;
}

.date-select-wrapper:first-child .date-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
}

.date-select-wrapper select {
    width: 100%;
    padding: 14px 15px;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.date-select-wrapper:first-child select {
    padding-left: 45px;
}

.date-select-wrapper select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}


/* Radio Group */
.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--text-light);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1;
    min-width: 120px;
    justify-content: center;
    background: var(--dark-bg);
}

.radio-label:hover {
    background: rgba(107, 70, 193, 0.1);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-icon {
    font-size: 1.3rem;
    color: var(--text-gray);
    transition: all 0.3s;
    flex-shrink: 0;
}

.radio-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Masculino - Azul quando selecionado */
.radio-label:has(input[type="radio"][value="masculino"]:checked) {
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid #3B82F6;
}

.radio-label:has(input[type="radio"][value="masculino"]:checked) .radio-icon {
    color: #3B82F6;
}

.radio-label:has(input[type="radio"][value="masculino"]:checked) .radio-text {
    color: #3B82F6;
}

/* Feminino - Rosa quando selecionado */
.radio-label:has(input[type="radio"][value="feminino"]:checked) {
    background: rgba(37, 99, 235, 0.2);
    border: 2px solid #3b82f6;
}

.radio-label:has(input[type="radio"][value="feminino"]:checked) .radio-icon {
    color: #3b82f6;
}

.radio-label:has(input[type="radio"][value="feminino"]:checked) .radio-text {
    color: #3b82f6;
}

/* Phone Group */
.phone-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.country-code {
    flex: 0 0 80px;
    padding: 14px 10px;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
}


/* Buttons */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary-purple);
    border: none;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-primary:hover {
    background: var(--primary-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    padding: 14px 30px;
    background: var(--dark-bg);
    border: 2px solid var(--primary-purple);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.form-actions .btn-primary {
    flex: 1;
    margin-top: 0;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--success-green);
    border-color: var(--success-green);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.forgot-password {
    color: #3B82F6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #60A5FA;
    text-decoration: underline;
}

/* Clear and Toggle Buttons */
.clear-btn,
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
    z-index: 2;
}

.form-group-inline .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.clear-btn:hover,
.toggle-password:hover {
    color: var(--text-light);
}

/* Social Login */
.social-login {
    margin: 30px 0;
    text-align: center;
}

.divider-text {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.btn-google {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--dark-bg);
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-google:hover {
    border-color: var(--primary-purple);
    transform: scale(1.1);
}

/* Terms */
.terms {
    margin: 20px 0;
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.terms .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.terms .checkbox-label .checkmark {
    flex-shrink: 0;
    margin-top: 2px;
}

.terms .checkbox-label span:not(.checkmark) {
    flex: 1;
    line-height: 1.5;
}

.terms a {
    color: #3B82F6;
    text-decoration: none;
    display: inline;
}

.terms a:hover {
    text-decoration: underline;
}

/* Switch Form */
.switch-form {
    margin-top: 25px;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.switch-form a {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 600;
}

.switch-form a:hover {
    text-decoration: underline;
}

/* Error Message */
.error-message {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Custom Alert Modal */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.custom-alert.show {
    display: flex;
}

.alert-content {
    background: var(--dark-surface);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.alert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: scaleIn 0.3s ease;
}

.alert-icon i {
    color: #FFFFFF;
}

/* Success Alert */
.custom-alert.success .alert-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border: 3px solid var(--success-green);
}

.custom-alert.success .alert-icon i {
    color: var(--success-green);
}

.custom-alert.success .alert-content {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
}

.custom-alert.success .alert-btn {
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 50%, var(--primary-purple-light) 100%);
    border: 2px solid var(--primary-purple);
}

.custom-alert.success .alert-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-light) 50%, var(--primary-purple) 100%);
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.5);
    transform: translateY(-2px);
}

/* Error Alert */
.custom-alert.error .alert-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border: 3px solid var(--error-red);
}

.custom-alert.error .alert-icon i {
    color: var(--error-red);
}

.custom-alert.error .alert-content {
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.custom-alert.error .alert-btn {
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 50%, var(--primary-purple-light) 100%);
    border: 2px solid var(--primary-purple);
}

.custom-alert.error .alert-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-light) 50%, var(--primary-purple) 100%);
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.5);
    transform: translateY(-2px);
}

/* Warning Alert */
.custom-alert.warning .alert-icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    border: 3px solid var(--accent-yellow);
}

.custom-alert.warning .alert-icon i {
    color: var(--accent-yellow);
}

.custom-alert.warning .alert-content {
    border-color: rgba(252, 211, 77, 0.4);
    box-shadow: 0 10px 40px rgba(252, 211, 77, 0.2);
}

.custom-alert.warning .alert-btn {
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 50%, var(--primary-purple-light) 100%);
    border: 2px solid var(--primary-purple);
}

.custom-alert.warning .alert-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-light) 50%, var(--primary-purple) 100%);
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.5);
    transform: translateY(-2px);
}

/* Info Alert */
.custom-alert.info .alert-icon {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.2), rgba(85, 60, 154, 0.2));
    border: 3px solid var(--primary-purple);
}

.custom-alert.info .alert-icon i {
    color: var(--primary-purple-light);
}

.custom-alert.info .alert-content {
    border-color: rgba(107, 70, 193, 0.4);
    box-shadow: 0 10px 40px rgba(107, 70, 193, 0.2);
}

.custom-alert.info .alert-btn {
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 50%, var(--primary-purple-light) 100%);
    border: 2px solid var(--primary-purple);
}

.custom-alert.info .alert-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-light) 50%, var(--primary-purple) 100%);
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.5);
    transform: translateY(-2px);
}

.alert-message {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-btn {
    width: 100%;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.alert-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.alert-btn:hover::before {
    left: 100%;
}

.alert-btn:hover {
    transform: translateY(-2px);
}

.alert-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .alert-content {
        padding: 25px 20px;
        max-width: 90%;
    }

    .alert-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .alert-message {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .alert-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (min-width: 768px) {
    .modal-left {
        display: flex;
    }
}

@media (max-width: 767px) {
    body {
        padding: 10px;
    }

    .modal-content {
        flex-direction: column;
        max-width: 100%;
        border-radius: 15px;
    }

    .modal-left {
        display: none;
    }

    .modal-right {
        padding: 30px 25px;
        min-height: auto;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .welcome-text {
        font-size: 2rem;
    }

    .tabs {
        gap: 20px;
    }

    .tab-btn {
        font-size: 1rem;
        padding: 12px 0;
    }

    .form-group input,
    .form-group select {
        padding: 12px 40px 12px 40px;
        font-size: 0.95rem;
    }

    .cpf-group {
        flex-direction: column;
    }

    .form-group-inline {
        width: 100%;
    }

    .btn-verify {
        width: 100%;
        margin-top: 10px;
    }

    .date-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .date-select-wrapper:first-child {
        flex: 0 0 100%;
        width: 100%;
    }

    .date-select-wrapper:first-child .date-icon {
        display: none;
    }

    .date-select-wrapper:first-child select {
        padding-left: 15px;
    }

    /* Mês e Ano lado a lado no mobile */
    .date-select-wrapper:nth-child(2),
    .date-select-wrapper:nth-child(3) {
        flex: 0 0 calc(50% - 5px);
    }

    .radio-group {
        flex-direction: row;
        gap: 15px;
    }

    .radio-label {
        flex: 1;
        min-width: auto;
    }

    .phone-group {
        flex-direction: column;
    }

    .country-code {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn-secondary,
    .form-actions .btn-primary {
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .modal-right {
        padding: 25px 20px;
    }

    .close-btn {
        top: 15px;
        right: 15px;
        font-size: 24px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .forgot-password {
        margin-top: 5px;
    }

    .terms {
        font-size: 0.8rem;
    }

    .terms .checkbox-label {
        gap: 10px;
    }

    .terms .checkbox-label span {
        line-height: 1.4;
    }
}

