﻿:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --dark-color: #2a2a2a;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7ff;
}

.login-container {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
}

    .login-container::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(78, 84, 200, 0.8);
    }

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

    .login-header h2 {
        font-weight: 700;
        margin-bottom: 10px;
    }

    .login-header p {
        opacity: 0.9;
        margin-bottom: 0;
    }

.login-body {
    padding: 30px;
}

.form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 15px;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(78, 84, 200, 0.25);
    }

.input-group-text {
    background-color: #f1f3ff;
    border-color: #ddd;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .btn-login:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(78, 84, 200, 0.4);
    }

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.register-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

    .register-link a {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        transform: translateY(-3px);
    }

.google {
    background: #DB4437;
}

.twitter {
    background: #1DA1F2;
}

.linkedin {
    background: #0077B5;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #999;
}

    .divider::before, .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #ddd;
    }

    .divider::before {
        margin-left: 10px;
    }

    .divider::after {
        margin-right: 10px;
    }

@media (max-width: 768px) {
    .login-container {
        padding: 20px;
    }

    .login-card {
        margin: 0;
    }
}
