﻿
:root {
    --primary-color: #060771;
    --primary-dark: #4f46e5;
    --secondary-color: #FF6C0C;
    --text-dark: #060771;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    background: linear-gradient(135deg, #9ba7cc 0%, #f3f3f7 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    transition: transform 0.3s ease;
}

    .auth-card:hover {
        transform: translateY(-5px);
    }

.auth-header {
    background: #fff;
    color: var(--primary-color);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);s
}

    .auth-header h2 {
        margin: 0;
        font-weight: 600;
        font-size: 1.8rem;
    }

.auth-body {
    padding: 40px;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    }

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

.social-login {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.social-btn {
    flex: 1;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .social-btn:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-light);
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid var(--border-color);
    }

    .divider span {
        padding: 0 15px;
        font-size: 14px;
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

.password-input {
    position: relative;
}

.success-message {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}
