
/* =========================
   GLOBAL FIX
========================= */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =========================
   LOGIN WRAPPER
========================= */
.login-page {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

/* =========================
   BACKGROUND
========================= */
.login-page::before {
    content: "";
    position: absolute;

    top: 0;
    left: -5%;
    right: -5%;
    bottom: 0;

    background: url('../img/bg-fish.webp') no-repeat center center;
    background-size: cover;

    filter: blur(4px);
    transform: scale(1.05);

    z-index: -2;
}

/* =========================
   OVERLAY
========================= */
.login-page::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(0, 180, 216, 0.65),
        rgba(0, 200, 150, 0.55)
    );

    z-index: -1;
}

/* =========================
   CARD
========================= */
.login-card {
    width: 100%;
    max-width: 420px;

    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.15);

    backdrop-filter: blur(12px);

    animation: fadeInUp 0.6s ease;
}

/* =========================
   TEXT
========================= */
.login-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0f172a;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
}

/* =========================
   INPUT
========================= */
.form-control {
    height: 45px;
    border-radius: 12px;
    font-size: 14px;
}

/* =========================
   BUTTON
========================= */
.btn-login {
    height: 45px;
    border-radius: 12px;
    font-weight: 600;

    background: linear-gradient(135deg, #00b4d8, #48cae4);
    border: none;
    color: white;
}

.btn-login:hover {
    opacity: 0.9;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   FOOTER (ELEGANT)
========================= */
.login-footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;

    font-size: 13px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;

    text-shadow: 0 2px 8px rgba(0,0,0,0.3);

    animation: fadeIn 1.2s ease;
}

/* fade animasi */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 576px) {

    .login-page::before {
        filter: blur(6px);
        transform: scale(1.08);
    }

    .login-page {
        padding: 15px;
    }

    .login-card {
        padding: 25px 20px;
    }
}