:root {
    --card-bg: rgba(255, 255, 255, 0.12);
    --btn-cta: #ffa100;
}


body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #00b944 0%, #048500 45%, #004d26 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Bubbles */
.bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -160px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05) 40%);
    animation: rise 12s linear infinite;
    filter: blur(12px);
    opacity: .7;
}

/* Efek animasi garis bawah */
.link-anim-left,
.link-anim-right {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Garis bawah dasar */
.link-anim-left::after,
.link-anim-right::after {
    content: '';
    position: absolute;
    bottom: -2px;
    height: 2px;
    background-color: #fff;
    width: 0;
    transition: width 0.3s ease, left 0.3s ease, right 0.3s ease;
}

/* Dari kiri ke kanan */
.link-anim-left::after {
    left: 0;
}

/* Dari kanan ke kiri */
.link-anim-right::after {
    right: 0;
}

/* Hover animasi */
.link-anim-left:hover::after {
    width: 100%;
}

.link-anim-right:hover::after {
    width: 100%;
}

.link-anim-left:hover,
.link-anim-right:hover {
    color: #fff;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: .7
    }

    100% {
        transform: translateY(-120vh) scale(.9);
        opacity: 0
    }
}

/* Logo */
.logo-outside {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #5f9eff, #9cc8ff, #5f9eff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 6s ease infinite;
    text-shadow: 0 2px 10px rgba(100, 170, 255, 0.3);
}

@keyframes glow {
    0% {
        background-position: 0% 50%
    }

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

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

/* Card */
.login-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    justify-content: center;
}

.card {
    background: var(--card-bg);
    border: none;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 36px rgba(3, 10, 40, 0.28);
    max-width: 420px;
    width: 100%;
    padding: 1.6rem;
    color: #02122f;
}

.form-control {
    background: white;
    border-radius: 10px
}

.btn-login {
    background: var(--btn-cta);
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 20px;
    transition: all .3s ease;
}

.btn-login:hover {
    background: var(--btn-cta);
    color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(247, 178, 60, 0.10);
}

@media (max-width: 576px) {
    .login-wrapper {
        padding: 0 20px;
    }
}