/* Styling tambahan aplikasi */

body {
    font-feature-settings: "tnum";
}

.app-header .navbar-brand .brand-text small {
    font-size: .75rem;
}

.card .table thead th {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.table td, .table th {
    vertical-align: middle;
}

.avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
}

/* Wizard tab kontainer form kegiatan */
.nav-wizard .nav-link {
    border-radius: 0;
    border-bottom: 3px solid transparent;
    color: var(--bs-secondary-color);
    font-size: .85rem;
    font-weight: 600;
}
.nav-wizard .nav-link.active {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
    background: transparent;
}
.nav-wizard .nav-link .step-num {
    display: inline-flex;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    background: var(--bs-secondary-bg);
    margin-right: 6px;
    color: var(--bs-secondary-color);
}
.nav-wizard .nav-link.active .step-num {
    background: var(--bs-primary);
    color: #fff;
}

.tab-pane {
    padding-top: 1rem;
}

.peserta-row, .perjalanan-row, .biaya-row {
    background: var(--bs-body-bg);
    border-radius: .5rem;
}

.media-thumb {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: .5rem;
}

/* Kartu pratinjau berkas (thumbnail) di halaman detail kegiatan */
.file-card {
    overflow: hidden;
    transition: box-shadow .15s ease, transform .15s ease;
}
.file-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}
.file-card-preview {
    position: relative;
    display: block;
    text-decoration: none;
}
.file-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    background: #eef1f4;
}
.file-thumb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.bg-pdf { color: #dc3545; background: #fdecee; }
.bg-audio { color: #0d6efd; background: #e7f0ff; }
.bg-doc { color: #6c757d; background: #eef1f4; }
.file-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
    pointer-events: none;
}
.file-card-preview:hover .file-thumb { opacity: .88; }

.badge-status {
    font-size: .72rem;
}

@media print {
    .app-sidebar, .app-header, .app-footer, .btn, .breadcrumb, .no-print {
        display: none !important;
    }
    .app-main {
        margin: 0 !important;
    }
}