:root {
    --form-bg: #ee4545;
    --panel-right-bg: #ee4545;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #e7eaf3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-title{
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Container */
.container {
    background: transparent;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
    width: 900px;
    max-width: 100%;
    min-height: 500px;
    display: flex;
}

/* Form kiri */
.form-container {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--form-bg);
}

.form-container h1 {
    margin-bottom: 25px;
}

.form-container input {
    background: #eee;
    border: none;
    padding: 12px 15px;
    margin: 10px 0;
    width: 100%;
    border-radius: 8px;
}

.form-container a {
    font-size: 14px;
    margin: 15px 0;
    text-decoration: none;
    color: #333;
}

.form-container button {
    border-radius: 25px;
    border: none;
    background: #312eea;
    color: #fff;
    font-size: 14px;
    padding: 12px 30px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;

    align-self: flex-start;
    width: auto;   
}

.form-container button:hover {
    background: #4b1fd3;
}

/* Password field with show/hide toggle */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

.form-container input:-webkit-autofill,
.form-container input:-webkit-autofill:hover,
.form-container input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #eee inset;
    -webkit-text-fill-color: #000;
    transition: background-color 5000s ease-in-out 0s;
}

/* ========================= */
/* PANEL KANAN */
/* ========================= */

.overlay-container {
    width: 50%;
    overflow: hidden;
    background: var(--panel-right-bg);
}

.overlay {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: flex-end;
    align-items: flex-end;

    padding: 45px;

    background:
        linear-gradient(
            rgba(95,46,234,.25),
            rgba(95,46,234,.25)
        ),
        url("../img/pabrik.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay-content {
    color: #ffffff;
    text-align: right;
    text-shadow: 0 3px 12px rgba(0,0,0,.5);
}

.overlay-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

.overlay-content p {
    margin-top: 8px;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
}