  :root {
        --primary-blue: #1e3a8a;
        --accent-orange: #f59e0b;
        --status-green: #10b981;
        --status-red: #ef4444;
        --status-yellow: #fbbf24;
      }

      body {
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        background-color: #f9fafb;
                font-size: 14px;
      }
            h1{
        font-size: 2rem;
      }
      h2{
        font-size: 1.75rem;
      }
      h3{
        font-size: 1.5rem;
      }
        h4{
            font-size: 1.375rem;
        }
      h5{
        font-size: 1.25rem;
      }
      h6{
        font-size: 1rem;
      }

      .header-bar {
        background: linear-gradient(
          135deg,
          var(--primary-blue) 0%,
          #1e40af 100%
        );
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      .logo-box {
        width: 50px;
        height: 50px;
        background: var(--accent-orange);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-weight: bold;
        font-size: 1.5rem;
      }

      .hero-section {
        background: linear-gradient(
          135deg,
          var(--primary-blue) 0%,
          #1e40af 100%
        );
        color: white;
        padding: 4rem 0;
      }

      .quick-link-card {
        border: none;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
        /* height: 100%; */
      }

      .quick-link-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
      }

      .quick-link-icon {
        font-size: 2rem;
        color: var(--primary-blue);
        margin-bottom: 1rem;
      }

      .stat-card {
        border-radius: 10px;
        padding: 1.5rem;
        color: white;
        border: none;
      }

      .stat-card-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      }
      .stat-card-success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      }
      .stat-card-warning {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      }
      .stat-card-danger {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
      }

      .stat-value {
        font-size: 2.5rem;
        font-weight: 700;
      }

      .nav-tabs .nav-link {
        color: #6b7280;
        border: none;
        border-bottom: 3px solid transparent;
        font-weight: 500;
      }

      .nav-tabs .nav-link.active {
        color: #fff;
        border-bottom-color: #fff;
        background: transparent;
      }


      
        .map-container {
            height: 500px;
            background: #e5e7eb;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .booth-marker {
            position: absolute;
            width: 40px;
            height: 40px;
            background: var(--primary-blue);
            border-radius: 50% 50% 50% 0;
            transform: rotate(-45deg);
            cursor: pointer;
            transition: all 0.3s;
        }

        .booth-marker:hover {
            transform: rotate(-45deg) scale(1.2);
        }

        .booth-marker::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .booth-list-item {
            background: white;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 0.5rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .booth-list-item:hover {
            border-color: var(--primary-blue);
            box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
        }

           .complaint-card {
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 1rem;
        background: white;
        margin-bottom: 1rem;
      }
         .complaint-card.status-pending {
        border-left: 4px solid #f59e0b;
      }
      .complaint-card.status-progress {
        border-left: 4px solid #3b82f6;
      }
      .complaint-card.status-resolved {
        border-left: 4px solid #10b981;
      }


        .info-card {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 1.5rem;
        }

        .accordion-button:not(.collapsed) {
            background-color: #eff6ff;
            color: var(--primary-blue);
        }

        .notice-card {
            border-left: 4px solid var(--accent-orange);
            background: white;
            padding: 1rem;
            margin-bottom: 1rem;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }


        .contact-card {
        background: white;
        border-radius: 10px;
        padding: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 1rem;
        transition: all 0.2s;
        height: 100%;
    display: flex;
    flex-direction: column;
      }
      .contact-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      }
      .call-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
      }

         .search-card {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .result-card {
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            padding: 1.5rem;
            background: white;
            margin-bottom: 1rem;
        }

        .result-card:hover {
            border-color: var(--primary-blue);
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
        }

        /* sidebar css */

        .logo-box {
        width: 50px;
        height: 50px;
        background: var(--accent-orange);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-weight: bold;
        font-size: 1.5rem;
      }

      .sidebar_booth {
        background: rgb(255, 255, 255);
        min-height: calc(100vh - 80px);
        border-right: 1px solid #e5e7eb;
        padding: 1rem 0;
      }

      .sidebar_booth .nav-link {
        color: #4b5563;
        padding:0.75rem 0.8rem;
        border-left: 3px solid transparent;
        transition: all 0.2s;
      }

      .sidebar_booth .nav-link:hover {
        background: #f3f4f6;
        color: var(--primary-blue);
      }

      .sidebar_booth .nav-link.active {
        background: #eff6ff;
        color: var(--primary-blue);
        border-left-color: var(--primary-blue);
        font-weight: 600;
      }

      .stat-card-dashboard {
        border-radius: 10px;
        /* padding: 1.5rem; */
        height: 100%;
        color: white;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      }

      .stat-card-dashboard-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      }
      .stat-card-dashboard-primary-2 {
        background: linear-gradient(135deg, #08409b 0%, #073aa6 100%);
      }

      .stat-card-dashboard-success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      }

      .stat-card-dashboard-warning {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      }

      .stat-card-dashboard-danger {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
      }

      .stat-value {
        font-size: 2.5rem;
        font-weight: 700;
      }

      .data-table {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      }

      .badge-status-online {
        background: #d1fae5;
        color: #065f46;
        padding: 0.375rem 0.75rem;
        border-radius: 6px;
        font-weight: 600;
      }

      .badge-status-delayed {
        background: #fee2e2;
        color: #991b1b;
        padding: 0.375rem 0.75rem;
        border-radius: 6px;
        font-weight: 600;
      }

      .stat-value {
        font-size: 2rem;
      }

      /* ===== Header Fixed ===== */
      .dashboard-header-bar {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px; /* header height */
        z-index: 200;
        background-color: #fff;
      }

      /* ===== Sidebar Fixed ===== */
      .sidebar_booth {
        position: fixed;
        top: 110px; /* header खाली */
        left: 0;
        width: 280px;
        height: calc(100vh - 70px);
        background: #fff;
        border-right: 1px solid #ddd;
        overflow: hidden; /* sidebar_booth scroll बंद */
        z-index: 100;
      }

      /* ===== Main Content Scroll Only ===== */
      main {
        margin-top: 40px; /* header height */
        margin-left: 280px; /* sidebar_booth width */
        height: calc(100vh - 70px);
        overflow-y: auto; /* फक्त content scroll */
      }

         .entry-card {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      }
      .voter-card {
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 0.5rem;
      }
      .voter-card.voted {
        background: #f0fdf4;
        border-color: #10b981;
      }

      /* admin css */
      
      .admin-stat-card {
        border-radius: 10px;
        padding:0px;
        color: white;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      }

      .admin-stat-card-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      }
      .admin-stat-card-success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      }
      .admin-stat-card-warning {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      }
      .admin-stat-card-danger {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
      }

      .admin-stat-value {
        font-size: 1.5rem;
        font-weight: 700;
      }

      .admin-booth-card {
        background: white;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        padding: 1rem;
        transition: all 0.2s;
      }

      .admin-booth-card.normal {
        border-color: var(--status-green);
      }

      .admin-booth-card.delayed {
        border-color: var(--status-red);
        animation: blink 2s infinite;
      }

      @keyframes blink {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.7;
        }
      }

      .progress-ring {
        transform: rotate(-90deg);
      }
          .booth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
        .booth-card { background: white; border: 2px solid #10b981; border-radius: 8px; padding: 1rem; }
        .booth-card.delayed { border-color: #ef4444; animation: blink 2s infinite; }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

        .camera-feed {
        background: #1f2937;
        height: 200px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
      }
      .camera-card {
        background: white;
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }




      @media(max-width:991px){
        main{
          margin-left: 0px;
          margin-top: 60px;
        }
        .sidebar_booth{
            position: unset;
        width: 100%;
        border-right: none;
        height: 100%;
        background: #fffffff2;
        }
      }

       @media(max-width:850px){
    main{
          margin-top: 100px;
        }
 }

  @media(max-width:510px){
    main{
          margin-top: 140px;
        }
 }
  @media(max-width:450px){
    main{
          margin-top: 150px;
        }
 }



      @media (max-width: 768px) {
    .carousel-inner img {
        height: 180px;      
        object-fit: cover;
        object-position: right center;
    }
}

@media (max-width: 767px) {

  .seat-header {
    flex-direction: column;
    align-items: stretch !important;
    gap: 8px;
  }

  .round-badge {
    width: 100%;
    text-align: center;
  }
}
