body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    display: flex;
    width: 900px;
    height: 550px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #b71c1c 0%, #8a1212 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    position: relative;
}

/* Indonesia Map Background */
.login-left::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 100%;
    background-image: url('../img/indonesia_map.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    /* Subtle transparent effect */
    pointer-events: none;
}

.brand-logo {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 20px;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    z-index: 2;
}

.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: #ffffff;
}

.login-form-container {
    width: 100%;
    max-width: 360px;
    padding: 0 20px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 24px;
}

.login-header p {
    color: #777;
    margin-bottom: 0;
    font-size: 14px;
}

.form-group {
    margin-bottom: 25px;
}

.input-icon {
    position: relative;
    width: 100%;
}

.input-icon i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    transition: color 0.3s;
    z-index: 10;
    pointer-events: none;
}

.input-icon .form-control {
    padding-left: 55px;
    padding-right: 20px;
    height: 50px;
    border-radius: 8px;
    /* Slightly less rounded for "precision" */
    border: 1px solid #e0e0e0;
    box-shadow: none;
    transition: all 0.3s;
    font-size: 15px;
    background-color: #fafafa;
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding doesn't add to width */
}

.input-icon .form-control:focus {
    border-color: #b71c1c;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(183, 28, 28, 0.1);
}

.input-icon .form-control:focus+i {
    color: #b71c1c;
}

.btn-primary {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    /* Match input proper */
    background: #b71c1c;
    color: #ffffff !important;
    /* Force white text */
    border: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.3);
    transition: all 0.3s;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover {
    background: #a01818;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(183, 28, 28, 0.4);
}

.links {
    text-align: center;
    margin-top: 15px;
}

.links a {
    color: #777;
    font-size: 0.9rem;
    text-decoration: none;
}

.links a:hover {
    color: #b71c1c;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .login-container {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
        flex-direction: column;
        box-shadow: none;
    }

    .login-left {
        padding: 30px 20px;
        flex: 0 0 auto;
        /* Don't grow, just take necessary space */
    }

    .brand-logo {
        max-width: 100px;
        max-height: 100px;
        margin-bottom: 15px;
    }

    .brand-desc {
        font-size: 0.9rem;
        display: none;
        /* Hide description on mobile to save space */
    }

    .login-right {
        padding: 40px 20px;
        flex: 1;
        /* Take remaining space */
        background-color: #fff;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        margin-top: -20px;
        /* Overlap effect */
        z-index: 10;
    }

    .login-form-container {
        max-width: 100%;
    }

    .login-header h2 {
        font-size: 22px;
    }
}