/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

/* ================= BODY ================= */
body {
    height: 100vh;

    /* Background Image + Overlay */
    background: 
        linear-gradient(rgba(2,44,34,0.85), rgba(6,95,70,0.85)),
        url('../img/bg_dasar.jpeg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Glow Effect */
body::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
    top: -150px;
    right: -150px;
    filter: blur(80px);
}

/* ================= LOGIN BOX ================= */
.login-box {
    position: relative;

    /* Hijau botol */
    background: #064e3b;

    width: 400px;
    padding: 40px 30px;
    border-radius: 16px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5);

    animation: fadeIn 0.6s ease-in-out;
    background: linear-gradient(145deg, #064e3b, #022c22);
}

/* ================= HEADER ================= */
.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header img {
    width: 50px;
    margin: 0 5px;
}

.login-header h2 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #d1fae5;
    letter-spacing: 0.5px;
}

/* ================= FORM ================= */
.login-box label {
    font-size: 13px;
    color: #a7f3d0;
    margin-bottom: 6px;
    display: block;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

/* Input Focus Glow */
.login-box input:focus {
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    background: rgba(255,255,255,0.1);
}

/* ================= BUTTON ================= */
.login-box button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #047857, #065f46);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #059669, #047857);
}

/* ================= LINKS ================= */
.login-box a {
    color: #6ee7b7;
    text-decoration: none;
    transition: 0.3s;
}

.login-box a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

/* ================= ANIMATION ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= LOGO ================= */
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
}

.logo-wrapper img {
    width: 70px;   /* samakan ukuran */
    height: auto;
}

/* Logo KLK jadi putih */
.logo-klk {
    filter: brightness(0) invert(1);
}

/* ================= REGISTER TEXT ================= */
.login-box p {
    color: #ffffff;   /* Tulisan jadi putih */
}

.login-box p a {
    color: #6ee7b7;   /* Link tetap hijau */
    font-weight: 500;
}

.login-box p a:hover {
    color: #ffffff;
}
