@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --card-bg: #ffffff;
    --text-main: #212529;
    --text-muted: #6c757d;
    --input-border: #dee2e6;
    --input-focus: #86b7fe;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    height: 45px;
    object-fit: contain;
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h3 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Crispy Form Overrides */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    color: #444;
}

.form-control {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.btn-auth {
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    margin-top: 10px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.forgot-password {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.checkbox-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.form-check-label {
    font-size: 14px;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.page_loader {
    display: none;
}
