/* Study Schedules Page Styles */

/* Video container styles */
.video-container video {
  position: relative;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: none;
}

.video-container > img.slider {
  z-index: 11;
}

body .justify-content-center {
  justify-content: center !important;
}

.countercorner {
  z-index: 0;
}

.btnwrap {
  margin-top: 0;
}

.btnwrap .mybtn {
  min-width: 13.4375rem;
}

#title-wrapper {
  background: transparent;
}

.counts {
  padding-bottom: 2.5rem;
}

/* Form container styles */
.form-container {
  text-align: right;
}

.custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.625rem;
  max-width: 100%;
}

.form-container h4 {
  color: var(--color-primary-dark);
  text-align: right;
  font-size: 2.0625rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
  text-align: right;
}

.form-group select {
  color: var(--color-primary-dark);
  margin-bottom: 0.625rem;
  width: 100%;
  max-width: 100%;
  height: 3.125rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 4px solid var(--color-border);
  font-size: 1.125rem;
  background-color: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.1875rem;
  text-align: right;
}

.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-group select:disabled {
  background-color: var(--color-bg-soft);
  cursor: not-allowed;
  opacity: 0.6;
}

.custom-select::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 50%;
  left: 1.875rem;
  transform: translateY(-50%);
  font-weight: 900;
  color: black;
  margin-top: -0.3125rem;
}

.btn-primary {
  margin-top: 1rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.625rem 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  width: 12.5rem;
  border-radius: 0.25rem;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--color-primary);
}

.btn-primary:disabled {
  background-color: var(--color-text-muted);
  cursor: not-allowed;
  opacity: 0.6;
}

hr {
  margin-top: 1.25rem;
  border-top: 2px solid var(--color-secondary);
  opacity: 1;
}

.calendar-one-inner {
  background-color: whitesmoke;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.calendar-one {
  padding-top: 5rem;
}

/* Schedule Table Section */
.schedule-table-section {
  padding: 2.5rem 0;
}

/* Table styles */
.research-table {
  margin-top: 1.875rem;
}

.table-responsive {
  overflow-x: auto;
}

.table-bordered {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-bordered thead {
  background-color: var(--color-primary);
  color: white;
}

.table-bordered thead th {
  padding: 0.9375rem;
  text-align: right;
  font-size: 1.125rem;
  font-weight: 600;
  border: 1px solid var(--color-border-light);
}

.table-bordered tbody td {
  padding: 0.75rem 0.9375rem;
  text-align: right;
  border: 1px solid var(--color-border-light);
  font-size: 1rem;
  color: var(--color-text-primary);
}

.table-bordered tbody tr:nth-child(even) {
  background-color: var(--color-bg-soft);
}

.table-bordered tbody tr:hover {
  background-color: var(--color-border-light);
  transition: background-color 0.3s ease;
}

/* Alert styles */
.alert {
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Responsive styles */
@media (max-width: 991px) {
  .form-container h4 {
    font-size: 1.75rem;
  }

  .form-group label {
    font-size: 1.125rem;
  }

  .form-group select {
    font-size: 1rem;
  }

  .btn-primary {
    width: 100%;
  }

  .table-bordered thead th,
  .table-bordered tbody td {
    font-size: 0.875rem;
    padding: 0.625rem;
  }
}

@media (max-width: 576px) {
  .calendar-one {
    padding-top: 2.5rem;
  }

  .calendar-one-inner {
    padding: 0.9375rem;
  }

  .form-container h4 {
    font-size: 1.5rem;
  }

  .table-bordered {
    font-size: 0.75rem;
  }

  .table-bordered thead th,
  .table-bordered tbody td {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
}

.study-schedules,
.schedule-table-section {
  overflow-x: hidden;
}

