﻿:root {
    --primary-color: #0d6efd;
    --sidebar-bg: #343a40;
    --text-light: #f8f9fa;
}

body {
    background: #f4f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: var(--sidebar-bg);
    padding: 1rem;
}

.navbar-brand {
    color: var(--text-light) !important;
    font-weight: 600;
    display: flex;
    align-items: center;
}

    .navbar-brand i {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }

.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .login-header i {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .login-header h2 {
        font-size: 1.75rem;
        font-weight: 700;
        color: #333;
        margin: 0;
    }

    .login-header p {
        color: #6c757d;
        margin-top: 0.5rem;
    }

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

.input-group-text {
    background: transparent;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.btn-login {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: all 0.3s;
}

    .btn-login:hover {
        background: #0a58ca;
        color: white;
    }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

    .divider span {
        padding: 0 1rem;
        color: #6c757d;
    }

.btn-social {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-google {
    background: white;
    border: 1px solid #dee2e6;
    color: #333;
}

    .btn-google:hover {
        background: #f8f9fa;
    }

.btn-apple {
    background: #000;
    color: white;
    border: none;
}

    .btn-apple:hover {
        background: #222;
        color: white;
    }

.btn-social i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.text-links {
    margin-top: 1.5rem;
    text-align: center;
}

    .text-links a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
    }

        .text-links a:hover {
            text-decoration: underline;
        }

.footer {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 576px) {
    .login-card {
        margin: 0 15px;
    }
}
