.curriculum-management-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 118px);
  min-height: 500px;
  overflow: hidden;
}

.curriculum-page-heading {
  flex: 0 0 auto;
  margin-bottom: 10px;
}

.curriculum-page-heading h2 {
  font-size: 22px;
}

.curriculum-tabs {
  flex: 0 0 auto;
  margin-bottom: 8px !important;
}

.curriculum-tabs .nav-link {
  padding: 8px 15px;
}

.curriculum-management-page .tab-content {
  flex: 1;
  min-height: 0;
}

.curriculum-management-page .tab-pane {
  height: 100%;
}

.curriculum-management-page .tab-pane.active {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.curriculum-management-page .panel {
  padding: 14px 18px;
  margin-bottom: 0;
  overflow: hidden;
}

.curriculum-pane-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.curriculum-pane-head h5 {
  margin: 0 !important;
  font-size: 18px;
}

.curriculum-pane-head .btn {
  padding: 7px 13px;
}

.curriculum-management-page .curriculum-filters {
  flex: 0 0 auto;
  gap: 10px;
  margin-bottom: 10px;
  padding: 9px 11px;
}

.curriculum-management-page .curriculum-filters .form-label {
  margin-bottom: 3px;
  font-size: 12px;
}

.curriculum-management-page .curriculum-filters .form-select {
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 13px;
}

.curriculum-table-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border-top: 1px solid #e3e6ed;
}

.curriculum-table-scroll .table {
  margin-bottom: 0;
}

.curriculum-table-scroll thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.curriculum-table-scroll .table > :not(caption) > * > * {
  padding: 8px 10px;
  vertical-align: middle;
}

.curriculum-table-scroll tbody tr {
  height: 48px;
}

.curriculum-table-scroll .content-actions {
  flex-wrap: nowrap;
}

.curriculum-table-scroll .btn-sm {
  padding: 4px 8px;
  white-space: nowrap;
}

.admin-table-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 118px);
  min-height: 500px;
  overflow: hidden;
}

.admin-table-heading {
  flex: 0 0 auto;
  margin-bottom: 10px;
}

.admin-table-heading h2 {
  font-size: 22px;
}

.admin-table-heading .btn {
  padding-top: 7px;
  padding-bottom: 7px;
}

.admin-table-page .stat-grid {
  flex: 0 0 auto;
  margin-bottom: 10px;
}

.admin-table-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0;
  padding: 12px 16px;
  overflow: hidden;
}

.admin-table-panel.admin-table-scroll,
.admin-table-panel > .admin-table-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.admin-table-page .curriculum-filters {
  flex: 0 0 auto;
  gap: 10px;
  margin-bottom: 10px;
  padding: 9px 11px;
}

.admin-table-page .curriculum-filters .form-label {
  margin-bottom: 3px;
  font-size: 12px;
}

.admin-table-page .curriculum-filters .form-select {
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 13px;
}

.admin-table-scroll .table {
  margin-bottom: 0;
}

.admin-table-scroll thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.admin-table-scroll .table > :not(caption) > * > * {
  padding: 8px 10px;
  vertical-align: middle;
}

.admin-table-scroll tbody tr {
  height: 48px;
}

.admin-table-scroll .btn-sm {
  padding: 4px 8px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .curriculum-management-page,
  .admin-table-page {
    height: calc(100vh - 106px);
  }
}
.content-upload-modal {
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
}

.content-upload-modal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.content-upload-modal .modal-header {
  min-height: 66px;
  padding: 16px 24px;
  border-color: #e8edf5;
}

.content-upload-modal .modal-title {
  font-size: 18px;
  font-weight: 750;
  color: #172033;
}

.content-upload-modal .modal-body {
  padding: 0;
  background: #f5f7fb;
}

.content-upload-modal .modal-footer {
  padding: 14px 24px;
  border-color: #e8edf5;
  background: #fff;
}

.content-upload-modal .modal-footer .btn {
  min-width: 112px;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 650;
}

.content-upload-form {
  padding: 20px;
}

.upload-form-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 22px 24px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
}

.upload-form-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -58px;
  top: -82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.upload-form-hero.pdf {
  background: linear-gradient(120deg, #991b1b, #dc2626 58%, #fb7185);
}

.upload-form-hero.media {
  background: linear-gradient(120deg, #172554, #1d4ed8 58%, #7c3aed);
}

.upload-hero-icon {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 28px;
  backdrop-filter: blur(6px);
}

.upload-form-hero > div {
  z-index: 1;
}

.upload-eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.35px;
  opacity: 0.82;
}

.upload-form-hero h4 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 750;
}

.upload-form-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.upload-form-section {
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid #e1e7f0;
  border-radius: 15px;
  background: #fff;
}

.upload-form-section:last-child {
  margin-bottom: 0;
}

.upload-section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}

.upload-section-title > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.upload-section-title h5 {
  margin: 0 0 2px;
  color: #182235;
  font-size: 14px;
  font-weight: 750;
}

.upload-section-title p {
  margin: 0;
  color: #7b879a;
  font-size: 11px;
}

.content-hierarchy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.content-hierarchy-field {
  min-width: 0;
}

.content-upload-form .form-label {
  margin-bottom: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.content-upload-form .form-control,
.content-upload-form .form-select,
.content-upload-form .input-group-text {
  min-height: 43px;
  border-color: #d8e0eb;
  border-radius: 10px;
}

.content-upload-form .input-group .input-group-text {
  border-radius: 10px 0 0 10px;
  background: #f8fafc;
  color: #64748b;
}

.content-upload-form .input-group .form-control {
  border-radius: 0 10px 10px 0;
}

.content-upload-form .form-control:focus,
.content-upload-form .form-select:focus {
  border-color: #7ba7fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.content-upload-form .searchable-picker {
  margin-bottom: 0 !important;
}

.upload-details-grid,
.source-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.source-choice-grid {
  margin-bottom: 14px;
}

.source-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 74px;
  padding: 13px;
  border: 1px solid #dce3ed;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: 0.18s ease;
}

.source-choice:hover,
.source-choice:has(input:checked) {
  border-color: #78a5fb;
  background: #f5f9ff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.source-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.source-choice-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 18px;
}

.source-choice strong,
.source-choice small {
  display: block;
}

.source-choice strong {
  color: #1e293b;
  font-size: 13px;
}

.source-choice small {
  margin-top: 2px;
  color: #7b879a;
  font-size: 11px;
}

.source-check {
  margin-left: auto;
  color: #2563eb;
  opacity: 0;
}

.source-choice:has(input:checked) .source-check {
  opacity: 1;
}

.source-input-panel {
  padding: 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
}

.upload-file-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px dashed #9eb7df;
  border-radius: 11px;
  background: #f7faff;
  cursor: pointer;
}

.upload-file-control:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.upload-file-control > i {
  color: #2563eb;
  font-size: 24px;
}

.upload-file-control strong,
.upload-file-control small {
  display: block;
}

.upload-file-control strong {
  color: #1e3a5f;
  font-size: 12px;
}

.upload-file-control small {
  margin-top: 2px;
  color: #718096;
  font-size: 11px;
}

.upload-file-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-modal-save {
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}

@media (max-width: 760px) {
  .content-upload-modal {
    width: calc(100vw - 20px);
    margin: 10px auto;
  }

  .content-upload-form {
    padding: 12px;
  }

  .content-hierarchy-grid,
  .upload-details-grid,
  .source-choice-grid {
    grid-template-columns: 1fr;
  }

  .upload-form-hero {
    padding: 18px;
  }
}

.asset-management-page {
  gap: 12px;
}

.asset-page-hero {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 106px;
  padding: 20px 22px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(23, 37, 84, 0.15);
}

.asset-page-hero::before,
.asset-page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

.asset-page-hero::before {
  width: 220px;
  height: 220px;
  right: 16%;
  top: -150px;
}

.asset-page-hero::after {
  width: 160px;
  height: 160px;
  right: -38px;
  bottom: -112px;
}

.content-hero {
  background: linear-gradient(118deg, #172554, #1d4ed8 62%, #7c3aed);
}

.exercise-hero {
  background: linear-gradient(118deg, #064e3b, #059669 62%, #14b8a6);
}

.asset-hero-copy,
.asset-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.asset-hero-copy {
  gap: 14px;
}

.asset-hero-actions {
  gap: 9px;
  flex: 0 0 auto;
}

.asset-hero-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 25px;
  backdrop-filter: blur(6px);
}

.asset-eyebrow {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.35px;
  opacity: 0.78;
}

.asset-page-hero h2 {
  margin: 0 0 3px;
  font-size: 22px;
  font-weight: 780;
}

.asset-page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.asset-page-hero .btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.asset-btn-light {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.asset-btn-light:hover,
.asset-btn-light:focus {
  border-color: #fff;
  background: #fff;
  color: #1d4ed8;
}

.asset-btn-primary {
  border: 1px solid #fff;
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}

.asset-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.exercise-hero .asset-btn-primary {
  color: #047857;
}

.asset-btn-secondary:hover,
.asset-btn-secondary:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.exercise-guide-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.exercise-guide-modal .modal-header {
  padding: 20px 24px;
  border: 0;
  background: linear-gradient(135deg, #0f3f9d, #2563eb 65%, #7c3aed);
  color: #fff;
}

.exercise-guide-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.exercise-guide-title > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 21px;
}

.exercise-guide-title h5 {
  margin: 0;
  font-weight: 800;
}

.exercise-guide-title small {
  display: block;
  margin-top: 3px;
  color: #dbeafe;
}

.exercise-guide-modal .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.9;
}

.exercise-guide-modal .modal-body {
  padding: 22px 24px 26px;
  background: #f8fbff;
}

.exercise-guide-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 12px;
  line-height: 1.7;
}

.exercise-guide-note code {
  color: #1d4ed8;
  font-weight: 700;
}

.exercise-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.exercise-guide-card {
  padding: 15px;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

.exercise-guide-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.exercise-guide-card header span {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.exercise-guide-card header code {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 11px;
  white-space: nowrap;
}

.exercise-guide-card p {
  min-height: 34px;
  margin: 0 0 10px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.exercise-guide-card pre {
  max-height: 250px;
  margin: 0;
  overflow: auto;
  padding: 13px;
  border-radius: 14px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .exercise-guide-grid {
    grid-template-columns: 1fr;
  }

  .asset-hero-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.asset-btn-primary:hover,
.asset-btn-primary:focus {
  border-color: #eaf2ff;
  background: #eaf2ff;
  color: #1e40af;
}

.user-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(150px, 0.7fr) minmax(170px, 0.85fr) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #dce8f7;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8fbff, #f3f8ff);
}

.user-filter-bar label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.user-filter-bar label > span {
  color: #526581;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.user-filter-bar .form-control,
.user-filter-bar .form-select {
  min-height: 38px;
  border-color: #cbdcf2;
  background-color: #fff;
  font-size: 12px;
}

.user-filter-count {
  align-self: center;
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e5f0ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .user-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-filter-count {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .user-filter-bar {
    grid-template-columns: 1fr;
  }
}

.asset-summary-grid {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.asset-summary-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 67px;
  padding: 11px 13px;
  border: 1px solid #e0e6ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035);
}

.asset-summary-card > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  font-size: 17px;
}

.asset-summary-card strong,
.asset-summary-card small {
  display: block;
}

.asset-summary-card strong {
  color: #172033;
  font-size: 19px;
  line-height: 1.05;
}

.asset-summary-card small {
  margin-top: 3px;
  color: #748196;
  font-size: 11px;
}

.asset-summary-card.total > span {
  background: #eaf2ff;
  color: #1d4ed8;
}

.asset-summary-card.pdf > span {
  background: #fff1f2;
  color: #dc2626;
}

.asset-summary-card.video > span {
  background: #fff7e6;
  color: #d97706;
}

.asset-summary-card.ar > span,
.asset-summary-card.types > span {
  background: #f3e8ff;
  color: #7c3aed;
}

.asset-summary-card.exercise > span {
  background: #ecfdf5;
  color: #059669;
}

.asset-summary-card.chapters > span {
  background: #ecfeff;
  color: #0891b2;
}

.asset-library-panel {
  gap: 10px;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.045);
}

.asset-panel-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.asset-panel-head h3 {
  margin: 0 0 2px;
  color: #182235;
  font-size: 16px;
  font-weight: 750;
}

.asset-panel-head p {
  margin: 0;
  color: #7b8798;
  font-size: 11px;
}

.asset-result-count {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border-radius: 18px;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.asset-filter-bar {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 1.25fr repeat(3, minmax(130px, 0.8fr));
  gap: 9px;
  padding: 10px;
  border: 1px solid #e5eaf1;
  border-radius: 12px;
  background: #f8fafc;
}

.asset-filter-bar label {
  min-width: 0;
}

.asset-filter-bar label > span {
  display: block;
  margin: 0 0 4px 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

.asset-filter-bar .form-control,
.asset-filter-bar .form-select {
  min-height: 35px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-color: #d9e1ec;
  border-radius: 9px;
  background-color: #fff;
  font-size: 11px;
}

.asset-table-scroll {
  border: 1px solid #e7ebf1;
  border-radius: 11px;
}

.asset-table thead th {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  border-bottom-color: #e4e9f0;
  color: #6b778c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.asset-table tbody tr {
  height: 58px;
  transition: background 0.16s ease;
}

.asset-table tbody tr:hover {
  background: #f8fbff;
}

.asset-name-cell,
.asset-curriculum-cell,
.asset-source-cell,
.asset-row-actions {
  display: flex;
  align-items: center;
}

.asset-name-cell {
  gap: 10px;
}

.asset-name-cell strong,
.asset-name-cell small,
.asset-curriculum-cell strong,
.asset-curriculum-cell small {
  display: block;
}

.asset-name-cell strong,
.asset-curriculum-cell strong {
  color: #1f2937;
  font-size: 11px;
  font-weight: 720;
}

.asset-name-cell small,
.asset-curriculum-cell small {
  margin-top: 2px;
  color: #8792a5;
  font-size: 11px;
}

.asset-type-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  font-size: 14px;
}

.asset-type-icon.pdf {
  background: #fff1f2;
  color: #dc2626;
}

.asset-type-icon.video {
  background: #fff7e6;
  color: #d97706;
}

.asset-type-icon.ar {
  background: #f3e8ff;
  color: #7c3aed;
}

.asset-type-icon.exercise {
  background: #ecfdf5;
  color: #059669;
}

.asset-type-badge,
.exercise-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.asset-type-badge.pdf {
  background: #fff1f2;
  color: #be123c;
}

.asset-type-badge.video {
  background: #fff7e6;
  color: #b45309;
}

.asset-type-badge.ar {
  background: #f3e8ff;
  color: #7e22ce;
}

.exercise-type-badge {
  background: #ecfdf5;
  color: #047857;
  text-transform: capitalize;
}

.asset-curriculum-cell {
  align-items: flex-start;
  flex-direction: column;
}

.asset-source-cell {
  max-width: 260px;
  gap: 6px;
  color: #718096;
  font-size: 11px;
}

.asset-source-cell i {
  flex: 0 0 auto;
  color: #64748b;
}

.asset-source-cell.html i {
  color: #2563eb;
}

.asset-source-cell span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-row-actions {
  justify-content: flex-end;
  gap: 5px;
}

.asset-delete-btn,
.asset-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.asset-edit-btn {
  border: 1px solid #d5e2fa;
  background: #f4f8ff;
  color: #1d4ed8;
}

.asset-delete-btn {
  border: 1px solid #fecdd3;
  background: #fff7f8;
  color: #be123c;
}

.asset-edit-btn:hover {
  background: #1d4ed8;
  color: #fff;
}

.asset-delete-btn:hover {
  background: #be123c;
  color: #fff;
}

.asset-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 130px;
  color: #8290a4;
  text-align: center;
}

.asset-empty-state i {
  margin-bottom: 6px;
  font-size: 24px;
}

.asset-empty-state strong,
.asset-empty-state span {
  display: block;
}

.asset-empty-state strong {
  color: #445066;
  font-size: 12px;
}

.asset-empty-state span {
  margin-top: 2px;
  font-size: 11px;
}

@media (max-width: 980px) {
  .asset-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-source-cell {
    max-width: 180px;
  }
}

@media (max-width: 760px) {
  .asset-page-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .asset-hero-actions {
    width: 100%;
  }

  .asset-hero-actions .btn {
    flex: 1;
  }

  .asset-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-filter-bar {
    grid-template-columns: 1fr;
  }
}
