/* =================================================
   ROOT & RESET
================================================= */
.login-animated {
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
    background: #0f3d21;
}

/* =================================================
   ANIMATED BACKGROUND (PREMIUM & HALUS)
================================================= */
.login-animated-bg {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, #0f3d21, #125e29, #0b2f19);
    background-size: 400% 400%;
    animation: gradientMove 18s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* FLOATING SHAPES */
.login-animated-bg span {
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    filter: blur(8px);
    animation: floatShape 30s linear infinite;
}

.login-animated-bg span:nth-child(1) {
    left: 10%;
    animation-duration: 26s;
}

.login-animated-bg span:nth-child(2) {
    left: 35%;
    width: 180px;
    height: 180px;
    animation-duration: 22s;
}

.login-animated-bg span:nth-child(3) {
    left: 65%;
    width: 320px;
    height: 320px;
    animation-duration: 34s;
}

.login-animated-bg span:nth-child(4) {
    left: 80%;
    width: 140px;
    height: 140px;
    animation-duration: 18s;
}

@keyframes floatShape {
    from {
        transform: translateY(110vh) rotate(0deg);
    }

    to {
        transform: translateY(-130vh) rotate(360deg);
    }
}

/* =================================================
   PAGE WRAPPER
================================================= */
.login-animated-page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* =================================================
   LOGIN CARD (MODERN)
================================================= */
.login-animated-box {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    padding: 44px 40px;
    border-radius: 24px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, .35),
        inset 0 1px 0 rgba(255, 255, 255, .6);
    animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================================
   LOGO
================================================= */
.login-logo {
    text-align: center;
}

.login-logo img {
    max-height: 84px;
    margin-bottom: 16px;
}

/* =================================================
   TITLE & SUBTITLE
================================================= */
.login-animated-box h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #125e29;
    margin-bottom: 8px;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 28px;
}

/* =================================================
   FORM
================================================= */
.login-form-custom label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.login-form-custom input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #dce3f0;
    background: #f3f7ff;
    font-size: 15px;
    margin-bottom: 18px;
    transition: .3s;
}

.login-form-custom input:focus {
    outline: none;
    background: #fff;
    border-color: #125e29;
    box-shadow: 0 0 0 4px rgba(18, 94, 41, .15);
}

/* REMEMBER */
.login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 14px;
}

.login-remember input {
    width: 16px;
    height: 16px;
}

/* =================================================
   BUTTON
================================================= */
.login-submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    background: linear-gradient(135deg, #125e29, #1f7d3a);
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: .35s;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(18, 94, 41, .45);
}

/* =================================================
   LINKS
================================================= */
.login-links {
    text-align: center;
    margin-top: 18px;
}

.login-forgot {
    font-size: 14px;
    font-weight: 600;
    color: #125e29;
}

.login-forgot:hover {
    color: #fd6401;
}

.login-back {
    display: block;
    margin-top: 22px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #125e29;
}

.login-back:hover {
    color: #fd6401;
}

/* =================================================
   ERROR MESSAGE
================================================= */
.login-error {
    background: #fdecea;
    color: #d93025;
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 600;
    text-align: center;
}

/* =================================================
   MOBILE OPTIMIZATION
================================================= */
@media (max-width: 480px) {
    .login-animated-box {
        padding: 34px 26px;
        border-radius: 20px;
    }

    .login-animated-box h1 {
        font-size: 24px;
    }
}

.login-success {
    background: #e6f4ea;
    color: #137333;
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 600;
    text-align: center;
}

/* =================================================
   WHATSAPP BUTTON
================================================= */

.btn-wa-confirm {
    display: block;
    margin-top: 16px;
    padding: 14px;
    text-align: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.btn-wa-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(37,211,102,.45);
}
