﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left Side - Animated Background */
.left-side {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.left-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

    .left-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }

    .left-content p {
        font-size: 1.3rem;
        opacity: 0.9;
        margin-bottom: 30px;
    }

/* Right Side - Login Form */
.right-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    padding: 40px;
}

.login-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
    animation: slideIn 0.6s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

    .login-header h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
    }

    .login-header p {
        color: #6c757d;
        font-size: 0.95rem;
    }

.form-floating {
    margin-bottom: 20px;
}

    .form-floating input {
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        padding: 12px 20px;
        height: 60px;
        transition: all 0.3s ease;
    }

        .form-floating input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
        }

    .form-floating label {
        padding: 18px 20px;
        color: #6c757d;
    }

.btn-login {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    }

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #e0e0e0;
    }

    .divider span {
        background: white;
        padding: 0 15px;
        color: #6c757d;
        position: relative;
        z-index: 1;
    }

.register-link {
    text-align: center;
    margin-top: 25px;
}

    .register-link a {
        color: #667eea;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .register-link a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

.alert {
    border-radius: 10px;
    margin-bottom: 20px;
}

.text-danger {
    font-size: 0.85rem;
    margin-top: 5px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .left-side {
        min-height: 40vh;
    }

    .left-content h1 {
        font-size: 2rem;
    }

    .login-box {
        padding: 30px;
    }
}
