﻿
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f4f4f4, #eaeaea);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main Card */
.login-container {
    display: flex;
    width: 840px;
    height: 480px;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Left Side */
.left-side {
    flex: 1;
    background: linear-gradient(135deg, #e53935, #c62828);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .left-side h2 {
        font-size: 2rem;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .left-side p {
        font-size: 0.95rem;
        opacity: 0.85;
    }


/* Right Side */
.right-side {
    flex: 1.2;
    padding: 50px;
    text-align: center;
}

.logo-icon {
    background-color: #fbe9e7;
    color: #d32f2f;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 10px;
    margin: 0 auto 15px;
}

.right-side h3 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: #333;
}

/* Form */
.form-group {
    text-align: left;
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-size: 0.8rem;
        margin-bottom: 6px;
        color: #555;
    }

/* Input Wrapper for Icons */
.input-wrapper {
    position: relative;
}

    .input-wrapper i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #e53935;
        font-size: 14px;
    }

    .input-wrapper input {
        width: 100%;
        padding: 10px 10px 10px 38px;
        border: 1px solid #ddd;
        border-radius: 6px;
        outline: none;
        transition: 0.3s;
        font-size: 0.9rem;
    }

        .input-wrapper input:focus {
            border-color: #e53935;
            box-shadow: 0 0 8px rgba(229,57,53,0.2);
        }
label[for="remember"] {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
}
    label[for="remember"] input {
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }

/* Button */
.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #e53935, #c62828);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s ease;
}

    .login-btn:hover {
        background: linear-gradient(135deg, #c62828, #b71c1c);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

/* Responsive */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        width: 95%;
        height: auto;
    }

    .left-side {
        text-align: center;
        padding: 30px;
    }

    .right-side {
        padding: 30px;
    }
    .left-side p {
        display: none;
    }
}

@media (max-width: 500px) {
    .left-side h2 {
        font-size: 1.5rem;
    }

    .right-side h3 {
        font-size: 1.2rem;
    }
}