@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --primary-gold: #d4af37;
  --primary-dark-gold: #b8952e;
  --primary-light-gold: #fdfbf5;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-gold: rgba(212, 175, 55, 0.35);
  --gold-glow: rgba(212, 175, 55, 0.2);
  --success: #10b981;
  --info: #3b82f6;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

/* Responsive Containers */
.app-container {
  width: 100%;
  max-width: 820px;
  margin: 28px auto;
  padding: 0 16px;
}

.dashboard-container {
  width: 100%;
  max-width: 1280px;
  margin: 20px auto;
  padding: 0 20px;
}

/* Card System */
.clean-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 32px;
  margin-bottom: 22px;
}

.gold-accent-top {
  border-top: 5px solid var(--primary-gold);
}

/* Header & Brand */
.header-brand {
  text-align: center;
  margin-bottom: 22px;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-gold);
  margin-bottom: 12px;
}

.logo-wrapper img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 5px;
  line-height: 1.3;
}

.brand-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.badge-code {
  background: #0f172a;
  color: #fbbf24;
  font-family: monospace;
  font-size: 13.5px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--primary-gold);
  display: inline-block;
  direction: ltr;
}

.badge-type {
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  min-height: 44px; /* Touch friendly standard */
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-dark-gold) 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c7a22e 0%, #a48223 100%);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark-gold);
  border: 2px solid var(--primary-gold);
}

.btn-outline:hover {
  background: var(--primary-light-gold);
}

.btn-sm {
  padding: 6px 14px;
  min-height: 36px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* Form Controls */
.form-group {
  margin-bottom: 18px;
  text-align: right;
  width: 100%;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  min-height: 44px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 15px; /* 15px+ prevents iOS Safari zoom */
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Target Identification Banner in Survey */
.target-identity-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--primary-gold);
  color: var(--primary-dark-gold);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

/* Questions in Survey */
.question-block {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.question-block:hover {
  border-color: var(--border-gold);
}

.question-block.answered {
  border-color: var(--primary-gold);
  background: #fffefb;
}

.question-header {
  margin-bottom: 14px;
}

.question-title-text {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.question-number-badge {
  width: 28px;
  height: 28px;
  background: var(--primary-light-gold);
  color: var(--primary-dark-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 800;
  border: 1px solid var(--primary-gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.question-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 6px;
  margin-right: 38px;
  line-height: 1.5;
}

.required-star {
  color: #ef4444;
  margin-right: 4px;
}

/* Rating Scale Options (5-Star / Likert) */
.rating-options-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.rating-option-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  min-height: 70px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.rating-option-item input[type="radio"] {
  display: none;
}

.rating-option-item .emoji {
  font-size: 22px;
  margin-bottom: 4px;
}

.rating-option-item .text {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

.rating-option-item:hover {
  border-color: var(--primary-gold);
  background: var(--primary-light-gold);
}

.rating-option-item.selected {
  border-color: var(--primary-gold);
  background: #fdfbf5;
  box-shadow: 0 2px 8px var(--gold-glow);
}

.rating-option-item.selected .text {
  color: var(--primary-dark-gold);
}

/* Choice Options (Multiple Choice List) */
.choices-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.choice-option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  min-height: 48px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 14.5px;
  font-weight: 600;
  user-select: none;
}

.choice-option-item input[type="radio"] {
  accent-color: var(--primary-gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.choice-option-item:hover {
  border-color: var(--primary-gold);
  background: var(--primary-light-gold);
}

.choice-option-item.selected {
  border-color: var(--primary-gold);
  background: #fffdf8;
  color: var(--primary-dark-gold);
}

/* Progress Bar */
.progress-container {
  position: sticky;
  top: 12px;
  z-index: 99;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-gold), var(--primary-dark-gold));
  width: 0%;
  border-radius: 10px;
  transition: width 0.25s ease;
}

/* Admin Tabs (Horizontal scroll on small screens) */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.admin-tabs::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 9px 18px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  font-family: inherit;
  flex-shrink: 0;
}

.tab-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-dark-gold);
  background: var(--primary-light-gold);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark-gold));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px var(--gold-glow);
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.kpi-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gold);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light-gold);
  color: var(--primary-dark-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kpi-details .kpi-num {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.kpi-details .kpi-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Tables & Horizontal Scroll */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  margin-top: 10px;
}

.custom-table {
  width: 100%;
  min-width: 600px; /* Ensures table doesn't get unreadably squished on mobile */
  border-collapse: collapse;
  font-size: 14px;
}

.custom-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1.5px solid var(--border-color);
  text-align: right;
  white-space: nowrap;
}

.custom-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.custom-table tr:hover {
  background-color: #fafbfc;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 420px;
  width: 100%;
  padding: 24px;
  text-align: center;
}

/* ========================================================================= */
/* 📱 MEDIA QUERIES: Tablet & Mobile Breakpoints */
/* ========================================================================= */

/* Tablet (Screens < 992px) */
@media (max-width: 991px) {
  .app-container {
    max-width: 720px;
    padding: 0 14px;
  }

  .dashboard-container {
    padding: 0 16px;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rating-options-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }

  .rating-option-item .text {
    font-size: 12px;
  }
}

/* Mobile Devices (Screens < 768px) */
@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .app-container, .dashboard-container {
    padding: 0 12px;
    margin: 14px auto;
  }

  .clean-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .brand-title {
    font-size: 20px;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  .logo-wrapper {
    padding: 8px 12px;
  }

  .logo-wrapper img {
    max-height: 52px;
  }

  /* Question card adjustments */
  .question-block {
    padding: 16px 14px;
    margin-bottom: 16px;
  }

  .question-title-text {
    font-size: 15px;
  }

  .question-desc {
    margin-right: 0;
    margin-top: 8px;
    font-size: 12.5px;
  }

  /* Rating options on mobile: 2-column or stacked grid so tap area is large */
  .rating-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .rating-option-item:last-child:nth-child(odd) {
    grid-column: span 2; /* If 5 items, the 5th item spans full width */
  }

  .rating-option-item {
    padding: 10px 8px;
    min-height: 56px;
    flex-direction: row;
    gap: 8px;
  }

  .rating-option-item .emoji {
    font-size: 20px;
    margin-bottom: 0;
  }

  .rating-option-item .text {
    font-size: 13px;
  }

  /* Choice questions on mobile */
  .choice-option-item {
    padding: 10px 12px;
    font-size: 13.5px;
  }

  /* Top Nav in Dashboard */
  .top-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }

  .top-nav > div:last-child {
    display: flex;
    justify-content: stretch;
    width: 100%;
  }

  .top-nav > div:last-child a {
    flex: 1;
    text-align: center;
  }

  /* Universal Link Banner */
  .universal-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }

  .universal-banner > div:last-child {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .universal-banner input {
    width: 100% !important;
    min-width: 100% !important;
  }

  .universal-banner .btn {
    width: 100%;
  }

  /* KPI grid on small mobile */
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kpi-card {
    padding: 14px 16px;
  }

  .kpi-details .kpi-num {
    font-size: 20px;
  }

  .kpi-details .kpi-label {
    font-size: 12px;
  }

  /* Form grids on mobile */
  .responsive-form-grid {
    grid-template-columns: 1fr !important;
  }

  /* Target identity pill */
  .target-identity-pill {
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 16px;
  }
}

/* Extra small devices (Screens < 380px) */
@media (max-width: 379px) {
  .brand-title {
    font-size: 18px;
  }

  .rating-options-grid {
    grid-template-columns: 1fr;
  }

  .rating-option-item:last-child:nth-child(odd) {
    grid-column: span 1;
  }
}

/* ==========================================================================
   Fullscreen Motivational Welcome Gate & Privacy Assurance Pill
   ========================================================================== */
.fullscreen-gate-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 48px) clamp(16px, 3vw, 32px);
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08) 0%, transparent 65%),
              linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  width: 100%;
}

.gate-split-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 44px);
  width: 100%;
  max-width: 1120px;
  align-items: center;
}

.gate-welcome-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gate-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gold);
  width: fit-content;
  color: #0f172a;
  font-weight: 700;
  font-size: 13.5px;
}

.gate-hero-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.gate-hero-title span {
  color: #b8952e;
  position: relative;
}

.gate-hero-desc {
  font-size: clamp(14.5px, 1.1vw, 16px);
  color: #475569;
  line-height: 1.85;
}

.motivational-quote-card {
  background: #ffffff;
  border-inline-start: 4px solid var(--primary-gold);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  font-style: normal;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
  border: 1px solid var(--border-color);
  border-inline-start: 4px solid var(--primary-gold);
}

.gate-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.gate-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.75);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.gate-feature-icon {
  font-size: 22px;
  flex: none;
  margin-top: 2px;
}

.gate-feature-text strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 2px;
}

.gate-feature-text small {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  display: block;
}

.gate-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-color);
  border-top: 5px solid var(--primary-gold);
  padding: clamp(24px, 4vw, 36px);
}

.code-entry-box {
  background: #fdfbf5;
  border: 1.5px dashed var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 18px;
  text-align: center;
}

.code-input-lg {
  text-align: center;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 800;
  letter-spacing: 3px;
  font-family: Consolas, Monaco, monospace;
  padding: 14px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  width: 100%;
}

.code-input-lg:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
  outline: none;
}

.privacy-assurance-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-inline-start: 4px solid #10b981;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: #334155;
  margin-top: 14px;
  text-align: right;
  line-height: 1.6;
}

.privacy-assurance-pill strong {
  color: #0f172a;
}

@media (max-width: 900px) {
  .gate-split-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gate-welcome-box {
    text-align: center;
    align-items: center;
  }
  .gate-brand-badge {
    margin-inline: auto;
  }
  .gate-features-list {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .motivational-quote-card {
    text-align: right;
  }
}

/* ==========================================================================
   Google Forms-Style Survey Builder & Theme Customizer
   ========================================================================== */
.gf-builder-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.gf-question-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-inline-start: 5px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.gf-question-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.gf-question-card.inactive {
  opacity: 0.65;
  background: #f8fafc;
  border-inline-start-color: #94a3b8;
}

.gf-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.gf-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gf-order-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light-gold);
  color: var(--primary-dark-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.gf-question-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.gf-question-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.gf-preview-box {
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.gf-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.gf-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Dynamic Option Rows for Choices / Radio / Checkboxes */
.dynamic-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.dynamic-option-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dynamic-option-bullet {
  color: var(--primary-dark-gold);
  font-size: 16px;
  user-select: none;
}

.btn-remove-option {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-remove-option:hover {
  background: #fca5a5;
  color: #991b1b;
}

.btn-add-option-dashed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdfbf5;
  border: 1.5px dashed var(--border-gold);
  color: var(--primary-dark-gold);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-add-option-dashed:hover {
  background: var(--primary-light-gold);
}

/* Theme Customizer Color Swatches */
.color-swatches-grid {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0;
}

.color-swatch-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s ease;
}

.color-swatch-item.active,
.color-swatch-item:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px #0f172a;
}

/* Live Preview Simulator */
.preview-modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.preview-simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0f172a;
  color: #ffffff;
}

.device-switcher-pill {
  display: inline-flex;
  background: #1e293b;
  border-radius: 20px;
  padding: 4px;
  gap: 4px;
}

.device-switch-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.device-switch-btn.active {
  background: var(--primary-gold);
  color: #0f172a;
}

.preview-iframe-wrapper {
  flex: 1;
  background: #f1f5f9;
  padding: 20px;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 520px;
}

.preview-iframe-container {
  width: 100%;
  max-width: 860px;
  height: 600px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid #cbd5e1;
  transition: all 0.3s ease;
  overflow: hidden;
}

.preview-iframe-container.mobile-mode {
  max-width: 390px;
  height: 660px;
  border: 10px solid #1e293b;
  border-radius: 36px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.preview-iframe-element {
  width: 100%;
  height: 100%;
  border: none;
}

/* Question-by-Question Deep Analytics Styles */
.per-question-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.per-question-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-stat-item {
  margin-bottom: 12px;
}

.choice-stat-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #334155;
}

.choice-stat-track {
  height: 10px;
  background: #f1f5f9;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.choice-stat-fill {
  height: 100%;
  border-radius: 5px;
  background: var(--primary-gold);
  transition: width 0.6s ease;
}

.text-feedback-list {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-inline-end: 4px;
}

.text-feedback-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #1e293b;
  position: relative;
}

.text-feedback-date {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 6px;
  display: block;
}

/* ========================================================================= */
/* 📊 Executive IT Operations Dashboard (Matching Reference Image) */
/* ========================================================================= */
.it-ops-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 24px;
  margin-bottom: 25px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.it-ops-title-block {
  margin-bottom: 20px;
}

.it-ops-main-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.it-ops-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.it-ops-row-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.7fr;
  gap: 18px;
  margin-bottom: 18px;
}

.it-ops-row-bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
  gap: 18px;
  margin-bottom: 20px;
}

.it-ops-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.it-ops-card-header {
  margin-bottom: 14px;
}

.it-ops-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.it-ops-accent-line {
  height: 3px;
  border-radius: 2px;
  background: var(--primary-gold, #d4af37);
  width: 48px;
  margin-top: 6px;
}

.it-ops-accent-line.dark {
  background: #1e293b;
}

.it-ops-accent-line.gold {
  background: var(--primary-gold, #d4af37);
}

.it-ops-accent-line.full {
  width: 100%;
}

/* Donut widget layout */
.donut-with-callouts {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  position: relative;
  flex: 1;
}

.donut-callout {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
}

.donut-callout .callout-label {
  color: #64748b;
  margin-bottom: 2px;
}

.donut-callout .callout-value {
  font-size: 16px;
  font-weight: 800;
}

.donut-callout.green .callout-value,
.donut-callout.gold .callout-value {
  color: var(--primary-dark-gold, #b8952e);
}

.donut-callout.dark .callout-value {
  color: #1e293b;
}

.donut-center-stat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.donut-center-stat .stat-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}

.donut-center-stat .stat-number {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}

/* Hero KPI Analyst Card */
.it-ops-hero-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
}

.it-hero-number {
  font-size: 48px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin: 12px 0 8px 0;
  letter-spacing: -1px;
}

.it-hero-subtext {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  max-width: 200px;
  line-height: 1.5;
}

/* Legend items matching image */
.it-ops-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.it-ops-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.it-legend-box {
  width: 14px;
  height: 10px;
  border-radius: 2px;
}

.it-legend-box.green,
.it-legend-box.gold { background: var(--primary-gold, #d4af37); }
.it-legend-box.dark { background: #1e293b; }
.it-legend-box.gray { background: #94a3b8; }

.it-ops-footer-note {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 14px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
}

@media (max-width: 1024px) {
  .it-ops-row-top {
    grid-template-columns: 1fr 1fr;
  }
  .it-ops-row-top > div:last-child {
    grid-column: span 2;
  }
  .it-ops-row-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .it-ops-row-top {
    grid-template-columns: 1fr;
  }
  .it-ops-row-top > div:last-child {
    grid-column: span 1;
  }
  .it-hero-number {
    font-size: 38px;
  }
}

/* ========================================================================= */
/* 📋 LUXURY RESPONSIVE EVALUATIONS TABLE & CARDS STYLING */
/* ========================================================================= */

.eval-section-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 14px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
}

.eval-section-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37 0%, #b8952e 50%, #f59e0b 100%);
}

.eval-header-block {
  padding: 20px 24px 16px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.eval-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.eval-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.eval-main-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eval-count-badge {
  background: var(--primary-light-gold, #fdfbf5);
  color: var(--primary-dark-gold, #b8952e);
  border: 1.5px solid var(--border-gold, #d4af37);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

.eval-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Control Toolbar */
.eval-toolbar {
  padding: 14px 24px;
  background: #fafbfc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.eval-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}

.eval-search-input-wrap {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.eval-search-input-wrap input {
  width: 100%;
  padding: 9px 38px 9px 14px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  font-size: 13px;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #ffffff;
}

.eval-search-input-wrap input:focus {
  border-color: var(--primary-gold, #d4af37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
  outline: none;
}

.eval-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.eval-filter-select {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  font-size: 13px;
  background: #ffffff;
  color: #334155;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.eval-filter-select:focus {
  border-color: var(--primary-gold, #d4af37);
  outline: none;
}

.eval-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.eval-view-switch {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.eval-view-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.eval-view-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.eval-action-link-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
}

.eval-action-link-btn.export {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

.eval-action-link-btn.export:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.eval-action-link-btn.print {
  background: var(--primary-light-gold, #fdfbf5);
  color: var(--primary-dark-gold, #b8952e);
  border-color: var(--border-gold, #d4af37);
}

.eval-action-link-btn.print:hover {
  background: var(--primary-gold, #d4af37);
  color: #ffffff;
}

/* Custom Table Responsive Area */
.eval-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.eval-table-scroll::-webkit-scrollbar {
  height: 8px;
}

.eval-table-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.eval-table-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.eval-table-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold, #d4af37);
}

/* Table Style */
.eval-table {
  width: 100%;
  min-width: 950px;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: right;
}

.eval-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
  padding: 13px 14px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: -0.2px;
}

.eval-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  vertical-align: middle;
  transition: background-color 0.15s ease;
}

.eval-table tbody tr:hover td {
  background-color: #fdfbf5;
}

/* Specialized Table Badges */
.eval-id-pill {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: monospace;
}

.eval-target-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eval-target-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #f1f5f9;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.eval-target-avatar.dept { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.eval-target-avatar.branch { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.eval-target-avatar.person { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }

.eval-target-info {
  display: flex;
  flex-direction: column;
}

.eval-target-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 13.5px;
  line-height: 1.25;
}

.eval-target-tag {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.eval-code-royal {
  display: inline-block;
  font-family: 'Consolas', monospace;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fdfbf5;
  color: #b8952e;
  border: 1.5px solid #d4af37;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.eval-pill-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.eval-pill-rating.opt-excellent { background: rgba(16, 185, 129, 0.12); color: #065f46; border: 1.5px solid #10b981; }
.eval-pill-rating.opt-vgood     { background: rgba(59, 130, 246, 0.12); color: #1e40af; border: 1.5px solid #3b82f6; }
.eval-pill-rating.opt-good      { background: rgba(245, 158, 11, 0.14); color: #92400e; border: 1.5px solid #f59e0b; }
.eval-pill-rating.opt-fair      { background: rgba(249, 115, 22, 0.14); color: #9a3412; border: 1.5px solid #f97316; }
.eval-pill-rating.opt-poor      { background: rgba(239, 68, 68, 0.12); color: #991b1b; border: 1.5px solid #ef4444; }

.eval-choice-chip {
  display: inline-block;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
}

.eval-notes-box {
  background: #f8fafc;
  border-right: 3px solid #cbd5e1;
  padding: 6px 10px;
  border-radius: 0 6px 6px 0;
  font-size: 12.5px;
  color: #475569;
  max-width: 200px;
  line-height: 1.4;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eval-date-col {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.eval-date-main {
  font-weight: 700;
  font-size: 12px;
  color: #334155;
}

.eval-date-time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
}

.eval-btn-inspect {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.eval-btn-inspect:hover {
  background: var(--primary-light-gold, #fdfbf5);
  border-color: var(--primary-gold, #d4af37);
  color: var(--primary-dark-gold, #b8952e);
}

/* ========================================================================= */
/* 📱 CARDS VIEW (FOR MOBILE, TABLETS, OR USER PREFERENCE) */
/* ========================================================================= */

.eval-cards-grid {
  display: none; /* activated when mode === 'cards' */
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding: 20px 24px;
}

.eval-card-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.eval-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  border-color: var(--border-gold, #d4af37);
}

.eval-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.eval-card-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eval-card-qas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.eval-card-qa-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
}

.eval-card-q-title {
  color: #475569;
  font-weight: 700;
  max-width: 60%;
  line-height: 1.3;
}

.eval-card-note-block {
  background: #fffbeb;
  border-right: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #78350f;
  margin-bottom: 14px;
  line-height: 1.4;
}

.eval-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
}

/* Detail Modal Styles */
.eval-detail-sheet {
  background: #ffffff;
  border-radius: var(--radius-lg, 14px);
  max-width: 700px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: right;
  border-top: 5px solid var(--primary-gold, #d4af37);
  padding: 24px;
}

.eval-detail-qa-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}

.eval-detail-qa-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  background: #fafbfc;
}

.eval-detail-q-header {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.eval-detail-q-desc {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 10px;
}

/* Responsiveness tweaks */
@media (max-width: 768px) {
  .eval-header-block {
    padding: 16px;
  }
  .eval-toolbar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .eval-toolbar-right,
  .eval-toolbar-left {
    width: 100%;
    justify-content: space-between;
  }
  .eval-search-input-wrap {
    max-width: 100%;
  }
  .eval-cards-grid {
    padding: 14px;
    grid-template-columns: 1fr;
  }
}


