.checkbox-select-wrapper {
  position: relative;
  width: 250px;
  font-family: Arial, sans-serif;
}

.checkbox-select-header {
  background: #fff;
  border: 1px solid #777;
  padding: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkbox-select-header.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.checkbox-dropdown {
  border: 1px solid #777;
  border-top: none;
  background: #fff;
  display: none;
  max-height: 180px;
  overflow-y: auto;
  padding: 5px;
}

.checkbox-dropdown.open {
  display: block;
}

.checkbox-item {
  display: block;
  padding: 4px;
  cursor: pointer;
}

.checkbox-item input {
  margin-right: 6px;
}
.page--gradation-list .main-content .region.grid-full{
  grid-template-columns:none;
}
.page--gradation-list .main-content .sidebar-grid.grid-full {
  grid-template-columns: none!important;
}

/* ---- Wrapper Grid ---- */
.views-exposed-form {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  align-items: flex-end;
}

/* ---- Control max width for each field ---- */
.views-exposed-form .form-item {
  flex: 1 1 220px;
  max-width: 280px;
}

/* ---- Labels ---- */
.views-exposed-form .form-item label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  color: #333;
}

/* ---- Input + Select ---- */
.views-exposed-form input,
.views-exposed-form select {
  width: 100%;
  padding: 9px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.2s ease-in-out;
}

.views-exposed-form input:hover,
.views-exposed-form select:hover {
  border-color: #007bff;
}

.views-exposed-form input:focus,
.views-exposed-form select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0px 0px 4px rgba(0, 123, 255, 0.3);
}

/* ---- Submit Button ---- */
.views-exposed-form .form-actions {
  flex: 0 0 auto;
}

.views-exposed-form .form-actions input[type="submit"] {
  background: #0052cc;
  color: white;
  padding: 11px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: 0.2s;
}

.views-exposed-form .form-actions input[type="submit"]:hover {
  background: #003d99;
}

/* ---- Mobile Optimized ---- */
@media (max-width: 600px) {
  .views-exposed-form .form-item,
  .views-exposed-form .form-actions {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
.bg-danger {
  color: #d9534f !important;
}
.retired-row {
  background-color: #f6f8f8  !important;
  font-weight: bold;
}
/* Apply uniform borders */
.views-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  background: white;
}

/* Header cells */
.views-table th {
  border: 1px solid #cfd4d8;
  padding: 8px 10px;
  background: #f5f7fa;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

/* Data cells */
.views-table td {
  border: 1px solid #d8dde2;
  padding: 6px 10px;
  vertical-align: middle;
}

/* Row hover effect */
.views-table tr:hover td {
  background: #f2f8ff;
}

/* Optional: alternating row shades */
.views-table tr:nth-child(even) td {
  background: #fafafa;
}
