.stat-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.hide-mobile {
  display: block;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

.led-text {
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  color: #4da6ff;
  letter-spacing: 1.5px;

  text-shadow:
    0 0 3px rgba(77, 166, 255, 0.6),
    0 0 6px rgba(77, 166, 255, 0.5);

  animation: smartGlow 2s ease-in-out infinite alternate;
}

@keyframes smartGlow {
  from {
    text-shadow:
      0 0 2px rgba(77, 166, 255, 0.4),
      0 0 4px rgba(77, 166, 255, 0.4);
  }
  to {
    text-shadow:
      0 0 4px rgba(77, 166, 255, 0.7),
      0 0 8px rgba(77, 166, 255, 0.6);
  }
}

.title_p {
  border-bottom: 2px solid black;
}

.font_icon {
  font-size: 20px;
  color: blueviolet;
}
.font_icon i {
  color: blueviolet;
}

/*  */
/* ══════════════════════════════
   Welcome Bar
══════════════════════════════ */
.welcome-bar {
  background: #fff;
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 16px rgba(109, 40, 217, 0.07);
  border: 1px solid #f0ebff;
}

.welcome-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.welcome-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #364574, rgb(126, 97, 173));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.welcome-title {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
  font-weight: 400;
}

.welcome-name {
  font-size: 15px;
  font-weight: 700;
  color: #1e1b4b;
  margin: 0;
}

.btn-import {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #364574, #6d28d9);
  border: none;
  border-radius: 9px;
  padding: 9px 20px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(109, 40, 217, 0.3);
  transition: all 0.2s;
}

.btn-import:hover {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 5px 16px rgba(109, 40, 217, 0.4);
  transform: translateY(-1px);
}

/* ══════════════════════════════
   Form Card
══════════════════════════════ */
.form-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0ebff;
  box-shadow: 0 4px 28px rgba(109, 40, 217, 0.08);
  overflow: hidden;
}

.form-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-bottom: 1px solid #e8e5f5;
  background: linear-gradient(135deg, #fafbff 0%, #f8f7fc 100%);
  border-radius: 16px 16px 0 0;
}

.form-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.form-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #364574 0%, #6d28d9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.form-card-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
}

.form-card-title {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    90deg,
    #364574 0%,
    #4f63a4 20%,
    #5e68c1 40%,
    #8d5cbe 55%,
    #626bbc 70%,
    #4f63a4 85%,
    #364574 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: title-shimmer 5s ease-in-out infinite;
}

.form-card-title::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  background: inherit;
  background-size: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: title-shimmer 5s ease-in-out infinite;
  filter: blur(8px) opacity(0.4);
  z-index: -1;
}

.form-card-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 10px;
  background: linear-gradient(90deg, #494198, #ac75e3, transparent);
  animation: title-bar 5s ease-in-out infinite;
}

@keyframes title-shimmer {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 150% center;
  }
  100% {
    background-position: 0% center;
  }
}

@keyframes title-bar {
  0%,
  100% {
    width: 30%;
    opacity: 0.6;
  }
  50% {
    width: 70%;
    opacity: 1;
  }
}

.form-card-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Search Container */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.search-input {
  opacity: 0;
  width: 0;
  padding: 0;
  border: none;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  color: #4f63a4;
}

.search-input::placeholder {
  color: #a5b4d1;
}

.search-container.active .search-input {
  opacity: 1;
  width: 220px;
  padding: 10px 16px 10px 12px;
  background: #fff;
  border: 2px solid #e8e5f5;
  border-radius: 10px;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(79, 99, 164, 0.08);
}

.search-container.active .search-input:focus {
  outline: none;
  border-color: #6d28d9;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
}

.search-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: #f0ecff;
  color: #6d28d9;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-btn:hover {
  background: #e8deff;
  border-color: #d4b8ff;
}

.search-container.active .search-btn {
  background: linear-gradient(135deg, #364574 0%, #6d28d9 100%);
  color: #fff;
  border-color: #6d28d9;
}

.search-container.active .search-btn:hover {
  background: linear-gradient(135deg, #2d3a5f 0%, #5a23b8 100%);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3);
}

/* Add New Button */
.btn-add-new {
  padding: 10px 22px;
  background: linear-gradient(135deg, #364574 0%, #6d28d9 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.25);
  flex-shrink: 0;
  text-decoration: none;
}

.btn-add-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
  background: linear-gradient(135deg, #2d3a5f 0%, #5a23b8 100%);
}

.btn-add-new:active {
  transform: translateY(0);
}

.btn-add-new i {
  font-size: 16px;
}
/* Filter Button Style */
.btn-filter {
  padding: 10px 22px;
  background: linear-gradient(
    135deg,
    #0d9488 0%,
    #14b8a6 100%
  ); /* Teal gradient */
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.25);
  flex-shrink: 0;
  text-decoration: none;
}

.btn-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
  background: linear-gradient(135deg, #0f766e 0%, #0f9f94 100%);
}
/* Responsive */
@media (max-width: 768px) {
  .form-card-title {
    font-size: 22px;
  }

  .search-container.active .search-input {
    width: 180px;
  }

  .btn-add-new {
    padding: 9px 18px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .form-card-header {
    padding: 12px 16px;
  }

  .form-card-left {
    gap: 12px;
  }

  .form-card-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .form-card-title {
    font-size: 18px;
  }

  .search-container.active .search-input {
    width: 140px;
    padding: 8px 12px 8px 10px;
  }
}

.form-card-body {
  padding: 28px;
}

/* ══════════════════════════════
   Section Labels
══════════════════════════════ */
.form-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.form-section-label i {
  font-size: 10px;
  color: #364574;
  background: #f3f0ff;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-section-label span {
  font-size: 15px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #364574;
  white-space: nowrap;
}

.form-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #e9d5ff, transparent);
}

/* ══════════════════════════════
   Field Labels
══════════════════════════════ */
.field-label {
  font-size: 13.5px !important;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tag-optional {
  font-size: 10px;
  font-weight: 400;
  color: #a78bfa;
  background: #f5f3ff;
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  padding: 1px 8px;
}

/* ══════════════════════════════
   Input Group — Icon Left Style
══════════════════════════════ */
.input-group-text {
  width: 42px;
  justify-content: center;
  background-color: #f3f0ff;
  border: 1.5px solid #ede9fe;
  border-right: none;
  border-radius: 10px 0 0 10px !important;
  color: #364574;
  transition: all 0.2s;
}

.input-group-text i {
  font-size: 15px;
  color: #364574;
  transition:
    font-size 0.2s ease,
    color 0.2s ease;
}
/* Base plus button style */
.input-group-text2 {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff; /* white background for contrast */
  border: 1px solid #5aa4f3; /* blue border */
  border-radius: 10px !important;
  color: #5a9adf;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Icon inside button */
.input-group-text2 i {
  font-size: 16px;
  color: #007bff;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

/* Hover effects */
.input-group-text2:hover {
  background-color: #007bff;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.input-group-text2:hover i {
  transform: scale(1.2);
  color: #ffffff;
}

/* Active/click effect */
.input-group-text2:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Icon grows when input is focused */
.input-group:focus-within .input-group-text i {
  font-size: 20px;
  color: #6d28d9;
}

.form-control-a {
  font-size: 12.5px;
  color: #080808;
  background-color: #fafafe;
  border: 1.5px solid #ede9fe;
  border-left: none;
  border-radius: 0 10px 10px 0 !important;

  padding-left: 13px;
  height: 42px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.form-control-a:hover {
  border-color: #c4b5fd;
  background-color: #fff;
}

.form-control-a:hover + .input-group-text,
.input-group:hover .input-group-text {
  border-color: #c4b5fd;
  background-color: #ede9fe;
}

.form-control-a:focus {
  border-color: #364574;
  background-color: #fff;
  box-shadow: none;
  outline: none;
}

.input-group:focus-within .input-group-text {
  border-color: #364574;
  background-color: #ede9fe;
  color: #6d28d9;
}

.input-group:focus-within .form-control-a {
  border-color: #364574;
  background-color: #fff;
  box-shadow: 0 0 0 3.5px rgba(139, 92, 246, 0.1);
}

.form-control-a::placeholder {
  color: #c4b5fd;
  font-size: 13px;
}

select.form-control-a {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238B5CF6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea.form-control-a {
  height: auto;
  resize: vertical;
  line-height: 1.65;
  border-radius: 0 10px 10px 0 !important;
}

/*  */

.form-control-a1 {
  font-size: 12.5px;
  color: #080808;
  background-color: #fafafe;
  border: 1.5px solid #ede9fe;

  border-radius: 0 10px 10px 0 !important;

  padding-left: 13px;
  height: 42px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.form-control-a1:hover {
  border-color: #c4b5fd;
  background-color: #fff;
}

.form-control-a1:hover + .input-group-text,
.input-group:hover .input-group-text {
  border-color: #c4b5fd;
  background-color: #ede9fe;
}

.form-control-a1:focus {
  border-color: #364574;
  background-color: #fff;
  box-shadow: none;
  outline: none;
}

.input-group:focus-within .input-group-text {
  border-color: #364574;
  background-color: #ede9fe;
  color: #6d28d9;
}

.input-group:focus-within .form-control-a1 {
  border-color: #364574;
  background-color: #fff;
  box-shadow: 0 0 0 3.5px rgba(139, 92, 246, 0.1);
}

.form-control-a1::placeholder {
  color: #c4b5fd;
  font-size: 13px;
}

select.form-control-a1 {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238B5CF6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea.form-control-a1 {
  height: auto;
  resize: vertical;
  line-height: 1.65;
  border-radius: 0 10px 10px 0 !important;
}

/* ══════════════════════════════
   Form Actions
══════════════════════════════ */
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px dashed #ede9fe;
}

.btn-form-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: #6b7280;
  background: #ffff;
  border: 1.5px solid #a4adbf;
  border-radius: 15px;
  padding: 9.8px 44px;
  /* height: 20px; */
  cursor: pointer;
  transition: all 0.2s;
}
.btn-form-reset:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #374151;
}
.btn-form-save {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: #7c5cd6;
  background: #f4f1fc;
  border: 1px solid #e6dffb;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn-form-save:hover {
  background: #ece5fa;
  border-color: #d9cdf5;
}

.btn-form-save:active {
  background: #e3d9f6;
}

.btn-form-save .dbs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.btn-form-save:hover .dbs-icon {
  transform: rotate(360deg);
}

/*  */

/* Card Title */
.card-title {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Table Enhancements */
.table1-hover tbody tr:hover {
  background-color: #f1f8ff; /* soft hover effect */
  transition: 0.3s;
}
.custom-thead th {
  background-color: #364574 !important; /* your color */
  color: #fff !important; /* text color */
}
.table1 {
  border: 0.5px solid #c2cae2;
}
.table1 th,
.table1 td {
  vertical-align: middle; /* center align content */
  padding: 0.5rem 1rem; /* more breathing room */
  font-size: 0.9rem;
  line-height: 1.4;
}
.table th,
.table td {
  vertical-align: middle; /* center align content */
  padding: 0.75rem; /* more breathing room */
  font-size: 0.9688rem;
  line-height: 1.4;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-weight: 400;
}

/* Profile Images */
.table1 td img {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* circular */
  object-fit: cover;
}

/* Client Info */
.table1 td .info-label {
  font-weight: 600;
  color: #483a3a;
  display: inline-block;
  min-width: 150px; /* fixed width to align values */
}

.table1 td .info-value {
  color: #333;
}

/* Financial Info */
.table1 td strong {
  display: inline-block;
  min-width: 140px; /* align labels */
  color: #555;
}

.table1 td div {
  margin-bottom: 2px; /* small spacing between lines */
}

/* Action Buttons */
.action-buttons button {
  font-size: 0.85rem;
  padding: 4px 10px;
  margin-right: 5px;
}

/* Responsive Table */
.table1-responsive {
  overflow-x: auto;
}

/* Optional: Stripe effect */
.table1-striped tbody tr:nth-of-type(odd) {
  background-color: #fafafa;
}

/* Profile image */
.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
  display: block;
}
.table1 td img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}
/* Center everything */
.image-upload-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hide the default file input */
.file-input {
  display: none;
}
.table1 th {
  padding: 0.75rem;
}
.table1 td {
  padding: 0.55rem 0.75rem;

  border-top: 1px solid #dee2e6;
}

.table1-sm th {
  width: 60%;
  font-weight: 500;
  background-color: #f8f9fa;
}

.table1-sm td {
  text-align: right;
  font-weight: 600;
}

/*  */
.custom-summary-table th,
.custom-summary-table td {
  font-size: 14px !important;
  padding: 5px 10px !important;
}
.custom-summary-table tr:first-child th,
.custom-summary-table tr:first-child td {
  border-top: none !important;
  padding-top: 10px !important;
}

.custom-summary-table tr:last-child th,
.custom-summary-table tr:last-child td {
  border-bottom: none !important;
  padding-bottom: 10px !important;
}

.custom-summary-table,
.custom-summary-table th,
.custom-summary-table td {
  background-color: transparent !important; /* remove all BG */
  color: inherit; /* keep text color */
}
/*  */
.btn-youtube.btn-social-icon-text {
  padding: 0 1.5rem 0 0;
  background: #ea5955;
  border-radius: 10px !important;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.25);
}

.btn-youtube.btn-social-icon-text i {
  background: #e52d27;
  padding: 0.75rem;
  display: inline-block;
  margin-right: 1rem;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  font-weight: bold;
  font-size: 19px;
  padding: 8px;
}

/*  */
.modal .modal-dialog {
  margin-top: 15px !important;
}
.search-date-range-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Reusable small datepicker */
.datepicker-width {
  width: 130px; /* adjust as needed */
  padding: 8px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
/* ══════════════════════════════════════════════
   DASHBOARD STAT CARDS - PREMIUM ANIMATIONS v2
══════════════════════════════════════════════ */
/* CSS Variable for easy timing control */

:root {
  --value-resize-duration: 9s;
}

/* Base Stat Card */
.stat-card {
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  padding: 0 !important;
  transform: translateZ(0);
  background-size: 200% 200%;
  cursor: pointer;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover::after {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 50%
  );
}

/* Professional modern hover effect - Premium Border Glow */
.stat-card:hover {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.3),
    0 0 50px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(-12px);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.stat-card:hover {
  animation-duration: 6s;
}

/* Animated gradient background overlay */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  animation: slideGlow 3s ease-in-out infinite;
  z-index: 0;
  opacity: 0;
  border-radius: 16px;
}

.stat-card:hover::before {
  opacity: 1;
  animation: slideGlow 1.2s ease-in-out;
}

@keyframes slideGlow {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.stat-card .card-body {
  position: relative;
  z-index: 2;
}

/* Icon Container - Smooth subtle animation */
.stat-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconBounce 4s ease-in-out infinite;
}

@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.stat-icon-wrapper i {
  font-size: 38px;
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

@keyframes iconRotateContinuous {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.stat-card:hover .stat-text .stat-value {
  text-shadow:
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(255, 255, 255, 0.15);
  animation: valueGlowPulse 0.7s ease-out;
}

@keyframes valueGlowPulse {
  0% {
    text-shadow:
      0 4px 12px rgba(0, 0, 0, 0.25),
      0 0 15px rgba(255, 255, 255, 0.15);
  }
  50% {
    text-shadow:
      0 6px 20px rgba(0, 0, 0, 0.35),
      0 0 30px rgba(255, 255, 255, 0.5);
  }
  100% {
    text-shadow:
      0 6px 20px rgba(0, 0, 0, 0.35),
      0 0 25px rgba(255, 255, 255, 0.4),
      0 0 40px rgba(255, 255, 255, 0.15);
  }
}

.stat-card:hover .stat-icon-wrapper i {
  transform: scale(1.2) rotateZ(15deg);
  filter: brightness(1.4) drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
  animation: iconPulseOnHover 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconPulseOnHover {
  0% {
    transform: scale(1) rotateZ(0deg);
  }
  50% {
    transform: scale(1.25) rotateZ(20deg);
  }
  100% {
    transform: scale(1.2) rotateZ(15deg);
  }
}

/* Enhanced pulse effect on icon */
.stat-icon-wrapper::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 16px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  animation: iconPulseAdvanced 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 1;
}

@keyframes iconPulseAdvanced {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.15;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
}

/* Title animation - elegant slide (no glow) */
.stat-title {
  animation: titleSlideIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-title {
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.stat-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  animation: underlineExpand 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes underlineExpand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Value animation - continuous smooth resize pulse with CSS variable control */
.stat-value {
  animation:
    valueElastic 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both,
    valuePulseResize var(--value-resize-duration)
      cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s infinite !important;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  transform-origin: center;
}

@keyframes valueElastic {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
  75% {
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes valuePulseResize {
  0% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.08);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.06);
  }
  60% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* Subtitle animation - fade and slide in */
.stat-subtitle {
  animation: subtitleFadeSlide 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
  opacity: 0.9;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes subtitleFadeSlide {
  from {
    opacity: 0;
    transform: translateY(15px) translateX(-10px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0) translateX(0);
  }
}

/* Icon rounded styling - enhanced */
.stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.stat-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  animation: iconShimmer 3s infinite;
}

@keyframes iconShimmer {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

.stat-card:hover .stat-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 8px rgba(255, 255, 255, 0.4),
    0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 35px rgba(255, 255, 255, 0.25);
}

/* Text container styling */
.stat-text {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: textContainerSlideIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0s both;
}

@keyframes textContainerSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-text .stat-title {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-text .stat-value {
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  margin: 4px;
  padding-right: 5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.stat-text .stat-subtitle {
  font-size: 13px;
  opacity: 0.85;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Container wrapper animation */
.stat-card-wrapper {
  animation: containerScaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes containerScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stagger animation for multiple cards */
.stat-card-wrapper:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-card-wrapper:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-card-wrapper:nth-child(3) {
  animation-delay: 0.3s;
}

.stat-card-wrapper:nth-child(4) {
  animation-delay: 0.4s;
}

/* ══════════════════════════════════════════════
   RESPONSIVE DESIGN - PROFESSIONAL v2
══════════════════════════════════════════════ */

@media (max-width: 768px) {
  .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .stat-icon-wrapper i {
    font-size: 32px;
  }

  .stat-text .stat-value {
    font-size: 30px;
  }

  .stat-text .stat-title {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .stat-text .stat-subtitle {
    font-size: 12px;
  }

  .stat-card:hover {
    box-shadow:
      0 18px 45px rgba(0, 0, 0, 0.2),
      0 0 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
  }
}

@media (max-width: 480px) {
  .stat-card {
    border-radius: 14px !important;
  }

  .stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .stat-icon-wrapper i {
    font-size: 28px;
  }

  .stat-text .stat-value {
    font-size: 26px;
  }

  .stat-text .stat-title {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .stat-text .stat-subtitle {
    font-size: 11px;
  }

  .stat-card:hover {
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.2),
      0 0 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
  }
}

/* ══════════════════════════════════════════════
   PROFESSIONAL VARIANTS
══════════════════════════════════════════════ */

/* Subtle glow effect on hover */
.stat-card:hover {
  animation-duration: 6s;
}

/* Counter animation */
.stat-value.counter {
  font-variant-numeric: tabular-nums;
}

/* Default: show large button, hide small button */
.btn-sm-screen {
  display: none;
}

/* Hide Client list text on small screens */
@media (max-width: 576px) {
  /* Hide large YouTube button, show small icon-only button */
  .btn-lg-screen {
    display: none !important;
  }

  .btn-sm-screen {
    display: inline-block !important;
  }

  /* Hide Client list text */
  .client-text {
    display: none !important;
  }
  .add-new-text {
    display: none !important;
  }

  /* Optional: reduce padding for small icon buttons */
  .btn-sm-screen {
    padding: 0.5rem;
  }
}

.modal .modal-dialog .modal-content .modal-header {
  padding: 15px 20px;
  justify-content: space-between;
}
.modal .modal-dialog .modal-content .modal-body {
  padding: 20px 20px;
}
.modal .modal-dialog .modal-content .modal-footer {
  padding: 7px 31px;
}
.swal2-container {
  z-index: 9999999 !important;
}
.ui-datepicker {
  z-index: 99999999 !important;
}

.text-title {
  font-size: 15px !important;
}
.card .card-body {
  padding: 1.25rem 1rem !important;
}

.row > * {
  padding-right: calc(var(--bs-gutter-x) * 0.2);
  padding-left: calc(var(--bs-gutter-x) * 0.2);
}

.nav-pills.nav-pills-custom .nav-link.active {
  background: linear-gradient(135deg, #374672 0%, #895bd3 100%) !important;
  color: white;
  font-weight: bold;
}
.color-picker-input {
  width: 50px;
  height: 38px;
  padding: 2px;
  border: 1px solid #ced4da;
  border-right: none;
  border-radius: 4px 0 0 4px;
  cursor: pointer;
}

.account-box {
  font-size: 14px;
  line-height: 1.5;
}

.account-box span {
  color: #222;
}

.account-box .fw-bold {
  font-weight: 600;
}
/*  */
.input-group .select2-container {
  flex: 1;
}

.input-group .select2-container .select2-selection--single {
  height: 40px;
  border-radius: 0 !important;
  border-color: #ced4da;
  display: flex;
  align-items: center;
}

/*  */
.dbs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dbs-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px 12px 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #364574;
  background: #fff;
  border: none;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow:
    0 2px 8px rgba(54, 69, 116, 0.1),
    inset 0 0 0 1.5px rgba(54, 69, 116, 0.2);
  transition:
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  animation: dbs-wave-float 3s ease-in-out infinite;
}

@keyframes dbs-wave-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.dbs-btn::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #364574;
  opacity: 0.25;
  animation: dbs-particle-blink 2s ease-in-out infinite;
}

@keyframes dbs-particle-blink {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.8);
    opacity: 0.7;
  }
}

.dbs-shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  animation: dbs-shine-sweep 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dbs-shine-sweep {
  0% {
    left: -80%;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    left: 130%;
    opacity: 0;
  }
  100% {
    left: 130%;
    opacity: 0;
  }
}

.dbs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(54, 69, 116, 0.09);
  font-size: 11px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

@keyframes dbs-icon-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0px rgba(54, 69, 116, 0.25);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(54, 69, 116, 0.12);
  }
}

.dbs-btn:hover {
  color: #fff;
  background: #364574;
  box-shadow:
    0 8px 24px rgba(54, 69, 116, 0.35),
    0 0 0 2px rgba(54, 69, 116, 0.5),
    inset 0 0 0 1.5px transparent;
  transform: translateY(-3px) scale(1.03);
  animation: none;
}

.dbs-btn:hover .dbs-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: rotate(12deg) scale(1.15);
  animation: none;
  box-shadow: none;
}

.dbs-btn:hover::before {
  opacity: 0;
  animation: none;
}

.dbs-btn:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 768px) {
  .dbs-btn {
    font-size: 12px;
    padding: 8px 14px 8px 9px;
  }

  .dbs-icon {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
}

/*  */
@keyframes calcFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Screen only (responsive scroll) ── */
@media screen {
  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .table1 {
    width: max-content !important;
    min-width: 100% !important;
    table-layout: auto !important;
  }
  .table1 th {
    border: 1px solid #e7d4d4 !important;
    text-align: center !important;
  }

  .table1 td {
    border: 1px solid #ddd !important;
    text-align: center !important;
    vertical-align: middle !important;
  }
}

/*  */
.content-wrapper {
  /* background: #eee; */
  position: relative;
  overflow: hidden;
  background-color: transparent !important;
}
.page-body-wrapper {
  background-image: url("/assets/images/body-bg-light.avif");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  min-height: 100vh;
}

/* Normal desktop */
@media (min-width: 991px) {
  .page-body-wrapper {
    background-size: calc(100% - 255px) auto;
    background-position: top right;
  }

  /* Sidebar icon only */
  .sidebar-icon-only .page-body-wrapper {
    background-size: 100% auto; /* অথবা calc(100% - 70px) */
    background-position: top right;
  }
}

#cwWeb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.content-wrapper > *:not(#cwWeb) {
  position: relative;
  z-index: 1;
}
/*  */
.dbs-btn2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: #7c5cd6;
  background: #f4f1fc;
  border: 1px solid #e6dffb;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.dbs-btn2:hover {
  background: #ece5fa;
  border-color: #d9cdf5;
}

.dbs-btn2:active {
  background: #e3d9f6;
}

.dbs-btn2 .dbs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.dbs-btn2:hover .dbs-icon {
  transform: rotate(360deg);
}

@media (max-width: 550px) {
  .dbs-btn2 {
    font-size: 0;
    padding: 7px 10px 7px 16px;
  }
}
/* new dashboard   */

.stat-card-v2 {
  position: relative;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 110px;
}
.stat-card-v2 .stat-icon-v2 {
  position: absolute;
  top: -14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-card-v2 .stat-label-v2 {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 8px;
}
.stat-card-v2 .stat-amount-v2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #1f2937;
}
.stat-card-v2 .stat-change-v2 {
  font-size: 12px;
  margin: 0;
  color: #6b7280;
}
.stat-card-v2 .stat-change-v2 .up {
  color: #16a34a;
  font-weight: 600;
}
.stat-card-v2 .stat-change-v2 .down {
  color: #dc2626;
  font-weight: 600;
}

/* color variants */
.stat-card-v2.v2-blue {
  background: linear-gradient(135deg, #e6f1fb 0%, #fff 55%, #e6f1fb 100%);
}
.stat-card-v2.v2-blue .stat-icon-v2 {
  border-color: #85b7eb;
  color: #185fa5;
}

.stat-card-v2.v2-green {
  background: linear-gradient(135deg, #eaf3de 0%, #fff 55%, #eaf3de 100%);
}
.stat-card-v2.v2-green .stat-icon-v2 {
  border-color: #97c459;
  color: #3b6d11;
}

.stat-card-v2.v2-red {
  background: linear-gradient(135deg, #fcebeb 0%, #fff 55%, #fcebeb 100%);
}
.stat-card-v2.v2-red .stat-icon-v2 {
  border-color: #f09595;
  color: #a32d2d;
}

.stat-card-v2.v2-purple {
  background: linear-gradient(135deg, #eeedfe 0%, #fff 55%, #eeedfe 100%);
}
.stat-card-v2.v2-purple .stat-icon-v2 {
  border-color: #afa9ec;
  color: #3c3489;
}

/* magic card */
/* ===== Growth Stat Card ===== */
.growth-stat-card,
.growth-stat-card * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.growth-stat-card {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 292;
  border-radius: 3px;
  border: 1.5px rgb(245, 242, 242) solid;
  box-shadow: 0 10px 28px rgba(90, 90, 160, 0.14);
  font-family: "Segoe UI", Arial, sans-serif;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  /* overflow intentionally NOT hidden here — icon ring needs to sit outside the card */
}

.growth-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(90, 90, 160, 0.2);
}

/* background + rounded-corner clipping lives on its own layer,
   separate from the card box, so the icon ring above can overflow freely */
.gsc-clip {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  overflow: hidden;
}

.gsc-bg {
  position: absolute;
  inset: 0;
}
.gsc-bg svg {
  display: block;
  width: 100%;
  height: 100%;
}
.gsc-fill-base {
  fill: var(--gsc-base);
}
.gsc-fill-light {
  fill: var(--gsc-light);
}

/* icon badge */
.gsc-icon-wrap {
  position: absolute;
  right: 8%;
  top: -10%;
  width: 18%;
  aspect-ratio: 1;
  z-index: 3; /* keep this modest — 3 is enough since it only needs to sit above .gsc-clip and .gsc-body */
}
.gsc-icon-ring {
  position: absolute;
  left: -8%;
  top: -12%;
  width: 116%;
  height: 116%;
  border-radius: 50%;
  background: var(--gsc-accent);
}
.gsc-icon-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(90, 90, 160, 0.18);
}
.gsc-icon-circle i {
  font-size: 30px;
  color: var(--gsc-accent);
}

/* text body */
.gsc-body {
  position: relative;
  z-index: 2;
  padding: 7% 8% 0;
}
.gsc-label {
  font-size: 18px;
  color: #7483a5;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 2px;
}
.gsc-value {
  font-size: 26px;
  font-weight: 800;
  color: #052a40;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

/* footer / view more */
.gsc-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 8% 6%;
  display: flex;
  justify-content: flex-end;
}
.gsc-viewmore {
  font-size: 15px;
  color: #052a40;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  cursor: pointer;
}
.gsc-viewmore:hover {
  color: var(--gsc-accent);
}

/* Custom Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 10px;
  padding: 3px 12px;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;

  border-radius: 10px;

  white-space: nowrap;
  transition: 0.2s ease-in-out;
}

/* Primary */
.status-badge.primary {
  color: #4f63a4;
  background: #e7f1ff;
  border-color: #b6d4fe;
}

/* Secondary */
.status-badge.secondary {
  color: #495057;
  background: #f1f3f5;
  border-color: #d8dde3;
}

/* Success */
.status-badge.success {
  color: #146c43;
  background: #d1f7e6;
  border-color: #86e0b1;
}

/* Danger */
.status-badge.danger {
  color: #b02a37;
  background: #fde2e4;
  border-color: #f5a5ad;
}

/* Warning */
.status-badge.warning {
  color: #8a5a00;
  background: #fff3cd;
}
/* Info */
.status-badge.info {
  color: #087990;
  background: #d9f5fb;
  border-color: #8edff0;
}

/* Light */
.status-badge.light {
  color: #6c757d;
  background: #ffffff;
  border-color: #dee2e6;
}

/* Dark */
.status-badge.dark {
  color: #ffffff;
  background: #495057;
  border-color: #495057;
}
/* ── Document Upload Modal ── */
.docm-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  height: 100%;
  background: #fafbfc;
}
.docm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  /* justify-content: space-between; ← remove, so view-btn stays beside title */
}
.docm-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: #1f2937;
  margin: 0;
}
.docm-title i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #635dd5;
  border-radius: 6px;
  font-size: 18px;
}
.docm-view-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(135deg, #5650d5, #8952e7);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
  transition: all 0.2s ease;
}
.docm-view-btn:hover {
  background: linear-gradient(135deg, #4338ca, #6d28d9);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.45);
}
.docm-card .form-control {
  font-size: 13.5px;
}
.docm-hint {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: #9ca3af;
}
.docm-hint strong {
  color: #6b7280;
}

/*  */
.table-primary td {
  font-size: 15px !important;
  font-weight: bold;
}
