﻿:root {
    --primary: #4a6fa5;
    --secondary: #ff7e5f;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --success: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-wrapper {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-image {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

    .login-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(42, 67, 101, 0.8));
    }

.image-content {
    position: relative;
    z-index: 1;
}

    .image-content h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .image-content p {
        font-size: 1rem;
        opacity: 0.9;
        line-height: 1.5;
    }

.login-container {
    flex: 1;
    max-width: 450px;
    padding: 40px;
}

.login-header {
    margin-bottom: 30px;
    text-align: center;
}

    .login-header h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        color: var(--primary);
        font-weight: 600;
    }

    .login-header p {
        font-size: 0.9rem;
        color: #6c757d;
        font-style: italic;
    }

.form-group {
    margin-bottom: 20px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: var(--dark);
        font-weight: 500;
        font-size: 0.9rem;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f8f9fa;
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
        outline: none;
        background-color: white;
    }

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

    .checkbox-group input {
        margin-right: 10px;
    }

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

    .login-footer span {
        display: inline-flex;
        align-items: center;
    }

        .login-footer span:not(:last-child):after {
            content: "•";
            margin-left: 10px;
            color: #ccc;
        }

@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-image {
        min-height: 200px;
        padding: 20px;
    }

    .login-container {
        max-width: 100%;
        padding: 30px;
    }

    .login-footer {
        flex-direction: column;
        gap: 5px;
    }

        .login-footer span:not(:last-child):after {
            display: none;
        }
}