/* Styling Global untuk Dashboard Stat */
.dashboard-stat-section {
    font-family: 'Poppins', sans-serif;
}

.db-stat-card {
    transition: all 0.3s ease;
}

.db-stat-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}

/* Soft Backgrounds untuk Kartu */
.bg-primary-soft {
    background-color: #f0f7ff !important; /* Sangat Halus */
}
.bg-success-soft {
    background-color: #f0fff4 !important; /* Sangat Halus */
}

/* Icon Box Dashboard */
.db-icon-box {
    width: 65px;
    height: 65px;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* Tipografi Dashboard */
.db-stat-label {
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.7rem;
    opacity: 0.7;
}

.db-stat-value {
    font-size: 2.2rem;
    letter-spacing: -2px;
}

/* 1. Reset & Global Utility */
:root {
    --primary-soft: rgba(13, 110, 253, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#pengumuman {
    letter-spacing: -0.01em;
}

/* 2. Card Design Modern */
.card {
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* 3. Timeline Enhancements */
.flex-shrink-0 .bg-light, 
.flex-shrink-0 .bg-primary, 
.flex-shrink-0 .bg-info {
    transition: var(--transition-smooth);
    cursor: default;
}

.flex-shrink-0:hover div {
    transform: scale(1.05);
}

.ms-4.border-bottom {
    border-color: #f1f4f8 !important;
}

/* 4. Swiper Slider Pro Look */
.pengumuman-slider {
    border-radius: 20px;
}

.pengumuman-slider img {
    transition: transform 0.5s ease;
}

.pengumuman-slider:hover img {
    transform: scale(1.03);
}

.swiper-button-next, .swiper-button-prev {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: #0d6efd !important;
    width: 20px !important;
    border-radius: 5px !important;
}

/* 5. Typography & Badges */
.bg-primary-soft {
    background-color: var(--primary-soft);
}

.badge {
    font-weight: 600;
    padding: 0.5em 0.8em;
}

/* 6. Alert Box Animation */
.bg-danger.bg-opacity-10 {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { border-color: rgba(220, 53, 69, 0.2); }
    50% { border-color: rgba(220, 53, 69, 0.5); }
    100% { border-color: rgba(220, 53, 69, 0.2); }
}

/* 7. Responsiveness */
@media (max-width: 768px) {
    .flex-shrink-0 {
        width: 60px !important;
    }
    .flex-shrink-0 span {
        font-size: 14px;
    }
    .display-6 {
        font-size: 1.8rem;
    }
}
.stat-card {
    color: #fff;
    transition: 0.3s ease;
    overflow: hidden;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* WARNA CARD */
.stat-primary {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stat-success {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

/* ICON */
.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* TEXT */
.stat-card small {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.stat-card h5 {
    font-weight: bold;
    font-size: 20px;
}

.wa-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.wa-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

.wa-close {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4d4f;
    color: #fff;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pengumuman-content ol li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.jalur-card {
    display: flex;
    flex-direction: column; /* ubah jadi column */
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    cursor: pointer;
    background: #f8fafa;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.jalur-card i {
    font-size: 22px;
    color: #375b5b;
    min-width: 30px;
    text-align: center;
}

.jalur-card h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.jalur-card p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #6b7280;
}

.jalur-card:hover {
    transform: translateY(-4px);
    border-color: #375b5b;
    box-shadow: 0 10px 25px rgba(55, 91, 91, 0.15);
    background: #ffffff;
}

.pengumuman-box {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f1f1;
    transition: 0.3s;
}

.pengumuman-box:hover {
    transform: translateY(-5px);
}

.icon-pengumuman {
    width: 55px;
    height: 55px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(13,110,253,0.3);
}

.pengumuman-content {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.pengumuman-content ul,
.pengumuman-content ol {
    padding-left: 18px;
}

.pengumuman-content li {
    margin-bottom: 6px;
}

.hero-slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

.swiper-pagination-bullet {
    background: #0d6efd;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
}

.pengumuman-card {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border-radius: 18px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    
}

/* efek hover biar hidup */
.pengumuman-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* biar beda dikit dari background */
.pengumuman-card .pengumuman-content {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

.wa-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.wa-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.wa-box:hover {
    transform: scale(1.05);
}
.wa-box img {
    width: 150px;
}


