/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== Body ===== */
body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* ===== Container ===== */
.container {
    display: flex;
    width: 800px;
    max-width: 90%;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== Brand Side ===== */
.brand-side {
    width: 50%;
    background-color: #4a90e2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.brand-side img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain; /* prevents stretching */
    border-radius: 8px;
}

/* ===== Form Side ===== */
.form-side {
    width: 50%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-side h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333333;
}

/* ===== Form Elements ===== */
.form-side label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555555;
}

.form-side input[type="text"],
.form-side input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-side input[type="text"]:focus,
.form-side input[type="password"]:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 5px rgba(74,144,226,0.5);
}

.form-side button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #4a90e2;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-side button:hover {
    background-color: #357abd;
}

/* ===== Close Button (optional) ===== */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #888888;
}

.close-btn:hover {
    color: #333333;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .brand-side,
    .form-side {
        width: 100%;
    }
    .brand-side img {
        max-height: 250px;
    }
}