* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, "Helvetica Neue", Helvetica, sans‑serif;
}
body {
    background: #ECECEC;
}
.container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 100vh;
    width: 100%;
    flex-wrap: nowrap;
}

/* ——— PANEL KIRI ——— */
.left‑panel {
    width: 42%;
    min-width: 320px;
    background: #00A0E9;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    color: #fff;
    flex-shrink: 0;
}
.welcome‑text {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.welcome‑text strong {
    font-size: 1.08rem;
    display: block;
}
.ad‑banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ——— PANEL KANAN ——— */
.right‑panel {
    width: 58%;
    min-width: 410px;
    background: #ECECEC;
    padding: 1.4rem 2.8rem;
    position: relative;
    flex-shrink: 0;
}

/* TOMBOL BAHASA — TETAP DI POJOK KANAN ATAS */
.lang‑switch {
    position: absolute;
    top: 1rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
}
.lang‑switch span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #DCDCDC;
    color: #333;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang‑switch span.active {
    background: #00A0E9;
    color: #fff;
    font-weight: bold;
}
.lang‑switch span:hover:not(.active) {
    background: #CCCCCC;
}

/* LOGO — POSISI SEMULA */
.logo‑top {
    margin-top: 2.5rem;
    margin-bottom: 2.2rem;
}
.logo‑top img {
    height: 42px;
    width: auto;
    display: block;
}

/* FORM LOGIN — DI TENGAH */
.login‑form {
    max-width: 355px;
    width: 100%;
    margin: 0 auto;
}
.form‑group {
    margin-bottom: 0.9rem;
}
.form‑group label {
    display: block;
    font-size: 0.88rem;
    color: #333;
    margin-bottom: 0.35rem;
}
.form‑group input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    font-size: 0.92rem;
    background: #fff;
    transition: border-color 0.2s ease;
}
.form‑group input:focus {
    outline: none;
    border-color: #00A0E9;
}

/* KOTAK KATA SANDI + TOMBOL MATA POLOS */
.pass‑wrap {
    position: relative;
    width: 100%;
}
.pass‑wrap input {
    padding-right: 38px;
}

/* TOMBOL MATA — POLOS KECIL, WARNA ABU */
.eye‑btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666 !important;
    cursor: pointer;
    padding: 0;
}
.eye‑btn .eye-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: #666 !important;
}
.eye‑btn:hover {
    background: transparent;
    color: #333 !important;
}

.btn‑login {
    width: 100%;
    padding: 0.6rem;
    background-color: #0099EE;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.92rem;
    margin: 0.4rem 0 0.6rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn‑login:hover {
    background: #0088DD;
}
.forgot‑link {
    display: block;
    text-align: center;
    color: #0066B3;
    text-decoration: none;
    font-size: 0.86rem;
    margin-bottom: 1.5rem;
}
.forgot‑link:hover {
    text-decoration: underline;
}

/* TAUTAN BAWAH */
.footer‑links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #000;
    text-align: center;
}
.footer‑links a {
    color: #000;
    text-decoration: none;
    padding: 0 0.4rem;
}
.footer‑links a:first-child {
    padding-left: 0;
}
.footer‑links a:hover {
    text-decoration: underline;
}

/* TEKS HUKUM */
.legal‑text {
    font-size: 0.76rem;
    line-height: 1.5;
    color: #555;
    max-width: 480px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

/* ✅ POPUP — LATAR BELAKANG GELAP */
.popup‑overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.popup‑overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ✅ KOTAK POPUP */
.popup‑box {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.popup‑overlay.active .popup‑box {
    transform: translateY(0);
}

.popup‑icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.popup‑title {
    font-size: 1.25rem;
    color: #d32f2f;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.popup‑text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ✅ TOMBOL DI POPUP */
.popup‑btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn‑cancel {
    padding: 0.6rem 1.5rem;
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn‑cancel:hover {
    background: #d0d0d0;
}
.btn‑sysadmin {
    padding: 0.6rem 1.5rem;
    background: #0099EE;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn‑sysadmin:hover {
    background: #0088DD;
}
