    :root {
      --exam-primary: #1E3A8A;
      --exam-bg: #f3f4f6;
      --exam-card-bg: #ffffff;
      --exam-text: #1f2937;
      --exam-text-light: #6b7280;
    }

    /* Header */
    .exam-header {
      text-align: center;
      margin-bottom: 30px;
      position: relative;
    }

    .exam-header h1 {
      margin: 0;
      color: var(--exam-primary);
    }

    .exam-filter-btn {
      width: 100%;
      padding: 14px 16px;
      background: #ffffff;
      color: #111827;
      border: 1px solid #e5e7eb;
      cursor: pointer;
      display: none;
      /* desktop hidden */
      align-items: center;
      justify-content: space-between;
      font-size: 15px;
      font-weight: 500;
      border-radius: 8px;
    }

    .exam-filter-btn:hover {
      background: #f9fafb;
    }

    /* Filter Section */
    .exam-search-container {
      background: var(--exam-card-bg);
      padding: 30px 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      max-width: 1200px;
      margin: 0 auto 40px auto;
      border-radius: 12px;
    }

    .exam-filter-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin-bottom: 20px;
    }

    /* Input Styling */
    .exam-form-group {
      display: flex;
      flex-direction: column;
    }

    .exam-form-group label {
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 5px;
      color: var(--exam-text-light);
      text-transform: uppercase;
    }

    .exam-search-container select,
    .exam-search-container input {
      height: 45px;
      padding: 0 12px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      background-color: #fff;
      color: var(--exam-text);
      transition: border-color 0.2s;
      width: 100%;
    }

    .exam-search-container select:focus {
      outline: none;
      border-color: var(--exam-primary);
    }

    /* Action Buttons */
    .exam-action-row {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
    }

    .exam-action-row button {
      padding: 12px 30px;
      border: none;
      border-radius: 8px;
      font-weight: 500;
      cursor: pointer;
      font-size: 14px;
      transition: transform 0.1s;
    }

    .exam-action-row button:active {
      transform: scale(0.98);
    }

    #examSearchBtn {
      background: var(--exam-primary);
      color: white;
    }

    #examResetBtn {
      background: #e5e7eb;
      color: var(--exam-text);
    }

    .close-btn {
      background: none;
      border: none;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      color: #111827;
      padding: 8px;
      position: absolute;
      right: 10px;
      top: 8px;
    }

    /* Overlay */
    .exam-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      display: none;
    }

    .exam-overlay.exam-open {
      display: block;
    }

    /* Results Grid */
    .exam-results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 25px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Exam Card */
    /* Redesigned Card (No Image) */
    .exam-card {
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 24px;
      display: flex;
      flex-direction: column;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .exam-card:hover {
      border-color: #1E3A8A;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .exam-card-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin: 0 0 4px 0;
      color: var(--exam-text);
    }

    .exam-card-subtitle {
      font-size: 0.85rem;
      color: var(--exam-text-light);
      margin-bottom: 20px;
      display: flex;
      gap: 10px;
    }

    .exam-info-list {
      margin-bottom: 20px;
    }

    .exam-info-item {
      display: flex;
      justify-content: space-between;
      padding: 8px 0;
      border-bottom: 1px dashed #f1f5f9;
      font-size: 0.9rem;
    }

    .exam-info-label {
      color: var(--exam-text-light);
    }

    .exam-info-value {
      font-weight: 500;
    }

    .exam-tag-container {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: auto;
      margin-bottom: 20px;
    }

    .exam-tag {
      font-size: 0.75rem;
      background: #eef2ff;
      color: var(--exam-primary);
      padding: 4px 10px;
      border-radius: 4px;
      font-weight: 500;
    }

    /* New Action Button */
    .exam-view-btn {
      text-align: center;
      background: #0f172a;
      color: white;
      text-decoration: none;
      padding: 12px;
      border-radius: 8px;
      font-weight: 500;
      font-size: 0.9rem;
      transition: background 0.2s;
    }

    .exam-view-btn:hover {
      background: #334155;
    }

    .exam-no-results {
      text-align: center;
      grid-column: 1 / -1;
      color: var(--exam-text-light);
      padding: 40px;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .exam-filter-btn {
        display: flex;
      }

      .exam-search-container {
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        height: 100%;
        z-index: 1001;
        transition: left 0.3s;
        overflow-y: auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      }
    }

    .exam-search-container.exam-open {
      left: 0;
    }
