/* =========================================================
   FONT
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* =========================================================
   GLOBAL
   ========================================================= */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 45%, #60a5fa 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* =========================================================
   BACKGROUND SHAPES (GLOW)
   ========================================================= */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.55;
}

.bg1 {
    width: 350px;
    height: 350px;
    background: #93c5fd;
    top: -80px;
    left: -100px;
}

.bg2 {
    width: 420px;
    height: 420px;
    background: #60a5fa;
    bottom: -100px;
    right: -90px;
}

.bg3 {
    width: 260px;
    height: 260px;
    background: #bfdbfe;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
}


/* =========================================================
   TITLE (SIBAKU)
   ========================================================= */
.app-title {
    position: absolute;
    top: 30px;
    width: 100%;
    text-align: center;
    z-index: 2000;
}

.app-title h1 {
    color: white;
    font-size: 42px;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.app-title p {
    color: #e0eaff;
    margin-top: 4px;
    font-size: 15px;
}



/* =========================================================
   LOGIN CARD
   ========================================================= */
.login-card {
    width: 430px;
    padding: 40px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(17px);
    border: 1px solid rgba(255,255,255,0.45);
    box-shadow: 0 10px 50px rgba(0,0,0,0.18);
    z-index: 1000;
    animation: fadeIn 0.9s ease-out;
    margin-top: 110px;
}

.login-card h2 {
    text-align: center;
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 30px;
    font-weight: 600;
}



/* =========================================================
   FORM INPUT
   ========================================================= */
input, label {
    width: 100%;
    box-sizing: border-box;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
}

input {
    padding: 14px;
    margin-top: 8px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #94a3b8;
    background: rgba(255,255,255,0.85);
    font-size: 15px;
    transition: 0.25s ease;
}

input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 8px rgba(37,99,235,0.45);
    outline: none;
}



/* =========================================================
   PASSWORD WRAPPER + ICON EYE
   ========================================================= */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.password-wrapper i {
    position: absolute;
    right: 14px;
    top: 20%;                 /* WAS: 50% — kita naikkan biar tidak terlalu bawah */
    transform: translateY(-50%);
    font-size: 17px;          /* kecilkan sedikit supaya proporsional */
    color: #4b5563;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.2s;
}

.password-wrapper i:hover {
    opacity: 1;
}



/* =========================================================
   BUTTON
   ========================================================= */
button {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}



/* =========================================================
   FOOTER
   ========================================================= */
footer {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: #1e3a8a;
}



/* =========================================================
   ANIMATION
   ========================================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}
