/* ============================================
   LOGIN PAGE - GREEN GRADIENT & ANIMATED LOGO
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* === WRAPPER (Background Hijau Gradasi Gelap) === */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #065f46 100%);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* === DECORATIVE BLOBS (Animasi Background) === */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background: #10b981; /* Emerald Green */
    top: -120px;
    left: -120px;
    animation: floatBlob 8s ease-in-out infinite;
}

.blob-2 {
    width: 380px;
    height: 380px;
    background: #059669; /* Darker Green */
    bottom: -100px;
    right: -100px;
    animation: floatBlob 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 280px;
    height: 280px;
    background: #34d399; /* Light Green */
    top: 50%;
    left: 65%;
    animation: floatBlob 12s ease-in-out infinite;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* === CONTAINER === */
.login-container {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 10;
}

/* === CARD === */
.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

/* === HEADER === */
.login-header {
    text-align: center;
    margin-bottom: 32px;
}

/* === LOGO BERGERAK (ANIMASI) === */
.campus-logo {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 38px;
    color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* Animasi Logo: Naik-turun halus + sedikit membesar */
.animated-logo {
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4); 
    }
    50% { 
        transform: translateY(-10px) scale(1.05); 
        box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6); 
    }
}

.campus-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #064e3b; /* Dark Green Text */
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.campus-tagline {
    font-size: 0.82rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 20px;
}

.divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 3px;
    margin: 0 auto 20px;
}

.login-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 400;
}

/* === FLASH MESSAGE === */
.flash-message {
    margin-bottom: 20px;
}

/* === FORM === */
.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #064e3b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.3s ease;
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f9fafb;
    color: #1f2937;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-input:focus {
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.input-icon:focus-within i {
    color: #10b981;
}

/* === BUTTON (Hijau Gradasi) === */
.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669, #047857);
}

.login-button:active {
    transform: translateY(0);
}

.login-button i {
    transition: transform 0.3s ease;
}

.login-button:hover i {
    transform: translateX(4px);
}

/* === FOOTER === */
.login-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* === RESPONSIVE === */
@media (max-width: 520px) {
    .login-card {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .campus-logo {
        width: 70px;
        height: 70px;
        font-size: 32px;
        border-radius: 18px;
    }

    .campus-name {
        font-size: 1.25rem;
    }

    .campus-tagline {
        font-size: 0.78rem;
    }

    .login-title {
        font-size: 1.05rem;
    }

    .blob-1 { width: 250px; height: 250px; }
    .blob-2 { width: 200px; height: 200px; }
    .blob-3 { width: 150px; height: 150px; }
}