body {
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #0f172a;
      color: white;
      display: grid;
      grid-template-columns: 250px 1fr;
      min-height: 100vh;
    }
    .sidebar {
      background: #1e293b;
      padding: 30px 20px;
      border-right: 1px solid #334155;
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
    }
    .sidebar-header { text-align: center; margin-bottom: 40px; }
    .sidebar-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
    .sidebar-menu { list-style: none; padding: 0; margin: 0; }
    .sidebar-menu li { margin-bottom: 15px; }
    .sidebar-menu a {
      color: #e2e8f0;
      text-decoration: none;
      display: block;
      padding: 10px 15px;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    .sidebar-menu a:hover { background: #334155; color: #3b82f6; }
    .sidebar-menu a.active { background: #3b82f6; color: white; }
    .main-content {
      padding: 40px;
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      box-sizing: border-box;
    }
    h1 { text-align: center; margin-bottom: 40px; font-size: 32px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
    h2 { text-align: center; font-size: 24px; margin-bottom: 20px; color: #e2e8f0; }

    @font-face {
      font-family: 'FuturexScosf';
      src: url('/static/fonts/FuturexScosf.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
  }

.font-heading {
  font-family: 'FuturexScosf', sans-serif;
}

    .dashboard { display: flex; flex-direction: column; gap: 40px; width: 100%; }
    .card {
      background: #1e293b;
      padding: 30px;
      border-radius: 20px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.3);
      transition: all 0.3s ease;
      cursor: pointer;
      border: 1px solid #334155;
      width: 100%;
      box-sizing: border-box;
    }
    .card:hover { transform: scale(1.01); box-shadow: 0 10px 20px rgba(0,0,0,0.4), 0 0 0 1px #3b82f6; }
    .chart-container { height: 350px; position: relative; margin-top: 20px; width: 100%; }
    .detailed-metrics { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; }
    .overall-gauge-container {
      background: #1e293b;
      padding: 30px;
      border-radius: 20px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.3);
      border: 1px solid #334155;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
      transition: all 0.3s ease;
    }
    .overall-gauge-container:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.4), 0 0 0 1px #3b82f6; }
    .overall-gauge-title { text-align: center; font-size: 22px; margin-bottom: 20px; color: #e2e8f0; }
    #overallGauge { height: 200px; width: 100%; max-width: 500px; margin: 0 auto; }
    .overall-gauge-footer { text-align: center; margin-top: 20px; font-size: 14px; color: #94a3b8; }
    .no-reviews { color: #64748b; font-style: italic; font-size: 14px; text-align: center; margin-top: 10px; }
    .export-btn {
      display: block;
      background: linear-gradient(to bottom, #3b82f6, #2563eb);
      color: white;
      padding: 12px 24px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      margin: 40px auto 0;
      font-size: 16px;
      font-weight: 500;
      box-shadow: 0 4px 6px rgba(0,0,0,0.2);
      transition: all 0.2s ease;
      width: 200px;
      text-align: center;
    }
    .export-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 10px rgba(0,0,0,0.3);
      background: linear-gradient(to bottom, #2563eb, #1d4ed8);
    }
    .category-gauges {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 20px;
      width: 100%;
      box-sizing: border-box;
    }
    .gauge-item {
      background: #1e293b;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.2);
      border: 1px solid #334155;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 300px;
      transition: all 0.3s ease;
      box-sizing: border-box;
    }
    .gauge-item:hover { transform: scale(1.02); box-shadow: 0 6px 12px rgba(0,0,0,0.3); }
    .gauge-title { text-align: center; margin-bottom: 15px; font-size: 16px; font-weight: 500; color: #e2e8f0; }
    .gauge-count { text-align: center; font-size: 14px; margin-top: 25px; color: #94a3b8; padding-bottom: 10px; }
    .comments-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 20px;
      width: 100%;
      box-sizing: border-box;
    }
    .comment-card {
      background: #334155;
      border-radius: 12px;
      padding: 20px;
      position: relative;
      border-left: 4px solid #4ade80;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      min-height: 150px;
      box-sizing: border-box;
    }
    .comment-card.improvement {
      border-left: 4px solid #ef4444;
    }
    .comment-card:hover { transform: scale(1.02); box-shadow: 0 8px 16px rgba(0,0,0,0.4); }
    .comment-label {
      position: absolute;
      top: -10px;
      right: 15px;
      background: rgba(76, 175, 80, 0.15);
      padding: 5px 12px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 600;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
      color: #4ade80;
      border: 1px solid #4ade80;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .comment-card.improvement .comment-label {
      background: rgba(239, 68, 68, 0.15);
      color: #ef4444;
      border: 1px solid #ef4444;
    }
    .comment-text {
      font-style: italic;
      color: #e2e8f0;
      line-height: 1.6;
      font-size: 14px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .comment-item {
      margin-bottom: 10px;
    }
    .toggle-comments {
      background: rgba(255, 255, 255, 0.1);
      border: none;
      color: #94a3b8;
      padding: 5px 10px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 12px;
      margin-top: auto;
      align-self: flex-start;
      transition: all 0.3s ease;
    }
    .toggle-comments:hover {
      background: rgba(255, 255, 255, 0.2);
      color: white;
    }
    .hidden-comments {
      display: none;
      margin-top: 10px;
    }
    .hidden-comments.show {
      display: block;
    }
    .no-comments {
      color: #64748b;
      text-align: center;
      padding: 20px;
      font-style: italic;
      grid-column: 1 / -1;
    }
    @media (max-width: 1200px) {
      body { grid-template-columns: 200px 1fr; }
      .main-content { padding: 30px; width: calc(100% - 60px); }
    }
    @media (max-width: 768px) {
      body { grid-template-columns: 1fr; }
      .sidebar { display: none; }
      .main-content { padding: 20px; width: calc(100% - 40px); }
      .comments-container { grid-template-columns: 1fr; }
      .comment-card { padding: 15px; }
      .comment-text { font-size: 13px; }
      .comment-label { font-size: 11px; padding: 4px 10px; }
    }