/* =========================================================
   FILE: admin-repairs.css
   PROJECT: Circular Digital Bridge (CDB)
   AUTHOR: CDB Engineering Team
   LAST UPDATED: 2026-07-25
   ---------------------------------------------------------
   PURPOSE: Shared admin panel styles used across all admin
   sections (repairs, products, blogs, services, etc.).
   Contains: admin card layouts, thumbnail grids, modal
   overrides, form styles, and image preview components.
   ========================================================= */

/* ===== Admin Repairs ===== */
body {
  background: #F5F7FA;
}

.admin-repair-card {
  background: white;
  border-radius: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #E2E8F0;
}

.admin-repair-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.admin-repair-card .card-title {
  color: var(--text-dark);
  font-weight: 600;
}

.request-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #E2E8F0;
  height: 100%;
}

.request-card .card-body {
  padding: 1.5rem;
}

.feedback-panel {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 1.25rem;
  height: 100%;
}

.feedback-panel .star-rating {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.feedback-panel .star {
  transition: color 0.15s ease;
}

.feedback-panel .star.text-muted {
  color: #cbd5e1;
}

.feedback-panel .star.text-warning {
  color: #f59e0b;
}

.feedback-panel .btn-submit-feedback {
  margin-top: 0.75rem;
}

/* Repair card inside modal */
.repair-card {
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #E2E8F0;
}

.repair-card .repair-header {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.repair-card .repair-number {
  font-weight: 700;
  font-size: 1.1rem;
}

.repair-card .device-image {
  max-height: 200px;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.repair-card .device-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.repair-card .device-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.repair-card .repair-details-col {
  padding-right: 1rem;
}

.repair-card .repair-details-list ul {
  padding-left: 1rem;
}

.repair-card .repair-details-list ul ul {
  padding-left: 1.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.repair-card .repair-details-list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Feedback section */
.repair-card .feedback-col {
  padding-left: 1rem;
  border-left: 1px solid #f1f5f9;
}

.repair-card .feedback-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Smiley rating */
.repair-card .smiley-rating {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.repair-card .smiley {
  font-size: 1.75rem;
  cursor: pointer;
  transition: transform 0.15s ease;
  opacity: 0.4;
  filter: grayscale(40%);
}

.repair-card .smiley:hover {
  transform: scale(1.15);
}

.repair-card .smiley.active {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Rating slider */
.repair-card .rating-slider-container {
  margin-bottom: 1rem;
}

.repair-card .rating-slider {
  width: 100%;
  accent-color: var(--teal);
  cursor: pointer;
}

/* Feedback textarea */
.repair-card .feedback-text {
  border-radius: 0.5rem;
  border: 1px solid #E2E8F0;
  resize: vertical;
}

.repair-card .feedback-text:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.15);
}

/* Submit feedback button */
.repair-card .btn-submit-feedback {
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: 0.2s;
}

.repair-card .btn-submit-feedback:hover {
  background: #006666;
  color: white;
}

/* Responsive */
@media (max-width: 767px) {
  .repair-card .repair-details-col {
    padding-right: 0;
    margin-bottom: 1rem;
  }
  .repair-card .feedback-col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
  }
  .admin-repair-card .card-body {
    padding: 1rem;
  }
}

/* ===== Invoice Styles ===== */
.invoice-section {
  background: #fafbfc;
  border-radius: 0.75rem;
  padding: 1rem;
}

.invoice-table {
  font-size: 0.9rem;
}

.invoice-table thead th {
  background: var(--teal);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-table tbody td {
  vertical-align: middle;
  border-color: #e9ecef;
}

.invoice-table .form-control-sm {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}

.invoice-totals {
  margin-top: 0.5rem;
}

.invoice-totals > div {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.invoice-totals .fw-bold {
  color: var(--text-dark);
}

.download-invoice-btn {
  border-radius: 50px;
  font-weight: 500;
  transition: 0.2s;
}

.download-invoice-btn:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

#adminDownloadInvoiceBtn {
  border-radius: 50px;
  font-weight: 500;
}

#adminDownloadInvoiceBtn:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

/* Location & Distance */
.tech-location-section .form-control-sm {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}

.distance-display {
  text-align: center;
  padding: 1rem 0;
}

.distance-display .display-6 {
  font-size: 2rem;
}

.route-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Service type radios */
.service-type-radios .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-type-radios .form-check-input {
  margin-top: 0;
}

.service-type-radios .form-check-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

/* Location input group */
#inferLocationBtn {
  border-radius: 0 0.5rem 0.5rem 0;
}

.opacity-50 {
  opacity: 0.5;
  pointer-events: none;
}

/* Admin Products */
#adminProductList .list-group-item {
  cursor: pointer;
  transition: background 0.15s;
}

#adminProductList .list-group-item:hover {
  background: #f8f9fa;
}

#adminProductList .list-group-item.active {
  background: var(--teal);
  border-color: var(--teal);
}

#imagePreviewContainer .card {
  border: 1px solid #e2e8f0;
}

#imagePreviewContainer .card-img-top {
  border-radius: 0.5rem 0.5rem 0 0;
}

.product-form-section {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: white;
}

.product-form-section .card-header {
  border-bottom: 1px solid #f1f5f9;
  font-weight: 600;
}

#productFormCard .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

#productFormCard .form-control,
#productFormCard .form-select {
  font-size: 0.9rem;
}

#productFormCard textarea {
  resize: vertical;
}

/* ===== Admin Product Cards ===== */
.admin-product-card {
  background: white;
  border-radius: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #E2E8F0;
  cursor: pointer;
}

.admin-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.admin-product-thumb {
  position: relative;
  height: 180px;
  background: #f1f5f9;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-thumb .status-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.admin-product-thumb .stock-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.admin-product-body {
  padding: 1rem;
}

.admin-product-thumb .status-badge.st-certified { background: var(--success); color: #fff; }
.admin-product-thumb .status-badge.st-limited { background: #f59e0b; color: #fff; }
.admin-product-thumb .status-badge.st-new { background: var(--teal); color: #fff; }
.admin-product-thumb .status-badge.st-refurbished { background: #6366f1; color: #fff; }
.admin-product-thumb .status-badge.st-out-of-stock { background: #ef4444; color: #fff; }

.stock-bar {
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 0.35rem;
}

.stock-bar > span {
  display: block;
  height: 100%;
  background: var(--teal);
}

/* ===== Image Upload Preview ===== */
.image-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  color: #64748b;
  cursor: pointer;
  transition: 0.15s;
}

.image-dropzone:hover,
.image-dropzone.dragover {
  border-color: var(--teal);
  background: rgba(0, 128, 128, 0.05);
}

.image-preview-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 5px 0px;
  align-items: center;
  justify-content: space-evenly;
}

.image-preview {
  margin: 5px;
  position: relative;
  min-width: 288px;
  max-width: 350px;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview .remove-img {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
}

.image-preview .img-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.6rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  text-align: center;
}

/* ===== Admin Blog Cards ===== */
.admin-blog-card {
  background: white;
  border-radius: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #E2E8F0;
  cursor: pointer;
}

.admin-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.admin-blog-thumb {
  position: relative;
  height: 180px;
  background: #f1f5f9;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.admin-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-blog-thumb .blog-category-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--teal);
  color: #fff;
}

.admin-blog-body {
  padding: 1rem;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Admin Partners ===== */
.admin-partner-thumb {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  background-color: #f8f9fa;
}

.admin-partner-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.admin-partner-card:hover .admin-partner-thumb img {
  transform: scale(1.05);
}

.admin-partner-thumb .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-weight: 500;
  padding: 0.4em 0.75em;
}

.admin-partner-card {
  cursor: pointer;
}

.admin-partner-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.admin-partner-card .card-body p {
  flex-grow: 1;
}

/* ===== Admin Blog & Story Modal Polish ===== */
.blog-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-form-card:hover {
  border-color: #cbd5e1;
}

.blog-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.blog-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 576px) {
  .blog-type-selector {
    grid-template-columns: 1fr;
  }
}

.blog-type-option {
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.blog-type-option:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.blog-type-option.active.type-article {
  border-color: var(--teal, #008080);
  background: rgba(0, 128, 128, 0.05);
  box-shadow: 0 0 0 1px var(--teal, #008080);
}

.blog-type-option.active.type-story {
  border-color: #16a34a;
  background: rgba(22, 163, 74, 0.05);
  box-shadow: 0 0 0 1px #16a34a;
}

.blog-type-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.type-article .blog-type-icon {
  background: rgba(0, 128, 128, 0.1);
  color: var(--teal, #008080);
}

.type-story .blog-type-icon {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.blog-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.875rem;
  transition: border-color 0.2s, background 0.2s;
  height: 100%;
}

.blog-metric-card:focus-within {
  border-color: var(--teal, #008080);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.blog-metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.blog-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.blog-image-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 0.625rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.blog-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-image-item .cover-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 128, 128, 0.9);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

.blog-image-item .remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.blog-image-item .remove-btn:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.blog-image-item .uploading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.7rem;
  gap: 4px;
}

.blog-readiness-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.825rem;
}

.blog-writing-guide {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 128, 128, 0.2);
  border-left: 4px solid var(--teal, #008080);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.055), #ffffff 72%);
  color: #334155;
  font-size: 0.82rem;
}

.blog-writing-guide-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  color: #0b6663;
  font-size: 0.88rem;
  font-weight: 700;
}

.blog-writing-guide ul {
  margin: 0;
  padding-left: 1.25rem;
}

.blog-writing-guide li {
  margin: 0.25rem 0;
  line-height: 1.5;
}

.blog-writing-guide code,
.blog-format-example pre {
  color: #075e59;
}

.blog-format-example {
  margin: 0.75rem 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid #dcebe9;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.78);
}

.blog-format-example pre {
  margin: 0.35rem 0 0;
  font: inherit;
  white-space: pre-wrap;
}

.blog-preview-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #0b6663;
  font-size: 0.85rem;
  font-weight: 700;
}

.blog-article-preview {
  padding: 1rem clamp(0.85rem, 2vw, 1.5rem);
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  color: #334155;
}

.blog-preview-section + .blog-preview-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #edf1f4;
}

.blog-preview-section h4 {
  margin: 0 0 0.65rem;
  color: #172554;
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-article-preview .article-prose {
  font-size: 0.88rem;
  line-height: 1.7;
}

.blog-article-preview .article-prose p {
  margin: 0 0 0.65rem;
}

.blog-article-preview .article-step-heading {
  margin: 0.9rem 0 0.4rem;
  padding-left: 0.65rem;
  border-left: 3px solid var(--teal, #008080);
  color: #172554;
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-article-preview .article-list {
  margin: 0.25rem 0 0.75rem;
  padding-left: 1.4rem;
}

.blog-article-preview .article-list li {
  padding: 0.15rem 0;
}

.blog-article-preview .article-list li::marker {
  color: var(--teal, #008080);
}

.blog-article-preview .blog-preview-placeholder {
  color: #94a3b8;
  font-style: italic;
}

.testimonial-quote-box {
  background: #f0fdf4;
  border: 1px dashed #86efac;
  border-radius: 0.75rem;
  padding: 1rem;
}

/* ===== Admin Product Modal Polish ===== */
.product-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .product-type-selector {
    grid-template-columns: 1fr;
  }
}

.product-type-option {
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.product-type-option:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.product-type-option.active.type-laptop {
  border-color: var(--teal, #008080);
  background: rgba(0, 128, 128, 0.05);
  box-shadow: 0 0 0 1px var(--teal, #008080);
}

.product-type-option.active.type-desktop {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 1px #2563eb;
}

.product-type-option.active.type-monitor {
  border-color: #7c3aed;
  background: rgba(124, 58, 237, 0.05);
  box-shadow: 0 0 0 1px #7c3aed;
}

.product-type-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.type-laptop .product-type-icon {
  background: rgba(0, 128, 128, 0.1);
  color: var(--teal, #008080);
}

.type-desktop .product-type-icon {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.type-monitor .product-type-icon {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.product-stats-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.825rem;
}

.spec-preset-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.spec-preset-chip {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.spec-preset-chip:hover {
  background: var(--teal, #008080);
  color: #ffffff;
  border-color: var(--teal, #008080);
}

.product-spec-row {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.4rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.15s;
}

.product-spec-row:focus-within {
  border-color: var(--teal, #008080);
  background: #ffffff;
}

.product-confidential-card {
  background: #fffbf5;
  border: 1px solid #fed7aa;
  border-radius: 0.875rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* ===== Admin Services & Form System ===== */
.service-form-group {
  margin-bottom: 1.35rem;
}

.service-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.35rem;
  display: block;
}

.service-form-helper {
  font-size: 0.8125rem;
  color: #666666;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.service-field-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #666666;
}

.service-form-counter {
  font-size: 0.775rem;
  color: #888888;
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}

.admin-service-card {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  cursor: pointer;
  overflow: hidden;
}

.admin-service-card:hover {
  transform: translateY(-4px);
  border-color: #008080;
  box-shadow: 0 10px 25px rgba(0, 128, 128, 0.08) !important;
}

.admin-service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(0, 128, 128, 0.08);
  color: #008080;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  transition: all 0.2s ease;
}

.admin-service-card:hover .admin-service-icon-box {
  background: #008080;
  color: #ffffff;
  transform: scale(1.06);
}

.admin-pricing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  position: relative;
}

.admin-pricing-box .pricing-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: #008080;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #cbd5e1;
}

.admin-topic-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.2s ease;
}

.admin-topic-card:hover {
  border-color: #008080;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ===== Admin About Us System ===== */
.admin-about-card {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

.admin-about-card .card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.admin-about-card .card-body {
  padding: 1.5rem;
}

.admin-address-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.admin-address-card:hover {
  border-color: #cbd5e1;
}

.admin-contact-input-group {
  position: relative;
}

.admin-contact-input-group .input-group-text {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
  font-size: 0.9rem;
}

.admin-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.admin-metric-card:hover {
  border-color: #008080;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.05);
}

.admin-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 128, 128, 0.1);
  color: #008080;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
