* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    padding: 10px;
    /* kecilin padding */

    font-family: Arial, sans-serif;
    background: #dfe8dd;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    box-sizing: border-box;
}

/* CARD LOGIN */
.login-container {

    width: 100%;
    max-width: 320px;

    background: #c8e6c9;

    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 10px 35px rgba(0, 0, 0, .15);

    animation: muncul .3s ease;
}

/* HEADER */
.login-header {

    background: #2E7D32;
    color: white;

    text-align: center;

    padding: 22px;

    font-size: 26px;
    font-weight: bold;

    letter-spacing: 1px;
}


/* FORM */
.login-form {

    padding: 28px;
}

/* INPUT */
.login-form input {

    width: 100%;

    padding: 15px;

    border: none;
    border-radius: 10px;

    background: #f5f5f5;

    font-size: 16px;

    margin-bottom: 18px;

    box-sizing: border-box;
    outline: none;

    transition: .2s;
}

.login-form input:focus {

    background: white;

    box-shadow:
        0 0 0 3px rgba(46, 125, 50, .18);
}

/* BUTTON */
.login-form button {

    width: 100%;

    padding: 15px;

    border: none;
    border-radius: 10px;

    background: #2E7D32;
    color: white;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition: .2s;
}

.login-form button:hover {

    background: #1B5E20;

    transform: translateY(-2px);
}

/* LUPA PASSWORD */
.forgot {

    display: block;

    margin-top: 18px;

    text-align: center;

    color: #333;

    text-decoration: none;

    font-size: 15px;
}

.forgot:hover {

    color: #2E7D32;
}

/* ERROR */
.error-message {

    background: #ffebee;

    color: #d32f2f;

    padding: 12px;

    border-radius: 10px;

    margin-bottom: 18px;

    font-size: 14px;
}

/* ===== NOTIF POPUP ===== */

.notif-success {

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .35);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999;

    animation: fadeIn .2s ease;
}

.notif-box {

    width: 90%;
    max-width: 350px;

    background: white;

    border-radius: 20px;

    padding: 30px 25px;

    text-align: center;

    box-shadow: 0 10px 35px rgba(0, 0, 0, .18);

    animation: popup .25s ease;
}

.notif-icon {

    width: 75px;
    height: 75px;

    margin: auto;
    margin-bottom: 18px;

    border-radius: 50%;

    background: #E8F5E9;
    color: #2E7D32;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 38px;
    font-weight: bold;
}

.notif-box h3 {

    color: #1B5E20;

    margin-bottom: 10px;
}

.notif-box p {

    color: #555;

    line-height: 1.7;
}

.notif-box button {

    margin-top: 20px;

    background: #2E7D32;
    color: white;

    border: none;

    padding: 11px 30px;

    border-radius: 10px;

    font-weight: bold;

    cursor: pointer;

    transition: .2s;
}

.notif-box button:hover {

    background: #1B5E20;
}

/* ANIMASI POPUP */

@keyframes popup {

    from {

        transform: scale(.8);
        opacity: 0;
    }

    to {

        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ANIMASI */
@keyframes muncul {

    from {

        opacity: 0;
        transform: translateY(20px);
    }

    to {

        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE HP */
@media screen and (max-width: 480px) {

    body {
        padding: 10px;
    }

    .login-container {

        width: 100%;
        max-width: 200px;

        transform: scale(0.9);

        border-radius: 14px;
    }

    .login-header {

        padding: 16px;

        font-size: 15px;
    }

    .login-form {

        padding: 18px;
    }

    .login-form input {

        padding: 12px;

        font-size: 12px;

        margin-bottom: 14px;
    }

    .login-form button {

        padding: 12px;

        font-size: 13px;
    }

    .forgot {

        font-size: 12px;
        margin-top: 12px;
    }

    .error-message {

        font-size: 8px;

        padding: 10px;
    }

    .notif-box {

        width: 90%;
        max-width: 250px;
        padding: 15px 10px;

    }

    .notif-icon {

        width: 50px;
        height: 50px;

        font-size: 20px;
    }

    .notif-box h3 {
        margin-top: -8px;
        font-size: 16px;
    }

    .notif-box p {
        margin-top: -8px;
        font-size: 13px;
        line-height: 1.3;
    }

    .notif-box button {

        padding: 10px 25px;

        font-size: 14px;
    }
}