/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* BACKGROUND */
.hero {
    min-height: 100vh;
    background-image: url('../Image/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* LOGIN CARD */
.login-wrapper {
    width: 1000px;
    max-width: 95%;
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    background: white;
}

/* LEFT PANEL */
.login-left {
    flex: 1;
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column; /* atas ke bawah */
    justify-content: center;
    align-items: flex-start; /* kiri */
    text-align: left; /* kiri */
    background: linear-gradient(135deg, #ff0000, #8b0000);
}

.login-left h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.logo-img {
    width: 100px;
    margin-bottom: 30px; /* jarak bawah logo */
}

.login-left h2 {
    font-size: 42px;
    margin: 10px 0;
}

.login-left p {
    line-height: 1.7;
    opacity: 0.9;
}

/* RIGHT PANEL */
.login-right {
    flex: 1;
    background: #f3f3f3;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

/* INPUT BOX */
.input-box {
    position: relative;
    margin-bottom: 20px;
}

/* ICON KIRI (contoh kunci atau user) */
.input-box i {
    position: absolute;
    top: 50%;
    left: 12px; /* Letak kiri sedikit untuk ikon */
    transform: translateY(-50%);
    color: #777;
    font-size: 16px;
}

/* SHOW/HIDE PASSWORD ICON */
.show-password {
    position: absolute;
    right: 12px; /* pastikan icon berada kanan */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    color: #777;
    font-size: 16px;
}

/* INPUT STYLE */
.input-box input {
    width: 100%;
    padding: 14px 40px 14px 40px; /* padding kiri untuk icon kiri, kanan untuk icon mata */
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
}

/* FOCUS */
.input-box input:focus {
    border-color: #ff0000;
}

/* OPTIONS */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 25px;
}

.options a {
    color: red;
    text-decoration: none;
    transition: 0.3s;
}

.options a:hover {
    color: #b26c6c;
}

/* BUTTON */
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #000, #aaa);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.login-btn:hover {
    background: linear-gradient(90deg, #111, #bbb);
}

/* REGISTER */
.register {
    text-align: center;
    margin-top: 20px;
}

.register a {
    color: red;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.register a:hover {
    color: #b26c6c;
}

/* FOOTER */
.footer {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    color: #777;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
    }
    .login-left,
    .login-right {
        padding: 40px;
    }
    .login-left h2 {
        font-size: 36px;
    }
}

@media(max-width: 600px) {
    .login-left h2 {
        font-size: 28px;
    }
    .logo-img {
        margin-bottom: 15px;
    }
}