/* Global */
body {
    background-color: #f9f9fb;
    font-family: 'Segoe UI', sans-serif;
}

/* Header */
h2.text-center {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e1e1e;
}

p.text-center {
    font-size: 1.1rem;
    color: #444;
}

/* Filters */
.row .form-control {
    border-radius: 8px;
    padding: 8px 12px;
}

/* Table Styling */
.table {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.table th {
    background-color: #f5f5f5;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.table td {
    vertical-align: middle;
    text-align: center;
}

/* File & Video Button */
.table a {
    display: inline-block;
    padding: 6px 14px;
    background-color: #0d1b2a;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.table a:hover {
    background-color: #001428;
}


/* No Data */
.table .text-center {
    color: #888;
    font-style: italic;
}

/* Pagination Container */
.custom-rounded-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.custom-rounded-pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    border: none;
    background: transparent;
    font-weight: 500;
    color: #111;
    transition: background 0.3s, color 0.3s;
}

.custom-rounded-pagination .page-item .page-link:hover {
    background-color: #e0e0e0;
}

.custom-rounded-pagination .page-item.active .page-link {
    background-color: #3b82f6;
    color: white;
    font-weight: bold;
}

.custom-rounded-pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}
/* Responsive Table Scroll Wrapper */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 70vh; /* control vertical scroll if needed */
    -webkit-overflow-scrolling: touch;
}

.table {
    min-width: 800px; /* force horizontal scroll on small screen */
    width: 100%;
    border-collapse: collapse;
}
@media (max-width: 768px) {
  .table-responsive-wrapper {
    overflow-x: auto;
  }

  .table {
    min-width: 600px;
  }
}


