/* UPT Informatika Dashboard Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 50%, #1e293b 100%);
    min-height: 100vh;
    color: #333;
}

/* ==================== NAVBAR ==================== */

.navbar-custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box svg {
    color: #1e3a8a;
}

.logo-text {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.btn-login {
    background: white;
    color: #1e3a8a;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #f0f9ff;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==================== HERO SECTION ==================== */

.hero-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
}

.carousel-controls {
    display: flex;
    gap: 1rem;
}

.btn-carousel {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-carousel:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.btn-carousel svg {
    color: white;
}

/* ==================== CAROUSEL ==================== */

.carousel-wrapper {
    position: relative;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-img.active {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 5px;
    background: white;
}

/* ==================== FEATURE CARDS ==================== */

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    color: white;
}

.bg-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.bg-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #2563eb;
}

.feature-desc {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==================== FOOTER ==================== */

.footer-custom {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .carousel-images {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .carousel-images {
        height: 250px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }

    .table-responsive {
    padding-top: 8px;
}
}

 /* ===== TABLE STYLE ===== */
    .custom-table thead th {
        background: #f8f9fa;
        font-size: .65rem;
        text-transform: uppercase;
        letter-spacing: .8px;
        font-weight: 700;
        color: #6c757d;
        border: none;
        padding: 15px 10px;
    }

    /* ===== JAM & KATEGORI ===== */
    .cat-badge {
        font-size: 0.65rem;
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        color: #6c757d;
        padding: 2px 8px;
        border-radius: 6px;
        display: inline-block;
        margin-bottom: 3px;
        font-weight: 600;
    }
    .jam-text { font-weight: 700; color: #0d6efd; display: block; font-size: 0.9rem; }

    /* ===== STATUS PILLS ===== */
        .status-pill { padding: 5px 14px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
        .st-menunggu  { background: #fff7e6; color: #b45309; border: 1px solid #ffedd5; }
        .st-disetujui { background: #e6f9ed; color: #15803d; border: 1px solid #dcfce7; }
        .st-ditolak   { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
        .st-diexport { background: #e6f9ed; color: #192191; border: 1px solid #dcfce7; }

    /* ===== ACTION BUTTONS - SEKARANG RATA KANAN ===== */
    .action-wrapper { 
        display: flex; 
        justify-content: flex-end; /* INI YANG BIKIN RATA KANAN */
        align-items: center; 
        gap: 8px; 
    }

    .btn-lihat-pdf {
        color: #dc3545 !important; border: 1px solid #dc3545 !important; background: #fff !important;
        font-size: 0.75rem; padding: 5px 12px; border-radius: 50px; font-weight: 600;
        display: inline-flex; align-items: center; gap: 5px; height: 32px; transition: 0.2s; cursor: pointer;
        text-decoration: none;
    }
    .btn-lihat-pdf:hover { background: #fff5f5 !important; }

    .btn-terima { background: #198754; color: #fff; border: none; font-size: 0.75rem; padding: 0 16px; border-radius: 50px; font-weight: 700; height: 32px; }
    .btn-tolak { background: #fff; color: #6c757d; border: 1px solid #adb5bd; font-size: 0.75rem; padding: 0 16px; border-radius: 50px; font-weight: 600; height: 32px; }

    /* Modal PDF Style */
    .modal-pdf-custom .modal-content { border-radius: 15px; border: none; overflow: hidden; }
    .pdf-viewer-container { position: relative; background: #525659; height: 70vh; }
    #pdfFrame { width: 100%; height: 100%; border: none; }
    .pdf-info-tag { font-size: 0.7rem; background: #f0f2f5; padding: 2px 10px; border-radius: 5px; color: #495057; font-weight: 600; }



    :root {
    --primary-blue: #0a3c78;
    --accent-blue: #3b82f6;
    --text-dark: #1e293b;
    --glass: rgba(255, 255, 255, 0.1);
}

/* HERO CUSTOMIZATION */
.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 60px;
    transition: all 0.4s ease;
}

/* MENU GRID */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
    justify-content: center;
}

/* MENU CARD MODERN */
.menu-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-blue);
}

/* ICON STYLING */
.icon-box {
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.menu-card:hover .icon-box {
    background: var(--primary-blue);
    transform: rotate(-5deg);
}

.menu-card .icon {
    font-size: 32px;
}

/* TEXT STYLING */
.menu-card h5 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.menu-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* HIGHLIGHT VARIATION */
.highlight-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid rgba(59, 130, 246, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-container {
        padding: 30px;
        width: 95%;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

  .custom-table th {
        font-size: .85rem;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: #6b7280;
        background: #f8fafc;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .custom-table td {
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .cat-badge {
        background: #e0f2fe;
        color: #0369a1;
        font-weight: 700;
        font-size: .75rem;
        padding: 4px 12px;
        border-radius: 50px;
        display: inline-block;
    }

    .jam-text {
        font-weight: 700;
        margin-left: 8px;
        color: #0f172a;
        font-size: .8rem;
    }

    .deskripsi-col {
        max-width: 250px;
        font-size: .85rem;
        color: #334155;
    }

    .status-pill {
        padding: 5px 14px;
        border-radius: 50px;
        font-size: .75rem;
        font-weight: 700;
        display: inline-block;
        text-transform: capitalize;
    }

    .st-menunggu {
        background: #fff7e6;
        color: #b45309;
        border: 1px solid #ffedd5;
    }

    .st-disetujui {
        background: #e6f9ed;
        color: #15803d;
        border: 1px solid #bbf7d0;
    }

    .st-ditolak {
        background: #ffe4e6;
        color: #be123c;
        border: 1px solid #fecdd3;
    }

    .action-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .btn-lihat-pdf {
        background: #dc2626;
        border: none;
        color: white;
        padding: 7px 14px;
        border-radius: 50px;
        font-weight: 700;
        font-size: .8rem;
        transition: .2s;
    }

    .btn-lihat-pdf:hover {
        background: #b91c1c;
        transform: translateY(-1px);
    }

    .btn-terima {
        background: #16a34a;
        border: none;
        color: white;
        padding: 7px 14px;
        border-radius: 50px;
        font-weight: 700;
        font-size: .8rem;
        transition: .2s;
    }

    .btn-terima:hover {
        background: #15803d;
        transform: translateY(-1px);
    }

    .btn-tolak {
        background: #ef4444;
        border: none;
        color: white;
        padding: 7px 14px;
        border-radius: 50px;
        font-weight: 700;
        font-size: .8rem;
        transition: .2s;
    }

    .btn-tolak:hover {
        background: #dc2626;
        transform: translateY(-1px);
    }

    /* Modal Review */
    .pdf-info-tag {
        background: #f1f5f9;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: .75rem;
        font-weight: 700;
        color: #0f172a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 250px;
    }

    .modal-pdf-custom .modal-content {
        border-radius: 18px;
        overflow: hidden;
    }

    .modal-pdf-custom iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .sticky-action {
        position: sticky;
        bottom: 0;
        background: #f8fafc;
        padding-top: 14px;
        border-top: 1px solid #e5e7eb;
    }

    .detail-label {
        font-size: .75rem;
        font-weight: 700;
        color: #64748b;
        margin-bottom: 2px;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .detail-value {
        font-weight: 700;
        color: #0f172a;
        font-size: .9rem;
    }

    .detail-desc {
        font-size: .85rem;
        color: #334155;
        white-space: pre-line;
    }

   .feature-card {
    background: white;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    color: white;
}

.feature-icon svg {
    stroke: white !important;
}

.bg-blue {
    background: #2563eb;
}

.bg-indigo {
    background: #4f46e5;
}

.bg-orange {
    background: #f97316;
}
