﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    display: flex;
    width: 900px;
    height: 550px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #1a2a6c, #2a3a9c);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .left-panel::before {
        content: '';
        position: absolute;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        top: -50px;
        left: -50px;
    }

    .left-panel::after {
        content: '';
        position: absolute;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        bottom: -50px;
        right: -50px;
    }

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    z-index: 1;
}

    .logo i {
        font-size: 32px;
        margin-right: 10px;
        color: #fdbb2d;
    }

    .logo h1 {
        font-size: 28px;
        font-weight: 700;
    }

.left-panel h2 {
    font-size: 32px;
    margin-bottom: 20px;
    z-index: 1;
}

.left-panel p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    z-index: 1;
}

.features {
    list-style: none;
    z-index: 1;
}

    .features li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

    .features i {
        color: #fdbb2d;
        margin-right: 10px;
        font-size: 18px;
    }

.right-panel {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .right-panel h2 {
        color: #1a2a6c;
        margin-bottom: 30px;
        font-size: 28px;
        text-align: center;
    }

.form-group {
    margin-bottom: 25px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #333;
        font-weight: 500;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #777;
    }

.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #1a2a6c;
        box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.2);
        outline: none;
    }

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input {
        margin-right: 8px;
    }

.forgot-password {
    color: #1a2a6c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

    .forgot-password:hover {
        color: #fdbb2d;
        text-decoration: underline;
    }

.btn-login {
    background: linear-gradient(to right, #1a2a6c, #2a3a9c);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 20px;
}

    .btn-login:hover {
        background: linear-gradient(to right, #2a3a9c, #3a4abc);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.error-message {
    background: #fff3cd;
    color: #856404;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    margin: 15px 0;
    text-align: center;
    font-weight: 500;
    transition: all 0.5s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .error-message.fade-out {
        opacity: 0;
        transform: translateY(-10px);
    }

.text-danger {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.delivery-animation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 60px;
    z-index: 1;
}

.truck {
    position: absolute;
    width: 60px;
    height: 30px;
    background: #fdbb2d;
    border-radius: 5px;
    animation: drive 8s linear infinite;
}

    .truck::before {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background: #333;
        border-radius: 50%;
        bottom: -10px;
        left: 10px;
    }

    .truck::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background: #333;
        border-radius: 50%;
        bottom: -10px;
        right: 10px;
    }

.truck-cabin {
    position: absolute;
    width: 25px;
    height: 20px;
    background: #e6ac1c;
    border-radius: 5px 0 0 5px;
    left: -20px;
    top: 5px;
}

@keyframes drive {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(900px);
    }
}

@media (max-width: 950px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .left-panel, .right-panel {
        padding: 30px;
    }

    .delivery-animation {
        display: none;
    }
}


