/* Page Header */
      .page-header {
        margin-top: 60px;
        padding: 60px 40px;
        background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
        position: relative;
        overflow: hidden;
      }

      .page-header::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(
          circle,
          rgba(255, 255, 255, 0.1) 0%,
          transparent 70%
        );
        top: -200px;
        right: -200px;
        border-radius: 50%;
      }

      .page-header-content {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
      }

      .breadcrumb {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #ff6b35;
        margin-bottom: 20px;
      }

      .breadcrumb a {
        color: #64748b;
        text-decoration: none;
        transition: color 0.3s;
      }

      .breadcrumb a:hover {
        color: #1e3a8a;
      }

      .page-title {
        font-size: 48px;
        font-weight: 800;
        color: #1e3a8a;
        margin-bottom: 15px;
      }

      .page-subtitle {
        font-size: 18px;
        color: #64748b;
        line-height: 1.6;
        max-width: 700px;
      }

      /* Filter Section */
      .filter-section {
        max-width: 1280px;
        margin: -40px auto 40px;
        padding: 0 40px;
        position: relative;
        z-index: 10;
      }

      .filter-card {
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        display: flex;
        gap: 20px;
        align-items: flex-end;
        flex-wrap: wrap;
      }

      .filter-group {
        flex: 1;
        min-width: 200px;
      }

      .filter-label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #1e3a8a;
        margin-bottom: 8px;
      }

      .filter-select {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-size: 15px;
        font-family: "Poppins", sans-serif;
        color: #64748b;
        background: white;
        cursor: pointer;
        transition: all 0.3s;
      }

      .filter-select:focus {
        outline: none;
        border-color: #2d5bff;
      }

      .filter-select:hover {
        border-color: #2d5bff;
      }

        .search-box {
        width: 100%;
        padding: 12px 16px 12px 45px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-size: 15px;
        font-family: "Poppins", sans-serif;
        color: #64748b;
        background: white
          url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>')
          no-repeat 15px center;
        transition: all 0.3s;
      }

      .search-box:focus {
        outline: none;
        border-color: #2d5bff;
      }

      .search-group {
        flex: 2;
        min-width: 300px;
      }

      .search-input {
        width: 100%;
        padding: 12px 16px 12px 45px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-size: 15px;
        font-family: "Poppins", sans-serif;
        color: #64748b;
        background: white;
        transition: all 0.3s;
        position: relative;
      }

      .search-input:focus {
        outline: none;
        border-color: #2d5bff;
      }

      .search-wrapper {
        position: relative;
      }

      .search-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #94a3b8;
      }

      .btn-filter {
        padding: 12px 30px;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-family: "Poppins", sans-serif;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
      }

      .btn-filter:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
      }

      /* Exam List */
      .exam-list {
        max-width: 1280px;
        margin: 0 auto;
        padding: 40px 40px 80px;
      }
      /* Exam Grid */
      .exam-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 kolom tetap */
        gap: 30px;
        margin-bottom: 40px;
      }

      .exam-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s;
        cursor: pointer;
        position: relative;
      }

      .exam-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
      }

      .exam-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
        transform: scaleX(0);
        transition: transform 0.3s;
      }

      .exam-card:hover::before {
        transform: scaleX(1);
      }

      .exam-header {
        padding: 30px;
        background: linear-gradient(135deg, #2d5bff 0%, #1e3a8a 100%);
        position: relative;
        overflow: hidden;
      }

      .exam-header::before {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        top: -50px;
        right: -50px;
      }

      .exam-type {
        display: inline-block;
        padding: 6px 16px;
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 15px;
      }

      .exam-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        margin-bottom: 15px;
      }

      .exam-title {
        font-size: 22px;
        font-weight: 700;
        color: white;
        margin-bottom: 8px;
      }

      .exam-subtitle {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
      }

      .exam-body {
        padding: 30px;
      }

      .exam-description {
        font-size: 15px;
        color: #64748b;
        line-height: 1.7;
        margin-bottom: 20px;
      }

      .exam-info {
        display: flex;
        gap: 20px;
        margin-bottom: 25px;
      }

      .info-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #64748b;
      }

      .info-icon {
        width: 36px;
        height: 36px;
        background: rgba(45, 91, 255, 0.1);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
      }

      .info-text strong {
        display: block;
        color: #1e3a8a;
        font-weight: 600;
      }

      .exam-features {
        list-style: none;
        margin-bottom: 25px;
        padding-top: 20px;
        border-top: 2px solid #f1f5f9;
      }

      .exam-features li {
        padding: 5px 0;
        color: #64748b;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .exam-features li::before {
        content: "✓";
        color: #22c55e;
        font-weight: 700;
        font-size: 18px;
      }

      .exam-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 20px;
        border-top: 2px solid #f1f5f9;
      }

      .exam-status {
        font-size: 13px;
        color: #64748b;
      }

      .status-badge {
        display: inline-block;
        padding: 4px 12px;
        background: rgba(34, 197, 94, 0.1);
        color: #22c55e;
        border-radius: 12px;
        font-weight: 600;
        font-size: 12px;
        margin-left: 5px;
      }

      .status-badge.popular {
        background: rgba(255, 107, 53, 0.1);
        color: #ff6b35;
      }

      .btn-start {
        width: 100%;
        padding: 14px 0;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-family: "Poppins", sans-serif;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
      }

      .btn-start:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
      }

      /* Empty State */
      .empty-state {
        text-align: center;
        padding: 80px 20px;
      }

      .empty-icon {
        font-size: 80px;
        margin-bottom: 20px;
        opacity: 0.5;
      }

      .empty-title {
        font-size: 24px;
        font-weight: 700;
        color: #1e3a8a;
        margin-bottom: 10px;
      }

      .empty-text {
        font-size: 16px;
        color: #64748b;
      }

      /* Responsive */
      @media (max-width: 1024px) {
       
        .exam-grid {
          grid-template-columns: repeat(2, 1fr);
        }

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

      @media (max-width: 640px) {
  

        .page-header {
          padding: 40px 20px;
        }
        .exam-grid {
          grid-template-columns: 1fr;
        }

        .page-title {
          font-size: 32px;
        }

        .filter-section {
          padding: 0 20px;
        }

        .filter-card {
          padding: 20px;
        }

        .filter-group,
        .search-group {
          min-width: 100%;
        }

        .exam-stats {
          grid-template-columns: 1fr;
          padding: 0 20px;
        }

        .exam-list {
          padding: 40px 20px;
        }

        .exam-actions {
          flex-direction: column;
        }

          .modal-content {
          width: 95%;
        }

        .modal-header {
          padding: 25px 25px 20px;
        }

        .modal-body {
          padding: 25px;
        }

        .modal-footer {
          padding: 0 25px 25px;
          flex-direction: column;
        }

        .btn-cancel,
        .btn-submit {
          width: 100%;
        }
      }

      /* Animation */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

         /* Difficulty badge */
      .difficulty-badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        margin-left: 10px;
        color: white;
        text-transform: capitalize;
      }

      /* Colors by level */
      .difficulty-beginner {
        background: rgba(34, 197, 94, 1); /* green */
      }
      .difficulty-intermediate {
        background: rgba(255, 159, 67, 1); /* orange */
      }
      .difficulty-advanced {
        background: rgba(124, 58, 237, 1); /* purple */
      }
      .difficulty-default {
        background: rgba(100, 116, 139, 1); /* grey */
      }
      .exam-card {
        animation: fadeInUp 0.6s ease forwards;
        opacity: 0;
      }

      .exam-card:nth-child(1) {
        animation-delay: 0.1s;
      }
      .exam-card:nth-child(2) {
        animation-delay: 0.2s;
      }
      .exam-card:nth-child(3) {
        animation-delay: 0.3s;
      }
      .exam-card:nth-child(4) {
        animation-delay: 0.4s;
      }
      .exam-card:nth-child(5) {
        animation-delay: 0.5s;
      }
      .exam-card:nth-child(6) {
        animation-delay: 0.6s;
      }

       /* Modal */
      .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 2000;
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      .modal-overlay.active {
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
      }

      .modal-content {
        background: white;
        border-radius: 24px;
        width: 90%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        transform: scale(0.9) translateY(20px);
        transition: transform 0.3s ease;
        position: relative;
      }

      .modal-overlay.active .modal-content {
        transform: scale(1) translateY(0);
      }

      .modal-header {
        padding: 35px 35px 25px;
        background: linear-gradient(135deg, #2d5bff 0%, #1e3a8a 100%);
        border-radius: 24px 24px 0 0;
        position: relative;
        overflow: hidden;
      }

      .modal-header::before {
        content: "";
        position: absolute;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        top: -80px;
        right: -80px;
      }

      .modal-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
      }

      .modal-title {
        font-size: 26px;
        font-weight: 700;
        color: white;
        margin-bottom: 8px;
        position: relative;
        z-index: 1;
      }

      .modal-subtitle {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
        position: relative;
        z-index: 1;
      }

      .modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 8px;
        color: white;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .modal-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
      }

      .modal-body {
        padding: 35px;
      }

      .form-group {
        margin-bottom: 24px;
      }

      .form-label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #1e3a8a;
        margin-bottom: 8px;
      }

      .form-label span {
        color: #ff6b35;
      }

      .form-input {
        width: 100%;
        padding: 14px 16px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 15px;
        font-family: "Poppins", sans-serif;
        color: #1e3a8a;
        background: white;
        transition: all 0.3s;
      }

      .form-input:focus {
        outline: none;
        border-color: #2d5bff;
        background: #f8faff;
      }

      .form-input::placeholder {
        color: #94a3b8;
      }

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

      .form-info {
        font-size: 13px;
        color: #64748b;
        margin-top: 6px;
        display: flex;
        align-items: center;
        gap: 5px;
      }

      .modal-footer {
        padding: 0 35px 35px;
        display: flex;
        gap: 12px;
      }

      .btn-cancel {
        flex: 1;
        padding: 14px 0;
        background: white;
        color: #64748b;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-family: "Poppins", sans-serif;
      }

      .btn-cancel:hover {
        border-color: #cbd5e1;
        background: #f8fafc;
      }

      .btn-submit {
        flex: 2;
        padding: 14px 0;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-family: "Poppins", sans-serif;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
      }

      .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
      }
