.btn.btn-primary {
  background: rgb(146, 56, 81);
  border-color: rgb(146, 56, 81);
}

/* =========================
   GLOBAL THEME VARIABLES
========================= */
:root {
    --medium-red-color: #dc2626;
    --dark-red-color: #ba0028;
    --secondary-color: #10b981;
    --bg-color: #ffffff;
    --text-color: #1f2937;
    --ash-color: #6b7280;
    --border-col: #e5e7eb;
    --dark: #000;

    --font-family: 'Poppins', sans-serif;

    --fs-1: 2px;
    --fs-2: 4px;
    --fs-3: 6px;
    --fs-4: 8px;
    --fs-5: 10px;
    --fs-6: 12px;
    --fs-7: 14px;
    --fs-8: 16px;
    --fs-9: 18px;
    --fs-10: 20px;
    --fs-11: 22px;
    --fs-12: 24px;
    --fs-13: 26px;
    --fs-14: 28px;
    --fs-15: 30px;

    --dropdown-bg: #f7f3f3;
}


.btn.btn-primary:active:not(.btn-active),
.btn.btn-primary:focus:not(.btn-active),
.btn.btn-primary:hover:not(.btn-active) {
  background-color: rgb(146, 56, 81) !important;
  border-color: rgb(146, 56, 81) !important;
  color: #fff !important;
}

.btn.btn-success:active:not(.btn-active),
.btn.btn-success:focus:not(.btn-active),
.btn.btn-success:hover:not(.btn-active) {
  background-color: rgb(146, 56, 81) !important;
  border-color: rgb(146, 56, 81) !important;
  color: #fff !important;
}



.btn.btn-success {
  background: rgb(146, 56, 81);
  border-color: rgb(146, 56, 81);
  --bs-btn-hover-bg: rgb(146, 56, 81) !important;
}

.form-check-input:checked {
  background-color: rgb(146, 56, 81);
  border-color: rgb(146, 56, 81);
}

.text-hover-primary {
  transition: color .2s ease !important;
}

.text-hover-primary:hover {
  color: rgb(146, 56, 81) !important;
}

.text-hover-primary:hover i {
  color: rgb(146, 56, 81) !important;
}




/* Sidebar Styles */
.app-sidebar-menu {
  background: #f9f3f4;
}

.app-sidebar .app-sidebar-logo {
  background: rgb(253, 253, 253);
}

.app-sidebar .menu .menu-item .menu-link.active .menu-arrow:after {
  background: rgb(146, 56, 81) !important;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--highlighted {
  background-color: var(--dropdown-bg);
  color: var(--dark);
  transition: color .2s ease;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected {
  background-color: var(--dropdown-bg);
  color: var(--dark-red-color);
  transition: color .2s ease;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected:after {
  background-color: rgb(253, 69, 69);
}

.btn.btn-active-color-primary:hover:not(.btn-active) .svg-icon {
  color: rgb(146, 56, 81);
}

.btn.btn-active-color-primary.active .svg-icon {
  color: rgb(146, 56, 81);
}

.btn.btn-light-primary i {
  color: rgb(146, 56, 81);
}

.btn.btn-light-primary {
  color: rgb(146, 56, 81);
  background-color: rgb(238, 224, 228);
}

.btn.btn-active-primary:hover:not(.btn-active) {
  background-color: rgb(146, 56, 81) !important
}


/* Default state for menu title */
.menu-title {
  color: rgb(0, 0, 0) !important;
}

.btn.btn-active-color-primary:hover:not(.btn-active) i {
  color: rgb(146, 56, 81) !important
}

.app-sidebar .menu .menu-item .menu-link.active {
  transition: color .2s ease !important;
  background-color: #E2001D !important;
  color: white !important;
}

/* Active state for menu link and title */
.menu-link.active .menu-title {
  transition: color .2s ease, background-color .2s ease !important;
  background-color: #E2001D !important;
  color: white !important;
}

/* Additional styling for demonstration */
.menu-link {
  display: inline-block;
  padding: 10px;
  margin: 5px;
}

.active>.page-link {
  color: #fff;
  background-color: rgb(146, 56, 81) !important;
}

.page-link:hover {
  z-index: 2;
  color: rgb(146, 56, 81) !important;
  background-color: rgb(238, 224, 228) !important;
  border-color: var(--bs-pagination-hover-border-color);
}

.page-item.active .page-link:hover {
  color: white !important;
  background-color: rgb(146, 56, 81) !important;
  border-color: var(--bs-pagination-active-border-color) !important;
}

.menu-state-color .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
  color: rgb(146, 56, 81) !important;
}

.menu-state-bg .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
  background-color: rgb(238, 224, 228) !important;
  color: rgb(146, 56, 81) !important;
}

.menu-state-bg .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
  background-color: var(--kt-menu-link-bg-color-hover);
  color: var(--kt-menu-link-color-hover);
}

.custom_icon {
  font-size: 20px !important;
  padding: 1px !important;
  margin-right: 5px !important;
}

.card_arrow {
  justify-content: flex-start !important;
  align-items: baseline !important;
  gap: 10px !important;
}




html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* ✅ prevents horizontal scroll */
  background-color: #c8cccf;
  /* optional */
}

.top {
  align-items: center;
}

.log {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.forget {
  background-color: whitesmoke !important;
  height: 60%;
  margin-top: 8%;
}

.logo {
  margin-bottom: 10%;
  width: 80px;
  max-height: 50px;
  margin-left: -20%;
}

/* Container for the progress bar */
.indeterminate-progress-bar {
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  /* Background color of the bar */
  position: relative;
  overflow: hidden;
}

/* Add this to your CSS stylesheet */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black background */
  display: none;
  z-index: 9999;
  /* Make sure it's above other elements */
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid rgb(146, 56, 81);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/* The animated progress bar */
.progress {
  width: 100%;
  height: 100%;
  background-color: rgb(146, 56, 81) !important;
  /* Progress bar color */
  position: absolute;
  left: -100%;
  /* Start position outside of the container */
  animation: indeterminateAnimation 1s infinite ease-in-out;
}

/* Animation keyframes */
@keyframes indeterminateAnimation {
  0% {
    left: -100%;
    width: 100%;
  }

  50% {
    left: 0;
    width: 100%;
  }

  100% {
    left: 100%;
    width: 10%;
  }
}


@media screen and (max-width: 320px) {
  .logo {
    margin-left: -5%;
    width: 60px;
  }
}

@media screen and (max-width: 320px) {
  .forget {
    height: 50% !important;
  }
}

.common-header {
  padding-left: 0px !important;
}

.justify-content-center {
  margin-top: 20px;
}

.app-header {
  z-index: 100;
  position: fixed;
  left: 0;
  right: 0;
  top: 0
}

#kt_app_toolbar_container {
  margin-top: 50px;
}

.field-icon {
  float: right;
  margin-right: 15px;
  margin-top: -25px;
  position: relative;
  z-index: 2;
}

.ql-container {
  height: 4% !important;
}

.draft {
  background-color: orange !important;
  color: white;
}

.close {
  background-color: green !important;
  color: white;
}

.next,
.preview {
  background-color: blue !important;
  color: white;
}

.timeline-label .timeline-item {
  margin-bottom: 4rem !important;
}

.truncate {
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.description {
  height: 100% !important;
  max-height: 200px !important;
}

#searchInput:focus {
  border-color: var(--dark-red-color) !important;
  /* Turns border red on focus */
  outline: none;
  /* Remove default outline */
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2);
  /* Optional: subtle red glow */
}

.toast-notification {
  position: fixed;
  top: 25px;
  right: 25px;
  padding: 14px 20px;
  color: #fff;
  font-size: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999999 !important;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(40px);
    opacity: 0;
  }
}

#filterToggleBtn {
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

#filterToggleBtn:hover {
  background-color: var(--dark-red-color);
  color: #fff;
}

#exportBtn {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  position: relative;
}

#exportBtn:hover {
  background-color: var(--dark-red-color);
  color: #fff;
}

#exportDropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: -10px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  min-width: 150px;
}

.export-option {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
  border-bottom: 1px solid #f3f4f6;
}

.export-option:hover {
  background: #f9fafb
}

.export-option i {
  font-size: 16px;
  color: #059669;
}

.export-option span {
  font-size: 12px;
  color: #374151;
  font-weight: 500;
}

/* ===== Filter Section ===== */
#filterSection {
  margin-bottom: 20px;
}

.filter-wrapper {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
}

.filter-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ===== Filter Dropdown ===== */
.filter-dropdown {
  position: relative;
}

.filter-dropdown-btn {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.filter-dropdown-btn:hover {
  background: var(--dark-red-color);
  color: #fff;
}

/* ===== Dropdown Menu ===== */
.filter-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 180px;
  max-height: 300px;
  overflow-y: auto;
}

.filter-dropdown-menu.active {
  display: block;
}

/* ===== Filter Count Badge ===== */
.filter-count {
  background: var(--dark-red-color);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Show count when active */
.filter-count.active {
  display: flex;
}

/* ===== Active Filters Container ===== */
#activeFiltersContainer {
  margin-bottom: 20px;
}

.active-filters-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.active-filters-label {
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}

/* ===== Filter Chips ===== */
#activeFiltersChips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.filter-chip {
  background: #fbbf24;
  color: #000;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-chip button {
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.filter-chip button:hover {
  color: #8a001e;
}

/* ===== Clear All Button ===== */
#clearAllFiltersBtn {
  background: transparent;
  border: none;
  color: var(--dark-red-color);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;
}

#clearAllFiltersBtn:hover {
  color: #8a001e;
}

.search-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.search-box {
  flex: 1;
  position: relative;
}

#searchInput {
  width: 100%;
  padding: 10px 15px 10px 40px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.table-box-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-container {
  margin-bottom: 30px;
}

.main-title {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.main-subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 20px;
}

.table-container {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
}

#dataTable {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background-color: white;
  margin: 0 !important;
  padding: 0 !important;
}

#tableHeaderRow {
  background: var(--dark-red-color);
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.table-header {
  padding: 15px;
  text-align: left;
  white-space: nowrap;
}

#dataTable tbody td {
  padding: 12px 15px;
  /* Adjust as needed */
  vertical-align: middle;
  box-sizing: border-box;
  font-size: 12px;
  border-bottom: 1px solid #f0f0f0;
}

#dataTable thead th {
  position: relative;
  border-bottom: 1px solid #dedede;
}

#dataTable thead {
  display: table-header-group;
}

.date-filter {
  min-width: 180px;
}

#filterFromDate,
#filterToDate {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.filter-option {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-option:hover {
  background: #f3f4f6;
}

.filter-option input {
  cursor: pointer;
}

.filter-btns {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.create-button {
  padding: 10px 20px;
  background: var(--dark-red-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dt-pagination-custom button {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dt-pagination-custom button i {
  color: #000000ff;
  font-size: 10px;
}

.dt-pagination-custom button:hover:not(:disabled) {
  background: var(--dark-red-color);
  border-color: #9ca3af;
  color: #ffffff;
}

.dt-pagination-custom button:hover:not(:disabled) i {
  color: #ffffff;
}

.dt-pagination-custom button:disabled {
  opacity: 0.8;
  cursor: pointer;
  background: #f9fafb;
  color: #9ca3af;
}

.dt-pagination-custom button:disabled i {
  color: #9ca3af;
}

.dt-pagination-custom span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  margin: 0 12px;
}

#paginationControls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#paginationControls button {
  padding: 4px 12px;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

#paginationControls button:hover:not(:disabled) {
  background: var(--dark-red-color);
  border-color: #9ca3af;
  color: #ffffff;
}

#paginationControls button:hover:not(:disabled) i {
  color: #ffffff;
}

#paginationControls button:disabled {
  opacity: 0.8;
  cursor: pointer;
  background: #f9fafb;
  color: #9ca3af;
}

#paginationControls button:disabled i {
  color: #9ca3af;
}

#paginationControls button i {
  font-size: 10px;
  color: #000;
}

#paginationInfo {
  color: #6b7280;
  font-size: 13px;
}

#paginationControls span {
  color: #6b7280;
  margin: 0 4px;
}

.comment-search {
  position: relative;
  flex: 1;
  max-width: 400px;
  margin-left: 20px;
}

.comment-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.pagination-bottom-area {
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
}

.dt-info-custom {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
}

.dt-pagination-custom {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ===== Modal Overlay ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  overflow-y: auto;
}

/* ===== Modal Wrapper ===== */
.modal-wrapper {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ===== Modal Card ===== */
.modal-card {
  background: #ffffff;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== Header ===== */
.modal-header {
  padding: 20px 20px 0 20px;
  position: relative;
  border-bottom: none;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-red-color);
  margin: 0;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

/* ===== Body ===== */
.modal-body {
  padding: 10px 20px 20px 20px;
}

/* ===== Sections ===== */
.modal-section {
  margin-bottom: 24px;
}

.modal-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #000000;
  margin-bottom: 8px;
}

.modal-content-box {
  background: #f9fafb;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #111827;
  border: 1px solid #d1d5db;
}

.description-box {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
}

/* ===== Labels ===== */
.modal-labels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== View Comments Button ===== */
.view-comments-btn {
  width: 100%;
  background: var(--dark-red-color);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease;
}

.view-comments-btn:hover {
  background: #9a0020;
}

/* ===== Confirm Modal Fix ===== */
.confirm-modal {
  border-radius: 10px;
}

/* Header */
.confirm-modal .modal-title {
  font-size: 22px;
  font-weight: 600;
}

/* Body */
.confirm-modal .modal-body {
  padding: 20px 24px;
  font-size: 14px;
  color: #374151;
}

/* Footer */
.confirm-modal .modal-footer {
  padding: 16px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Buttons */
.confirm-modal .btn {
  min-width: 80px;
}


.modal-card-lg {
  max-width: 500px;
}

/* ===== Body ===== */
.modal-body-lg {
  padding: 32px;
}

/* ===== Description ===== */
.modal-desc {
  margin-bottom: 20px;
}

.modal-heading {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.modal-subtext {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* ===== Textarea ===== */
.modal-field {
  margin-bottom: 24px;
}

.modal-textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}

.modal-textarea:focus {
  border-color: #dc2626;
}

/* ===== Actions ===== */
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ===== Buttons ===== */
.btn-cancel {
  background: #ffffff;
  color: #513737;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-cancel:hover {
  background: #f9fafb;
}

.btn-danger {
  background: #f12020;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.6;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.btn-danger:not(:disabled) {
  cursor: pointer;
  opacity: 1;
}

.btn-danger:not(:disabled):hover {
  background: #dc2626;
}

.connection-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.back-button {
  background: #f3f4f6;
  color: #374151;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
  gap: 8px;
  cursor: pointer;
  border: 1px solid #d1d5db;
  transition: background 0.2s ease;
}

.back-button:hover {
  background: var(--dark-red-color);
}

.back-button:hover svg {
  color: white;
}

/* ===============================
   POST DETAILS CARD
================================ */
.post-card {
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

/* Sections */
.post-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.post-section:last-child {
  border-bottom: none;
}

/* Labels */
.post-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #000000;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Title & Description */
.post-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.post-description {
  font-size: 14px;
  line-height: 1.7;
}

/* Labels */
.post-labels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-labels span {
  background: #fbbf24;
  color: #000;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ===============================
   POST STATS
================================ */
.post-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.stat-label {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

/* Icons */
.stat-icon {
  font-size: 18px !important;
}

.stat-icon.like {
  color: #ef4444;
}

.stat-icon.comment {
  color: #3b82f6;
}

.stat-icon.view {
  color: #10b981;
}

.stat-icon.pin {
  color: #f59e0b;
}

.role-tag {
  padding: 0.375rem 0.75rem;
  background: #f3f4f6;
  color: #4b5563;
  border-radius: 0.375rem;
  font-size: 12px;
}

.user-role-pagination {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

/* Active */
.status-active {
  background-color: #dcfce7;
  color: #16a34a;
}

/* Inactive */
.status-inactive {
  background-color: #fee2e2;
  color: #dc2626;
}

.report-count-badge {
  background-color: #ffedd4;
  color: #ca3500;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
}


.report-count-badge:hover {
  background-color: #ffd7a8;
  cursor: pointer;
}

.alert-icon {
  color: #ca3500;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--dark-red-color);
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.detail-item {
    margin-bottom: 15px;
}

.section-title {
    font-size: 16px;
    margin-bottom: 20px;
}

.profile-picture-container {
    margin-bottom: 20px;
}

#alumniDetailsModal .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#alumniDetailsModal .modal-header {
    border-bottom: none;
}

#alumniDetailsModal .modal-footer {
    border-top: 1px solid #dee2e6;
}

.details-grid {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.details-grid::-webkit-scrollbar {
    width: 6px;
}

.details-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.details-grid::-webkit-scrollbar-thumb {
    background: var(--dark-red-color);
    border-radius: 3px;
}

.details-grid::-webkit-scrollbar-thumb:hover {
    background: #9a0022;
}

.create-page-container {
  padding: 26px;
}

.create-page-header {
  margin-bottom: 26px;;
}

.create-page-header .main-head {
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  margin-bottom: 0.5rem;
}

.main-head a {
  color: var(--ash-color);
  text-decoration: none; 
  font-size: var(--fs-10);
}

.main-head h1 {
  font-size: var(--fs-15); 
  font-weight: 700; 
  color: var(--dark); 
  margin: 0;
}

.create-page-header .main-subhead {
  font-size: var(--fs-7); 
  color: var(--ash-color); 
  margin-left: 2rem;
}

.create-page-form {
  background: white; 
  border-radius: 0.75rem; 
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
  padding: 2rem; 
  width: 80%;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block; 
  font-size: var(--fs-7); 
  font-weight: 600; 
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%; 
  border: 1px solid var(--border-col); 
  border-radius: 0.5rem; 
  padding: 0.75rem; 
  font-size: var(--fs-6);
  color: var(--dark); 
  transition: border-color 0.3s;
}

.field-error {
  color:var(--medium-red-color); 
  font-size: var(--fs-6); 
  margin-top: 0.25rem; 
  display: block;
  letter-spacing: 0.5px;;
}

#status-label {
  font-size: var(--fs-6); 
  font-weight: 600; 
  transition: color 0.3s;
}