.login {
      background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
                  url('../image/bg.jpg') no-repeat center center fixed;
      background-size: cover;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: 'Segoe UI', sans-serif;
      padding: 1rem;
    }

    .login-card {
      width: 100%;
      max-width: 420px;
      background-color: #fff;
      padding: 2rem;
      border-radius: 1rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      animation: fadeIn 0.5s ease-in-out;
    }

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

    .form-control:focus {
      border-color: #a5d8ff;
      box-shadow: 0 0 0 0.2rem rgba(173, 216, 255, 0.25);
    }

    .custom-btn {
      background-color: #9adffb;
      font-weight: 500;
      transition: background-color 0.3s ease;
    }

    .custom-btn:hover {
      background-color: #7ad1f6;
    }

    .form-label {
      font-weight: 500;
    }

    .input-group-text {
      background-color: #fff;
      border-right: none;
      border-radius: 10px 0 0 10px;
    }

    .input-group .form-control {
      border-left: none;
      border-radius: 0 10px 10px 0;
    }
        body {
      background-color: #f1f4f9;
      font-family: 'Segoe UI', sans-serif;
    }

    .sidebar {
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      width: 230px;
      background: #fdfdfd;
      padding-top: 70px;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease-in-out;
      z-index: 1000;
    }

    .sidebar a {
      padding: 14px 20px;
      display: flex;
      align-items: center;
      color: #344767;
      font-weight: 500;
      font-size: 0.95rem;
      text-decoration: none;
      border-left: 8px solid transparent;
      transition: background 0.2s, border-color 0.2s;
    }

    .sidebar a:hover {
      background: #f0f6ff;
      border-left: 8px solid #0d6efd;
      color: #0d6efd;
    }

    .sidebar a.active {
      background: rgb(242, 248, 255);
      border-left: 8px solid #0d6efd;
      color: #0d6efd;
      font-weight: 600;
    }

    .sidebar .logo {
      position: absolute;
      top: 10px;
      left: 20px;
      font-size: 1.5rem;
      font-weight: bold;
      color: #0d6efd;
    }
        .main-content .dashboard-card,.main-content1 .dashboard-card{
      background: linear-gradient(135deg, #4364f7, #6fb1fc);
      color: white;
       box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
      .dashboard-card:hover {
                transform: translateY(-4px);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            }
    .navbar {
      margin-left: 230px;
      background: white;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      height: 70px;
      display: flex;
      align-items: center;
    }

    .main-content {
      margin-left: 230px;
      padding: 20px;
    }

    .icon-custom {
      color: #344767 !important;
    }

    @media (max-width: 768px) {
      .sidebar {
        left: -250px;
        position: fixed;
        height: 100vh;
        width: 230px;
        padding-top: 70px;
        transition: left 0.3s ease-in-out;
        background: #fdfdfd;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
        z-index: 1050;
      }

      .sidebar.show {
        left: 0;
      }

      #sidebarOverlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 1040;
      }

      #sidebarOverlay.show {
        display: block;
      }

      .navbar, .main-content {
        margin-left: 0 !important;
      }
    }.enquiry-title {
  font-weight: 600;
  font-size: 1.2rem;
  color: #0d6efd;
}

.enquiry-meta {
  font-size: 0.9rem;
  color: #6c757d;
}

.enquiry-description {
  font-size: 1rem;
  color: #333;
}
    .header {
      background-color: #fff;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    .dashboard-cards {
      padding: 20px;
    }
    .card {
      border-radius: 10px;
    }
      .custom-btn {
    background-color: rgb(154, 222, 251);
    font-weight: 400;
  }

  .custom-btn:hover {
    background-color: rgb(60, 197, 255);
  }

  .form-input, .form-select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .form-input:focus, .form-select:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 5px rgba(74,144,226,0.5);
  }

  .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    background: white;
  }

  .page-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .btn-warning i, .btn-success i, .btn-outline-info i {
    vertical-align: middle;
  }

.switch {
  position: relative;
  display: inline-block;
  width: 40px;  /* reduced width */
  height: 20px; /* reduced height */
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4CAF50; /* switch ON color */
}

input:checked + .slider:before {
  transform: translateX(20px); /* knob movement for smaller switch */
}


  @media (max-width: 576px) {
    .table td {
      white-space: nowrap;
    }

    .action-buttons {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
  }

      /* Ensure main content doesn't overlap sidebar */
.main-content1 {
  margin-left: 220px; /* match your sidebar width */
  padding: 30px 20px;
}

@media (max-width: 767px) {
  .main-content1 {
    margin-left: 0;
    padding: 15px;
  }
}

.dashboard-card1 {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  max-width: 100%;
}


    .section-title {
      font-weight: 600;
      margin-top: 30px;
      margin-bottom: 20px;
      border-bottom: 2px solid #dee2e6;
      padding-bottom: 8px;
      color: #0d6efd;
    }

    .info-label {
      font-weight: 600;
      color: #343a40;
    }

    .info-value {
      color: #495057;
    }

    .view-btn {
      background-color: #0d6efd;
      color: white;
      padding: 10px 20px;
      font-weight: 500;
      border-radius: 6px;
    }

    .view-btn:hover {
      background-color: #0b5ed7;
    }

    @media (max-width: 576px) {
      .dashboard-card1 {
        padding: 20px;
      }
    }

      /* .table th,
  .table td {
    vertical-align: middle;
    white-space: nowrap;
  } */

  .btn-sm i {
    vertical-align: middle;
  }

   .btn-download {
            display: inline-block;
            padding: 10px 20px;
            background-color: #0077cc;
            color: #fff;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 10px;
        }
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.arrow-btn {
  background-color: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
  padding: 5px;
  transition: 0.2s ease;
}

.arrow-btn:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.scroll-pagination {
  max-width: 250px; /* Width for 5 page items */
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.scroll-pagination::-webkit-scrollbar {
  height: 6px;
}

.scroll-pagination::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

.scroll-pagination::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.scroll-pagination {
  overflow-x: auto;
  /* show exactly 5 page numbers at a time (adjust 44px according to your page-link width) */
  max-width: calc(5 * 44px + 20px); /* 44px per page-link + gap */
}
.pagination {
  display: flex;
  gap: 5px;
}
.page-item.active .page-link {
  background-color: #0d6efd;
  color: #fff;
}
.page-link {
  min-width: 40px;
  text-align: center;
}

    .card1 {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      padding: 25px;
    }

    .page-title {
      font-size: 1.5rem;
      font-weight: 600;
      color: #0d6efd;
    }
        .btn-download1 {
      background-color: #dc3545;
      color: #fff;
    }

    .btn-download1:hover {
      background-color: #bb2d3b;
    }
        .add-btn {
      background-color: #0d6efd;
      color: #fff;
      font-weight: 500;
    }

    .add-btn:hover {
      background-color: #0b5ed7;
    }
    body #loaderOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  flex-direction: column;   /* Stack loader and text */
  align-items: center;
  justify-content: center;
}

/* Rotating circle */
body .loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px; /* spacing before text */
}

/* Loader text */
body .loader-text {
  font-size: 18px;
  font-weight: bold;
  color: blue;
}

/* Spin animation */
@keyframes spin {
  100% { transform: rotate(360deg); }
}