/* * Enterprise E-APBDes Style
 * Mengandung style untuk Login Glassmorphism & Komponen Global
 */

body {
    font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   LOGIN PAGE - GLASSMORPHISM
   ========================================================================== */
.login-body {
    position: relative;
    overflow: hidden;
    background: #0f172a; /* Fallback dark */
    transition: background 0.5s ease;
}

/* Light Mode Background */
[data-bs-theme="light"] .login-body {
    background: #f8fafc;
}

/* Animated Background Shapes */
.bg-shape {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    animation: move 15s infinite alternate linear;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.4);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.4);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.3);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Glass Panel */
.glass-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

[data-bs-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Element Styling */
.login-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0px 10px 8px rgba(0,0,0,0.2));
}

.floating-anim {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-bs-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #0284c7, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Input */
.glass-input {
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    border-radius: 12px;
}

.glass-input:focus {
    background: rgba(15, 23, 42, 0.6) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1) !important;
}

[data-bs-theme="light"] .glass-input {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
}

[data-bs-theme="light"] .glass-input:focus {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1) !important;
}

.form-floating label {
    color: #94a3b8;
}

[data-bs-theme="light"] .form-floating label {
    color: #64748b;
}

/* Buttons */
.btn-login {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.6);
}

.btn-theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-bs-theme="light"] .btn-theme-toggle {
    background: rgba(255, 255, 255, 0.6);
    color: #0f172a;
    border-color: rgba(0,0,0,0.1);
}