/* Import Font Mewah */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.2);
    --primary-dark: #0f172a;
    --accent-blue: #3b82f6;
    --electric-blue: #00d2ff;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    background-attachment: fixed;
    color: #1e293b;
}

/* ========================================= */
/* --- CUSTOM MODERN CALLIGRAPHY LOGO --- */
/* ========================================= */

/* PERBAIKAN: Tambah gap untuk jarak stabil */
.logo-calligraphy-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* Agar logo selalu di tengah jika di halaman login */
    gap: 15px; /* Menggantikan margin-right */
    position: relative;
    text-decoration: none;
    transition: 0.4s ease;
}

.logo-calligraphy-wrapper:hover {
    transform: scale(1.03);
}

/* PERBAIKAN: Tambah flex-shrink: 0 agar ikon tidak gepeng/numpuk */
.calligraphy-icon {
    width: 45px;
    height: 45px;
    position: relative;
    flex-shrink: 0; /* Kunci rahasianya ada di sini */
}

/* Garis Kaligrafi 1 (Melengkung mewah) */
.calligraphy-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50% 10px 50% 10px;
    background: linear-gradient(135deg, var(--accent-blue), var(--electric-blue));
    transform: rotate(-15deg);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
    z-index: 1;
}

/* Garis Kaligrafi 2 (Efek Tinta Menetes/Meningkat) */
.calligraphy-icon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    border: 3px solid var(--primary-dark);
    z-index: 2;
    transform: scale(0.8);
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* Bagian Teks */
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left; /* Pastikan teks selalu rata kiri di samping ikon */
}

.text-stemsi {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.text-nilai {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: -3px;
    opacity: 0.8;
}

/* ========================================= */
/* --- END OF CUSTOM LOGO --- */
/* ========================================= */

/* Efek Mica / Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
}

.navbar-glass {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover Animations */
.btn-mewah {
    border-radius: 100px;
    padding: 10px 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-mewah:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.4);
}

/* Animasi List */
tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.03) !important;
}

tr:hover {
    background: rgba(59, 130, 246, 0.04);
    transform: scale(1.005);
    border-radius: 12px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}