/* Authentication Page - Clean & Minimal Styles */

.auth-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #072b2e;
    padding: 28px 20px;
    gap: 18px;
}

.auth-page-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.auth-page-logo {
    width: min(170px, 60vw);
    height: auto;
    margin-bottom: 8px;
}

.auth-page-kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.auth-page-title {
    font-size: 24px;
    line-height: 1.2;
    margin: 4px 0 0;
    color: #ffffff;
}

.auth-container {
    background-color: var(--surface);
    padding: 40px;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: none;
    width: 100%;
    max-width: 400px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 28px;
    background: #e8eff0;
    border: 1px solid #d6e1e2;
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
}

.tab-button {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #527276;
    transition: background-color 220ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-button.active {
    color: #072b2e;
    background: #ffffff;
    border-color: #cfdcde;
}

.tab-button:hover {
    color: #072b2e;
}

.auth-form {
    margin-bottom: 24px;
    opacity: 1;
    transform: translateX(0);
    max-height: 700px;
    overflow: hidden;
    transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1), transform 240ms cubic-bezier(0.22, 1, 0.36, 1), max-height 260ms cubic-bezier(0.22, 1, 0.36, 1), margin 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-form.hidden {
    opacity: 0;
    transform: translateX(12px);
    max-height: 0;
    margin-bottom: 0;
    pointer-events: none;
}

.auth-container input[type="text"],
.auth-container input[type="email"],
.auth-container input[type="password"] {
    color: var(--text);
    background-color: #ffffff;
    border: 1px solid var(--border);
}

.auth-container .form-group label {
    color: #072b2e;
}

.auth-container input::placeholder {
    color: var(--text-secondary);
}

.auth-form .btn {
    width: 100%;
    margin-top: 8px;
}

.auth-form .btn-primary {
    color: #ffffff;
}

.forgot-password-link {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Modal Styles for Auth Page */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: none;
    width: 90%;
    max-width: 400px;
    z-index: 10001;
    animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.modal-body {
    padding: 20px 24px;
}

.modal-body p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

/* Responsive Design for Auth */
@media (max-width: 480px) {
    .auth-screen {
        padding: 16px;
    }
    
    .auth-container {
        padding: 32px 24px;
    }

    .auth-page-title {
        font-size: 20px;
    }
    
    .tab-button {
        font-size: 13px;
        padding: 10px 12px;
    }

    .modal-content {
        width: 95%;
        margin: 0 16px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .form-actions .btn {
        width: 100%;
    }
} 