<style>
    :root{--brand:#0b5ed7;--accent:#ffc107;--primary-navy:#0A1A33;--secondary-gold:#FFD700}
    body{font-family:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial}
    .hero{background:linear-gradient(90deg, rgba(11,94,215,0.08), rgba(255,193,7,0.04));padding:60px 0}
    .pill{border-left:4px solid var(--brand);padding-left:12px}
    .stat-card{border-radius:12px;box-shadow:0 6px 18px rgba(11,94,215,0.06)}
    .doc-table td, .doc-table th{vertical-align:middle}
    footer{background:#0b3b73;color:#fff;padding:28px 0}
    @media (max-width:576px){.hero{padding:36px 0}}
 
    /* --- Base style untuk semua ikon custom --- */
    .fa-unila,
    .fa-simanja {
      width: 60px;
      height: 60px;
      display: inline-block;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      color: transparent; /* sembunyikan icon FA */
    }
    
    /* --- Gambar masing-masing ikon --- */
    .fa-unila {
      background-image: url('../../uploads/logodikbud.png');
    }
    
    .fa-simanja {
      background-image: url('../../uploads/logounila.png');
    }
    
    .fa-unila,
    .fa-simanja {
      transition: transform .25s ease;
    }
    
    .fa-unila:hover,
    .fa-simanja:hover {
      transform: scale(1.1);
    }
    
    .gold-divider {
    border: 0;
    height: 3px;
    width: 100%;
    margin: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.1) 0%,
        rgba(255, 215, 0, 1) 50%,
        rgba(255, 215, 0, 0.1) 100%
    );
    position: relative;
    overflow: hidden;
}

.navy-gold-divider {
    border: 0;
    height: 5px;
    width: 100%;
    margin: 0;

    /* Dual-tone Navy → Gold */
    background: linear-gradient(
        90deg,
        rgba(10, 26, 51, 0) 0%,
        rgba(10, 26, 51, 1) 30%,
        #FFD700 70%,
        rgba(255, 215, 0, 0) 100%
    ) !important;

    position: relative;
    overflow: hidden;

    /* Glow lembut */
    box-shadow:
        0 0 8px rgba(10, 26, 51, 0.8),
        0 0 12px rgba(255, 215, 0, 0.6);
}

/* Shimmer emas melewati garis */
.navy-gold-divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: -200px;
    width: 200px;
    height: 100%;
    
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0),
        rgba(255, 215, 0, 0.85),
        rgba(255, 215, 0, 0)
    );

    animation: shimmer-gold 2.8s infinite linear;
}

@keyframes shimmer-gold {
    0% { left: -200px; }
    100% { left: 100%; }
}

.navy-divider-footer {
    border: 0;
    height: 8px;                 /* lebih tebal */
    width: 100%;
    margin: 0;

    background: linear-gradient(
        90deg,
        rgba(10, 26, 51, 0) 0%,      /* navy transparan */
        rgba(10, 26, 51, 1) 50%,     /* navy solid */
        rgba(10, 26, 51, 0) 100%
    );

    position: relative;
    overflow: hidden;

    /* Glow lebih kuat */
    box-shadow:
        0 0 10px rgba(10, 26, 51, 1),
        0 0 20px rgba(10, 26, 51, 0.9),
        0 0 35px rgba(10, 26, 51, 0.8);
}

.navy-divider-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;

    /* shimmer biru-putih */
    background: linear-gradient(
        90deg,
        transparent,
        rgba(210, 225, 255, 0.9),
        transparent
    );

    animation: footerShimmer 3s infinite linear;
}

@keyframes footerShimmer {
    0% { left: -250px; }
    100% { left: 100%; }
}
    
.hero-bg {
    position: relative;
    padding: 40px;
    border-radius: 0px;
    overflow: hidden;
    color: #fff;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../../uploads/bwfeb.jpg') center/cover no-repeat;
    filter: brightness(0.5) blur(2px);
    z-index: 1;
    
    /* Animasi zoom + gerakan + blur */
    transform-origin: center;
    animation: zoomBlurMove 20s ease-in-out infinite alternate;
}

.hero-bg * {
    position: relative;
    z-index: 2;
}

@keyframes zoomBlurMove {
    0% {
        transform: scale(1) translate(0, 0);
        filter: brightness(0.5) blur(2px);
    }
    50% {
        transform: scale(1.1) translate(-10px, -10px);
        filter: brightness(0.55) blur(3px);
    }
    100% {
        transform: scale(1.15) translate(-20px, -20px);
        filter: brightness(0.6) blur(4px);
    }
}

/* Base card style */
.zi-card-navy {
    border-left: 10px solid #0A1A33; /* Navy tebal FEB */
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.35s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0); /* clean base */
}

/* Hover style FEB */
.zi-card-navy:hover {
    transform: translateY(-5px);
    border-left-color: #FFD700; /* berubah jadi Gold FEB */
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    background: #fdfcf6; /* sedikit warm, elegan */
}

/* Icon hover effect */
.zi-card-navy i {
    transition: 0.3s ease;
}

.zi-card-navy:hover i {
    color: #FFD700 !important; /* gold on hover */
    transform: scale(1.1);
}

/* Title highlight effect */
.zi-card-navy h5 {
    transition: 0.3s ease;
}

.zi-card-navy:hover h5 {
    color: #0A1A33; /* Navy solid */
}

/* Quick Access Cards */
.quick-access-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.quick-access-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11,94,215,0.15);
    background: linear-gradient(135deg, #e7f3ff 0%, #d6e9ff 100%);
}

/* Jadwal Table */
.jadwal-table {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.jadwal-table tr {
    transition: all 0.3s ease;
}

.jadwal-table tr:hover {
    background-color: #f0f7ff !important;
    transform: scale(1.01);
}

.jadwal-table td {
    border-top: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
}

.jadwal-table td:first-child {
    border-left: 2px solid #0A1A33;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.jadwal-table td:last-child {
    border-right: 2px solid #0A1A33;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Status Badge */
.badge-jadwal {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-aktif {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge-selesai {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: white;
}

.badge-batal {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    color: white;
}

/* Calendar View */
.calendar-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: #0A1A33;
    padding: 10px 0;
    border-bottom: 2px solid #e9ecef;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calendar-day:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.calendar-day.today {
    background: linear-gradient(135deg, #0b5ed7, #0A1A33);
    color: white;
    box-shadow: 0 4px 12px rgba(11,94,215,0.3);
}

.calendar-day.has-event::after {
    content: "";
    position: absolute;
    bottom: 4px;
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-box input {
    padding-left: 45px;
}

/* Feature Icons */
.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b5ed7, #0A1A33);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-icon.schedule {
    background: linear-gradient(135deg, #0b5ed7, #0A1A33);
}

.feature-icon.classroom {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.feature-icon.teacher {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.feature-icon.exam {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.feature-icon.report {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

.feature-icon.attendance {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

/* Dashboard Stats */
.dashboard-stat {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #0A1A33;
}

.dashboard-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.dashboard-stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0A1A33;
    margin-bottom: 5px;
}

.dashboard-stat .label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Modal */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #0b5ed7, #0A1A33);
    color: white;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #0b5ed7, #0A1A33);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0A1A33, #081529);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11,94,215,0.3);
}

.btn-outline-primary {
    border-color: #0b5ed7;
    color: #0b5ed7;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #0b5ed7, #0A1A33);
    color: white;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    height: calc(100% - 10px);
    width: 2px;
    background: #0b5ed7;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0b5ed7;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #0b5ed7;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0b5ed7;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0A1A33;
}

.dashboard-stat {
    position: relative;
    background: linear-gradient(135deg, #4e73df, #224abe);
    color: #fff;
    border-radius: 15px;
    padding: 25px 20px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.dashboard-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.dashboard-stat .icon-bg {
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 70px;
    opacity: 0.15;
}

.dashboard-stat h3 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard-stat .label {
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Variasi Warna */
.bg-success-grad {
    background: linear-gradient(135deg, #1cc88a, #13855c);
}

.bg-warning-grad {
    background: linear-gradient(135deg, #f6c23e, #dda20a);
}

.bg-danger-grad {
    background: linear-gradient(135deg, #e74a3b, #be2617);
}

.bg-info-grad {
    background: linear-gradient(135deg, #36b9cc, #258391);
}

.nav-link i {
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

</style>