/* Navbar styles - Match catalog navbar exactly */
    .catalog-navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      z-index: 8;
      display: flex;
      align-items: center;
      padding: 15px 0; /* Match catalog navbar padding */
    }

    .catalog-navbar-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .catalog-navbar-logo img {
      height: 40px; /* Match catalog navbar logo height */
      width: auto;
      object-fit: contain;
    }

    .catalog-navbar-menu {
      display: flex;
      gap: 40px;
    }

    .catalog-navbar-item {
      text-decoration: none;
      color: #1a1a1a;
      font-family: 'Inter', sans-serif;
      font-weight: 500;
      font-size: 1rem; /* Match catalog navbar font size */
      transition: color 0.3s ease;
      position: relative;
      background: none;
      border: none;
      cursor: pointer;
    }

    .catalog-navbar-item:hover {
      color: #666;
    }

    .catalog-navbar-item::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: #1a1a1a;
      transition: width 0.3s ease;
    }

    .catalog-navbar-item:hover::after {
      width: 100%;
    }

    /* User Dropdown Menu Styles */
    .user-dropdown-menu {
      position: fixed;
      background: white;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      border: 1px solid rgba(0, 0, 0, 0.1);
      min-width: 250px;
      z-index: 10000;
      animation: fadeInUp 0.2s ease-out;
      overflow: hidden;
      font-family: 'Inter', sans-serif;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .user-info {
      padding: 20px;
      display: flex;
      gap: 12px;
      align-items: center;
      background: #f8f9fa;
    }

    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
    }

    .user-details {
      flex: 1;
    }

    .user-name {
      font-weight: 600;
      color: #1a1a1a;
      font-size: 0.9rem;
      margin-bottom: 2px;
    }

    .user-email {
      font-size: 0.8rem;
      color: #666;
      margin: 2px 0;
    }

    .login-method {
      font-size: 0.75rem;
      color: #999;
      background: rgba(66, 133, 244, 0.1);
      padding: 4px 8px;
      border-radius: 8px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 500;
      display: inline-block;
    }

    .menu-divider {
      height: 1px;
      background: #e0e0e0;
    }

    .menu-item {
      width: 100%;
      padding: 12px 20px;
      border: none;
      background: white;
      text-align: left;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9rem;
      color: #666;
      transition: all 0.2s ease;
      font-family: 'Inter', sans-serif;
    }

    .menu-item:hover {
      background: #f0f0f0;
      color: #1a1a1a;
    }

    .menu-item i {
      width: 16px;
      text-align: center;
    }

    /* Prevent multiple redirects */
    body.redirecting {
      pointer-events: none;
      opacity: 0.7;
    }
    
    body.redirecting::after {
      content: "Redirecting to login...";
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0,0,0,0.8);
      color: white;
      padding: 20px 40px;
      border-radius: 10px;
      z-index: 10002;
      font-family: 'Inter', sans-serif;
    }
    
    body {
      font-family: 'Inter', sans-serif;
      background: rgba(240,235,222,255); /* Match catalog background */
      margin: 0;
      padding: 75px 0 0; /* Remove bottom padding */
      min-height: 100vh;
    }
    
    .bank-soal-container {
      max-width: 100vw; /* Full width */
      margin: 0;
    }
    
    .bank-soal-header {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 0; /* Remove border radius for full width */
      padding: 50px 0px;
      margin-bottom: 0; /* Remove margin for seamless connection */
      text-align: center;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .bank-soal-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/><circle cx="20" cy="60" r="0.5" fill="white" opacity="0.15"/><circle cx="80" cy="30" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
      pointer-events: none;
    }

    .header-content {
      position: relative;
      z-index: 1;
    }

    .header-icon {
      width: 80px;
      height: 80px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      backdrop-filter: blur(10px);
      border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .header-icon i {
      font-size: 2.5rem;
      color: white;
    }
    
    .bank-soal-header h1 {
      margin: 0 0 15px;
      font-size: 2.8rem;
      font-weight: 700;
      color: white;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      font-family: 'Zen Old Mincho', serif;
    }
    
    .bank-soal-header p {
      margin: 0 0 30px;
      color: rgba(255, 255, 255, 0.9);
      font-size: 1.2rem;
      line-height: 1.6;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }

    .header-features {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.15);
      padding: 12px 20px;
      border-radius: 25px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      font-weight: 500;
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }

    .feature-item:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: translateY(-2px);
    }

    .feature-item i {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.9);
    }
    
    /* Search and Filter Section */
    .search-filter-section {
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      padding: 30px 40px;
      margin: 30px 40px;
      margin-bottom: 30px;
      overflow: visible; /* Allow dropdown to show */
      position: relative; /* Create stacking context */
      z-index: 5; /* Ensure it's above other elements */
    }
    
    .search-bar {
      position: relative;
      margin-bottom: 25px;
    }
    
    .search-bar i {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: #666;
      font-size: 1.1rem;
    }
    
    .search-bar input {
      width: 100%;
      padding: 15px 15px 15px 45px;
      border: 2px solid #e9ecef;
      border-radius: 12px;
      font-size: 1rem;
      font-family: 'Inter', sans-serif;
      transition: border-color 0.3s ease;
    }
    
    .search-bar input:focus {
      outline: none;
      border-color: #4285F4;
    }
    
    .filter-section {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      align-items: end;
      position: relative; /* Create positioning context */
    }
    
    .filter-item {
      display: flex;
      flex-direction: column;
      gap: 8px;
      position: relative; /* Allow proper dropdown positioning */
      z-index: 10; /* Ensure dropdowns appear above other content */
    }
    
    .filter-item label {
      font-weight: 600;
      color: #1a1a1a;
      font-size: 0.9rem;
      margin-bottom: 2px;
    }
    
    .filter-item select {
      padding: 12px 16px;
      border: 2px solid #e9ecef;
      border-radius: 10px;
      font-size: 0.9rem;
      font-family: 'Inter', sans-serif;
      background: white;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
      background-position: right 12px center;
      background-repeat: no-repeat;
      background-size: 16px;
      padding-right: 40px;
      cursor: pointer;
      transition: all 0.3s ease;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      width: 100%; /* Ensure full width within container */
      box-sizing: border-box; /* Include padding in width calculation */
      max-width: 100%; /* Prevent overflow */
    }
    
    .filter-item select:hover {
      border-color: #4285F4;
      background-color: #f8f9ff;
    }
    
    .filter-item select:focus {
      outline: none;
      border-color: #4285F4;
      background-color: #f8f9ff;
      box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    }
    
    .reset-filter-btn {
      padding: 12px 20px;
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      border: 2px solid #e9ecef;
      border-radius: 10px;
      color: #666;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 8px;
      justify-content: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .reset-filter-btn:hover {
      background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
      color: white;
      border-color: #4285F4;
      transform: translateY(-1px);
      box-shadow: 0 4px 8px rgba(66, 133, 244, 0.2);
    }

    .reset-filter-btn:active {
      transform: translateY(0);
      box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
    }
    
    /* Cards Section */
    .cards-section {
      background: white;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      margin: 0;
    }
    
    .cards-header {
      padding: 25px 30px;
      border-bottom: 1px solid #e9ecef;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #f8f9fa;
    }
    
    .cards-header h3 {
      margin: 0;
      color: #1a1a1a;
      font-size: 1.3rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .cards-stats {
      color: #666;
      font-size: 0.9rem;
      font-weight: 500;
    }
    
    .cards-container {
      padding: 30px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 25px;
    }
    
    .soal-card {
      background: white;
      border: 2px solid #f0f0f0;
      border-radius: 15px;
      padding: 25px;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      min-height: 280px;
      max-height: 320px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    
    .soal-card:hover {
      border-color: #4285F4;
      box-shadow: 0 10px 30px rgba(66, 133, 244, 0.15);
      transform: translateY(-5px);
    }
    
    .card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }
    
    .card-icon {
      width: 45px;
      height: 45px;
      background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.2rem;
    }
    
    .card-title {
      flex: 1;
    }
    
    .card-title h4 {
      margin: 0 0 5px;
      color: #1a1a1a;
      font-size: 1.1rem;
      font-weight: 600;
      line-height: 1.3;
    }
    
    .card-subtitle {
      margin: 0;
      color: #666;
      font-size: 0.85rem;
    }
    
    .card-selectors {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
      margin-bottom: 20px;
      flex-shrink: 0;
    }
    
    .selector-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    
    .selector-group label {
      font-size: 0.8rem;
      font-weight: 500;
      color: #666;
    }
    
    .selector-group select {
      padding: 10px 12px;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      font-size: 0.85rem;
      font-family: 'Inter', sans-serif;
      background: white;
      transition: border-color 0.3s ease;
      max-height: 120px;
      overflow-y: auto;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
      background-position: right 8px center;
      background-repeat: no-repeat;
      background-size: 12px;
      padding-right: 32px;
      cursor: pointer;
    }
    
    .selector-group select:focus {
      outline: none;
      border-color: #4285F4;
    }
    
    .card-actions {
      display: flex;
      gap: 10px;
      margin-top: auto;
      flex-shrink: 0;
    }
    
    .card-preview-btn, .card-download-btn {
      flex: 1;
      padding: 10px 15px;
      border: none;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-family: 'Inter', sans-serif;
    }
    
    .card-preview-btn {
      background: #e3f2fd;
      color: #1976d2;
      border: 2px solid transparent;
    }
    
    .card-preview-btn:hover {
      background: #bbdefb;
      border-color: #1976d2;
    }
    
    .card-download-btn {
      background: #e8f5e8;
      color: #2e7d32;
      border: 2px solid transparent;
    }
    
    .card-download-btn:hover {
      background: #c8e6c9;
      border-color: #2e7d32;
    }
    
    .card-preview-btn:disabled, .card-download-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
    
    .card-preview-btn:disabled:hover, .card-download-btn:disabled:hover {
      background: #e3f2fd;
      border-color: transparent;
    }
    
    .card-download-btn:disabled:hover {
      background: #e8f5e8;
      border-color: transparent;
    }
    
    .no-soal-message {
      grid-column: 1 / -1;
      text-align: center;
      padding: 60px 20px;
      color: #999;
    }
    
    .no-soal-message i {
      font-size: 3rem;
      margin-bottom: 15px;
      display: block;
      color: #ddd;
    }
    
    .no-soal-message h4 {
      margin: 0 0 10px;
      font-size: 1.2rem;
      font-weight: 500;
    }
    
    .no-soal-message p {
      margin: 0;
      font-size: 0.9rem;
    }
    
    /* Pagination Section */
    .pagination-section {
      padding: 30px;
      border-top: 1px solid #e9ecef;
      background: #f8f9fa;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }
    
    .pagination-info {
      color: #666;
      font-size: 0.9rem;
      font-weight: 500;
    }
    
    .pagination-controls {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    
    .pagination-btn {
      padding: 10px 16px;
      background: white;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      color: #666;
      font-family: 'Inter', sans-serif;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.9rem;
    }
    
    .pagination-btn:hover:not(:disabled) {
      background: #4285F4;
      color: white;
      border-color: #4285F4;
    }
    
    .pagination-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background: #f8f9fa;
    }
    
    .pagination-numbers {
      display: flex;
      gap: 5px;
    }
    
    .pagination-number {
      width: 40px;
      height: 40px;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      background: white;
      color: #666;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 500;
      font-size: 0.9rem;
    }
    
    .pagination-number:hover {
      background: #e3f2fd;
      border-color: #4285F4;
      color: #4285F4;
    }
    
    .pagination-number.active {
      background: #4285F4;
      border-color: #4285F4;
      color: white;
    }
    
    .pagination-ellipsis {
      color: #999;
      font-weight: 500;
      padding: 0 5px;
    }
    
    /* Upload CTA Section */
    .upload-cta-section {
      background: linear-gradient(135deg, #34A853 0%, #4285F4 100%);
      padding: 60px 40px;
      margin: 0;
      text-align: center;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .upload-cta-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="upload-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.08"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.08"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.12"/><circle cx="20" cy="60" r="0.5" fill="white" opacity="0.12"/><circle cx="80" cy="30" r="0.5" fill="white" opacity="0.12"/></pattern></defs><rect width="100" height="100" fill="url(%23upload-grain)"/></svg>');
      pointer-events: none;
    }

    .upload-cta-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
    }

    .upload-cta-icon {
      width: 80px;
      height: 80px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px;
      backdrop-filter: blur(10px);
      border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .upload-cta-icon i {
      font-size: 2.5rem;
      color: white;
    }

    .upload-cta-section h2 {
      margin: 0 0 15px;
      font-size: 2.5rem;
      font-weight: 700;
      color: white;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      font-family: 'Zen Old Mincho', serif;
    }

    .upload-cta-section p {
      margin: 0 0 35px;
      color: rgba(255, 255, 255, 0.9);
      font-size: 1.2rem;
      line-height: 1.6;
      text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }

    .upload-cta-features {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }

    .upload-feature-item {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.15);
      padding: 12px 20px;
      border-radius: 25px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      font-weight: 500;
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }

    .upload-feature-item:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: translateY(-2px);
    }

    .upload-feature-item i {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.9);
    }

    .upload-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: rgba(255, 255, 255, 0.9);
      color: #1a1a1a;
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      font-family: 'Inter', sans-serif;
      transition: all 0.3s ease;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
      border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .upload-cta-btn:hover {
      background: white;
      transform: translateY(-3px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }

    .upload-cta-btn i {
      font-size: 1.2rem;
      color: #34A853;
    }
    
    /* Preview Modal */
    .preview-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 10001;
      animation: fadeIn 0.3s ease;
    }
    
    .preview-modal-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: white;
      border-radius: 20px;
      max-width: 90vw;
      max-height: 90vh;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
    
    .preview-header {
      padding: 20px 30px;
      border-bottom: 1px solid #e9ecef;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #f8f9fa;
    }
    
    .preview-header h3 {
      margin: 0;
      color: #1a1a1a;
      font-size: 1.2rem;
      font-weight: 600;
    }
    
    .close-preview {
      background: none;
      border: none;
      font-size: 1.5rem;
      color: #666;
      cursor: pointer;
      padding: 5px;
      border-radius: 5px;
      transition: color 0.3s ease;
    }
    
    .close-preview:hover {
      color: #1a1a1a;
    }
    
    .preview-body {
      padding: 20px;
      text-align: center;
      max-height: 70vh;
      overflow: auto;
    }
    
    .preview-body img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .preview-footer {
      padding: 20px 30px;
      border-top: 1px solid #e9ecef;
      text-align: center;
      background: #f8f9fa;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    /* SweetAlert Custom Styling */
    .swal-popup {
      font-family: 'Inter', sans-serif !important;
      border-radius: 15px !important;
    }
    
    .swal-title {
      font-family: 'Inter', sans-serif !important;
      font-weight: 600 !important;
      color: #1a1a1a !important;
    }
    
    .swal-content {
      font-family: 'Inter', sans-serif !important;
      color: #666 !important;
    }
    
    @media (max-width: 768px) {
      .catalog-navbar {
        position: fixed; /* Keep navbar visible */
        padding: 8px 0; /* Reduce navbar padding more */
      }

      .catalog-navbar-container {
        padding: 0 20px; /* Reduce navbar container padding */
      }

      .catalog-navbar-logo img {
        height: 28px; /* Smaller logo for mobile */
      }

      .catalog-navbar-menu {
        gap: 20px; /* Reduce menu gap */
      }

      .catalog-navbar-item {
        font-size: 0.9rem; /* Smaller font size for mobile */
      }

      /* Hide Login link on mobile, show Logout instead */
      .catalog-navbar-login {
        display: none !important;
      }

      .catalog-navbar-logout {
        display: inline-block !important;
      }

      body {
        padding: 50px 0 0; /* Adjust top padding for smaller navbar */
      }

      .bank-soal-container {
        padding: 0; /* Remove all container padding */
      }

      .bank-soal-header {
        padding: 40px 0; /* Remove left-right padding */
      }

      .bank-soal-header h1 {
        font-size: 2.2rem;
      }

      .bank-soal-header p {
        font-size: 1rem;
        padding: 0 20px; /* Add minimal padding for text readability */
      }

      .header-features {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2x2 grid layout */
        gap: 15px;
        justify-items: center;
        max-width: 400px;
        margin: 30px auto 0;
      }

      .feature-item {
        font-size: 0.8rem;
        padding: 10px 15px;
      }

      .feature-item i {
        font-size: 1rem;
      }
      
      .search-filter-section {
        padding: 15px 20px;
        margin: 15px 15px;
        border-radius: 15px;
        overflow: visible; /* Allow dropdown to show */
        position: relative; /* Create stacking context */
        z-index: 5; /* Ensure it's above other elements */
      }

      .search-bar {
        margin-bottom: 20px;
      }

      .search-bar input {
        padding: 12px 12px 12px 40px;
        font-size: 0.9rem;
        border-radius: 10px;
      }

      .search-bar i {
        left: 12px;
        font-size: 1rem;
      }
      
      .filter-section {
        grid-template-columns: 1fr;
        gap: 15px;
        position: relative; /* Create positioning context */
      }

      .filter-item {
        position: relative; /* Allow proper dropdown positioning */
        z-index: 10; /* Ensure dropdowns appear above other content */
      }

      .filter-item select {
        padding: 10px 14px;
        font-size: 0.85rem;
        border-radius: 8px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 10px center;
        background-repeat: no-repeat;
        background-size: 14px;
        padding-right: 35px;
        cursor: pointer;
        transition: all 0.3s ease;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 100%; /* Ensure full width within container */
        box-sizing: border-box; /* Include padding in width calculation */
        max-width: 100%; /* Prevent overflow */
      }

      .filter-item select:hover {
        border-color: #4285F4;
        background-color: #f8f9ff;
      }

      .filter-item select:focus {
        outline: none;
        border-color: #4285F4;
        background-color: #f8f9ff;
        box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
      }

      .filter-item label {
        font-size: 0.85rem;
      }

      .reset-filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        border-radius: 8px;
        margin-top: 5px;
        font-weight: 600;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      }

      .reset-filter-btn:hover {
        background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
        color: white;
        border-color: #4285F4;
        transform: translateY(-1px);
        box-shadow: 0 3px 6px rgba(66, 133, 244, 0.2);
      }
      
      .cards-section {
        margin: 0;
      }
      
      .cards-header {
        padding: 18px 25px;
        background: transparent; /* Transparent background like desktop */
        border-bottom: 1px solid #e9ecef; /* Match desktop border */
        flex-direction: row;
        gap: 12px;
        align-items: center;
        position: relative;
        overflow: hidden;
        box-shadow: none; /* Remove box shadow */
      }

      .cards-header::before {
        display: none; /* Remove background pattern */
      }

      .cards-header h3 {
        font-size: 1.25rem;
        margin: 0;
        color: #1a1a1a; /* Match desktop dark color */
        font-weight: 600; /* Match desktop weight */
        display: flex;
        align-items: center;
        gap: 10px;
        text-shadow: none; /* Remove text shadow */
        position: relative;
        z-index: 1;
      }

      .cards-header h3 i {
        font-size: 1.1rem;
        color: #4285F4; /* Blue color like desktop cards */
        background: none; /* Remove background */
        padding: 0; /* Remove padding */
        border-radius: 0; /* Remove border radius */
        backdrop-filter: none; /* Remove backdrop filter */
        border: none; /* Remove border */
      }

      .cards-stats {
        font-size: 0.85rem;
        color: #666; /* Match desktop gray color */
        font-weight: 500; /* Match desktop weight */
        background: none; /* Remove background */
        padding: 0; /* Remove padding */
        border-radius: 0; /* Remove border radius */
        white-space: nowrap;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 1;
      }
      
      .cards-container {
        padding: 20px 0; /* Remove left-right padding */
        grid-template-columns: 1fr;
        gap: 20px;
      }
      
      .soal-card {
        padding: 20px;
        margin: 0 20px; /* Add side margin for card readability */
      }
      
      .card-selectors {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      
      .card-actions {
        flex-direction: column;
        gap: 8px;
      }
      
      .preview-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 10px;
      }
      
      .preview-header {
        padding: 15px 20px;
      }
      
      .preview-body {
        padding: 15px;
      }
      
      .preview-footer {
        padding: 15px 20px;
      }
      
      .pagination-section {
        padding: 15px 20px; /* Smaller padding */
        background: transparent; /* Transparent background */
        border-top: 1px solid rgba(233, 236, 239, 0.3);
        flex-direction: column;
        align-items: center;
        gap: 12px; /* Smaller gap */
        position: relative;
        overflow: hidden;
        box-shadow: none; /* Remove shadow */
      }

      .pagination-section::before {
        display: none; /* Remove background pattern */
      }

      .pagination-info {
        font-size: 0.8rem; /* Smaller font */
        color: #666; /* Darker color for better visibility */
        font-weight: 500; /* Less bold */
        text-align: center;
        background: rgba(248, 249, 250, 0.8); /* Light background */
        padding: 6px 12px; /* Smaller padding */
        border-radius: 12px; /* Smaller radius */
        backdrop-filter: blur(5px);
        border: 1px solid rgba(233, 236, 239, 0.5);
        text-shadow: none; /* Remove text shadow */
        position: relative;
        z-index: 1;
      }
      
      .pagination-controls {
        justify-content: center;
        gap: 8px; /* Smaller gap */
        position: relative;
        z-index: 1;
      }
      
      .pagination-btn {
        padding: 8px 12px; /* Smaller padding */
        font-size: 0.8rem; /* Smaller font */
        font-weight: 600; /* Less bold */
        border-radius: 8px; /* Smaller radius */
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(233, 236, 239, 0.8); /* Thinner border */
        color: #4285F4; /* Blue color */
        transition: all 0.3s ease; /* Simpler transition */
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Smaller shadow */
      }

      .pagination-btn:hover:not(:disabled) {
        background: rgba(66, 133, 244, 0.1);
        color: #4285F4;
        border-color: #4285F4;
        transform: translateY(-1px); /* Smaller transform */
        box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2); /* Smaller shadow */
      }

      .pagination-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        background: rgba(248, 249, 250, 0.8);
        color: rgba(102, 102, 102, 0.6);
      }
      
      .pagination-number {
        width: 32px; /* Smaller size */
        height: 32px; /* Smaller size */
        font-size: 0.8rem; /* Smaller font */
        font-weight: 600; /* Less bold */
        border-radius: 8px; /* Smaller radius */
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(233, 236, 239, 0.8); /* Thinner border */
        color: #4285F4; /* Blue color */
        transition: all 0.3s ease; /* Simpler transition */
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Smaller shadow */
      }

      .pagination-number:hover {
        background: rgba(66, 133, 244, 0.1);
        border-color: #4285F4;
        color: #4285F4;
        transform: translateY(-1px); /* Smaller transform */
        box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2); /* Smaller shadow */
      }

      .pagination-number.active {
        background: #4285F4; /* Solid blue background */
        border-color: #4285F4;
        color: white;
        transform: none; /* No scale transform */
        box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3); /* Blue shadow */
      }

      /* Upload CTA Mobile Styles */
      .upload-cta-section {
        padding: 40px 20px;
      }

      .upload-cta-section h2 {
        font-size: 2rem;
      }

      .upload-cta-section p {
        font-size: 1rem;
        padding: 0 10px;
      }

      .upload-cta-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
      }

      .upload-cta-icon i {
        font-size: 2rem;
      }

      .upload-cta-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        justify-items: center;
        max-width: 400px;
        margin: 25px auto 35px;
      }

      .upload-feature-item {
        font-size: 0.8rem;
        padding: 10px 15px;
      }

      .upload-feature-item i {
        font-size: 1rem;
      }

      .upload-cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
      }

      .upload-cta-btn i {
        font-size: 1.1rem;
      }
    }
    
    @media (max-width: 480px) {
      .catalog-navbar {
        padding: 6px 0; /* Even smaller navbar padding on small screens */
      }

      .catalog-navbar-container {
        padding: 0 15px; /* Smaller container padding */
      }

      .catalog-navbar-logo img {
        height: 24px; /* Even smaller logo for small mobile */
      }
      
      .catalog-navbar-menu {
        gap: 15px; /* Smaller menu gap */
      }

      .catalog-navbar-item {
        font-size: 0.85rem; /* Even smaller font size */
      }

      /* Hide Login link on small mobile too */
      .catalog-navbar-login {
        display: none !important;
      }

      .catalog-navbar-logout {
        display: inline-block !important;
      }

      body {
        padding: 42px 0 0; /* Adjust for even smaller navbar */
      }
      
      .bank-soal-header h1 {
        font-size: 1.8rem;
      }
      
      .bank-soal-header p {
        font-size: 0.9rem;
        padding: 0 15px; /* Minimal padding for text readability */
      }

      .header-icon {
        width: 60px;
        height: 60px;
      }

      .header-icon i {
        font-size: 2rem;
      }

      .search-filter-section {
        padding: 12px 15px;
        margin: 12px 12px;
        border-radius: 12px;
        overflow: visible; /* Allow dropdown to show */
        position: relative; /* Create stacking context */
        z-index: 5; /* Ensure it's above other elements */
      }

      .search-bar {
        margin-bottom: 15px;
      }

      .search-bar input {
        padding: 10px 10px 10px 35px;
        font-size: 0.85rem;
        border-radius: 8px;
      }

      .search-bar i {
        left: 10px;
        font-size: 0.9rem;
      }

      .filter-section {
        grid-template-columns: 1fr;
        gap: 12px;
        position: relative; /* Create positioning context */
      }

      .filter-item {
        position: relative; /* Allow proper dropdown positioning */
        z-index: 10; /* Ensure dropdowns appear above other content */
      }

      .filter-item select {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 6px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 8px center;
        background-repeat: no-repeat;
        background-size: 12px;
        padding-right: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        min-height: 40px;
        width: 100%; /* Ensure full width within container */
        box-sizing: border-box; /* Include padding in width calculation */
        max-width: 100%; /* Prevent overflow */
      }

      .filter-item select:hover {
        border-color: #4285F4;
        background-color: #f8f9ff;
      }

      .filter-item select:focus {
        outline: none;
        border-color: #4285F4;
        background-color: #f8f9ff;
        box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
      }

      .filter-item label {
        font-size: 0.8rem;
        margin-bottom: 4px;
      }

      .reset-filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
        border-radius: 6px;
        margin-top: 8px;
        gap: 6px;
        font-weight: 600;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        min-height: 40px;
      }

      .reset-filter-btn:hover {
        background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
        color: white;
        border-color: #4285F4;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(66, 133, 244, 0.2);
      }

      .reset-filter-btn i {
        font-size: 0.75rem;
      }

      .header-features {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Keep 2x2 grid on small mobile */
        gap: 10px;
        justify-items: center;
        max-width: 320px;
        margin: 25px auto 0;
      }

      .feature-item {
        font-size: 0.75rem;
        padding: 8px 12px;
      }

      /* Enhanced Cards Section for Small Mobile */
      .cards-section {
        margin: 0;
        border-radius: 0; /* Remove border radius for full width */
      }

      .cards-header {
        padding: 18px 25px;
        border-bottom: 1px solid #e9ecef; /* Match desktop border */
        background: transparent; /* Transparent background like desktop */
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        position: relative;
        overflow: hidden;
        box-shadow: none; /* Remove box shadow */
      }

      .cards-header::before {
        display: none; /* Remove background pattern */
      }

      .cards-header h3 {
        font-size: 1.2rem;
        margin: 0;
        color: #1a1a1a; /* Match desktop dark color */
        font-weight: 600; /* Match desktop weight */
        display: flex;
        align-items: center;
        gap: 10px;
        text-shadow: none; /* Remove text shadow */
        position: relative;
        z-index: 1;
      }

      .cards-header h3 i {
        font-size: 1.1rem;
        color: #4285F4; /* Blue color like desktop cards */
        background: none; /* Remove background */
        padding: 0; /* Remove padding */
        border-radius: 0; /* Remove border radius */
        backdrop-filter: none; /* Remove backdrop filter */
        border: none; /* Remove border */
      }

      .cards-stats {
        font-size: 0.8rem;
        color: #666; /* Match desktop gray color */
        font-weight: 500; /* Match desktop weight */
        background: none; /* Remove background */
        padding: 0; /* Remove padding */
        border-radius: 0; /* Remove border radius */
        white-space: nowrap;
        backdrop-filter: none; /* Remove backdrop filter */
        border: none; /* Remove border */
        text-shadow: none; /* Remove text shadow */
        position: relative;
        z-index: 1;
      }
      
      .cards-container {
        grid-template-columns: 1fr;
        padding: 15px 0; /* Remove left-right padding */
        gap: 15px;
      }
      
      .soal-card {
        padding: 15px;
        margin: 0 15px; /* Smaller side margin for small screens */
        border-radius: 12px;
        border: 2px solid #f0f0f0;
        background: white;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
      }

      .soal-card:hover {
        border-color: #4285F4;
        box-shadow: 0 6px 20px rgba(66, 133, 244, 0.15);
        transform: translateY(-2px);
      }
      
      .card-header {
        gap: 10px;
        margin-bottom: 15px;
      }
      
      .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
        background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
      }
      
      .card-title h4 {
        font-size: 1rem;
        line-height: 1.3;
        margin: 0 0 3px;
        color: #1a1a1a;
        font-weight: 600;
      }

      .card-subtitle {
        font-size: 0.75rem;
        color: #666;
        margin: 0;
      }

      .card-selectors {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 15px;
      }

      .selector-group label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #666;
        margin-bottom: 4px;
      }

      .selector-group select {
        padding: 8px 10px;
        font-size: 0.8rem;
        border-radius: 6px;
        border: 2px solid #e9ecef;
        background: white;
        transition: border-color 0.3s ease;
      }

      .selector-group select:focus {
        border-color: #4285F4;
        outline: none;
      }

      .card-actions {
        flex-direction: column;
        gap: 8px;
      }

      .card-preview-btn, .card-download-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.3s ease;
      }

      .card-preview-btn {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        color: #1976d2;
        border: 2px solid transparent;
      }

      .card-preview-btn:hover:not(:disabled) {
        background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
        border-color: #1976d2;
        transform: translateY(-1px);
      }

      .card-download-btn {
        background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
        color: #2e7d32;
        border: 2px solid transparent;
      }

      .card-download-btn:hover:not(:disabled) {
        background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
        border-color: #2e7d32;
        transform: translateY(-1px);
      }

      /* Enhanced Pagination for Small Mobile */
      .pagination-section {
        padding: 12px 15px; /* Smaller padding */
        border-top: 1px solid rgba(233, 236, 239, 0.3);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px; /* Smaller gap */
        position: relative;
        overflow: hidden;
        box-shadow: none; /* Remove shadow */
      }

      .pagination-section::before {
        display: none; /* Remove background pattern */
      }

      .pagination-info {
        font-size: 0.75rem; /* Smaller font */
        color: #666; /* Darker color for better visibility */
        font-weight: 500; /* Less bold */
        text-align: center;
        background: rgba(248, 249, 250, 0.8); /* Light background */
        padding: 5px 10px; /* Smaller padding */
        border-radius: 10px; /* Smaller radius */
        backdrop-filter: blur(5px);
        border: 1px solid rgba(233, 236, 239, 0.5);
        text-shadow: none; /* Remove text shadow */
        position: relative;
        z-index: 1;
      }

      .pagination-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px; /* Smaller gap */
        flex-wrap: wrap;
        position: relative;
        z-index: 1;
      }

      .pagination-btn {
        padding: 8px; /* Smaller padding */
        font-size: 0;
        font-weight: 600; /* Less bold */
        border-radius: 8px; /* Smaller radius */
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(233, 236, 239, 0.8); /* Thinner border */
        color: #4285F4; /* Blue color */
        transition: all 0.3s ease; /* Simpler transition */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        min-width: 36px; /* Smaller size */
        min-height: 36px; /* Smaller size */
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Smaller shadow */
      }

      .pagination-btn i {
        font-size: 0.9rem !important; /* Smaller icon */
        margin: 0;
        color: inherit;
      }

      .pagination-btn:hover:not(:disabled) {
        background: rgba(66, 133, 244, 0.1);
        color: #4285F4;
        border-color: #4285F4;
        transform: translateY(-1px); /* Smaller transform */
        box-shadow: 0 4px 10px rgba(66, 133, 244, 0.2); /* Smaller shadow */
      }

      .pagination-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        background: rgba(248, 249, 250, 0.8);
        color: rgba(102, 102, 102, 0.6);
      }

      .pagination-numbers {
        display: flex;
        gap: 4px; /* Smaller gap */
        align-items: center;
      }

      .pagination-number {
        width: 30px; /* Smaller size */
        height: 30px; /* Smaller size */
        font-size: 0.75rem; /* Smaller font */
        font-weight: 600; /* Less bold */
        border-radius: 8px; /* Smaller radius */
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(233, 236, 239, 0.8); /* Thinner border */
        color: #4285F4; /* Blue color */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease; /* Simpler transition */
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Smaller shadow */
      }

      .pagination-number:hover {
        background: rgba(66, 133, 244, 0.1);
        border-color: #4285F4;
        color: #4285F4;
        transform: translateY(-1px); /* Smaller transform */
        box-shadow: 0 4px 10px rgba(66, 133, 244, 0.2); /* Smaller shadow */
      }

      .pagination-number.active {
        background: #4285F4; /* Solid blue background */
        border-color: #4285F4;
        color: white;
        transform: none; /* No scale transform */
        box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3); /* Blue shadow */
      }

      .pagination-ellipsis {
        color: #999; /* Darker color for better visibility */
        font-weight: 500; /* Less bold */
        padding: 0 4px; /* Smaller padding */
        font-size: 0.8rem; /* Smaller font */
      }

      /* Upload CTA Small Mobile Styles */
      .upload-cta-section {
        padding: 35px 15px;
      }

      .upload-cta-section h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
      }

      .upload-cta-section p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.5;
      }

      .upload-cta-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 18px;
      }

      .upload-cta-icon i {
        font-size: 1.8rem;
      }

      .upload-cta-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        justify-items: center;
        max-width: 350px;
        margin: 20px auto 30px;
      }

      .upload-feature-item {
        font-size: 0.75rem;
        padding: 8px 12px;
        gap: 6px;
      }

      .upload-feature-item i {
        font-size: 0.9rem;
      }

      .upload-cta-btn {
        padding: 12px 22px;
        font-size: 0.95rem;
        gap: 10px;
      }

      .upload-cta-btn i {
        font-size: 1rem;
      }
    }

/* Disabled option styles */
.year-selector option:disabled,
.ujian-selector option:disabled {
  color: #999 !important;
  font-style: italic;
  background-color: #f9f9f9 !important;
  font-size: 0.8rem;
}

.year-selector option:disabled:hover,
.ujian-selector option:disabled:hover {
  background-color: #f9f9f9 !important;
  color: #999 !important;
}

/* Limit dropdown height to prevent card stretching */
.year-selector,
.ujian-selector {
  max-height: 120px;
  overflow-y: auto;
}

/* Style for the select dropdown */
.selector-group select option {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.selector-group select option:disabled {
  color: #bbb;
  background-color: #f5f5f5;
  font-style: italic;
}