/* Custom styles for Haramain Store */

/* Task list view — compress standard filters into a single row */
.task-list-filters .standard-filter-section {
    flex-wrap: nowrap !important;
    overflow-x: auto;
}
.task-list-filters .standard-filter-section .form-group {
    min-width: 0 !important;
    width: auto !important;
    flex: 1 1 0 !important;
    max-width: none !important;
}
.task-list-filters .standard-filter-section .form-group .form-control {
    min-width: 80px;
}

/* Job Application Exam - video title + counter layout in card header */
.card-header.d-flex.justify-content-between.align-items-center {
  white-space: nowrap; /* keep header content on one line */
}

.card-header #video-title {
  white-space: nowrap;         /* keep title on one line */
  overflow-x: auto;            /* horizontal scroll when too long */
  overflow-y: hidden;
  display: block;              /* make the title itself the scroll container */
  max-width: calc(100% - 70px); /* leave room for the counter */
}

.card-header #video-counter {
  white-space: nowrap;  /* prevent counter from wrapping */
  margin-left: 0.5rem;
}
