
    body {
      font-family: Tiro Devanagari Sanskrit, serif,"Poppins";
      background-color: #F8F8F8;
      max-width: 100% !important;
      overflow-x: hidden !important;
      margin: 0;
      padding: 0;
    }

    #divName {
      width: 150px;
      margin-left: 450px;
    }

    #btnserch {
      margin-left: 600px;
    }

    #divPhoneNo {
      margin-left: 200px;
    }

    #img_Aghadi {
      width: 80%;
      height: auto;
      max-width: 80%;
      display: block;
      object-fit: contain;
      margin: 20px auto;
      /* Center + top/bottom space */
      padding-left: 0px;
      padding-right: 0px;
      border: 1px solid black;
    }


    #btnClose {
      margin-left: 60px;
    }

    .section-ACselect {

      flex-wrap: nowrap;
      justify-content: center;
      max-width: 100%;
      position: relative;
      align-items: center;
      gap: 10px;
      flex-direction: row;
    }

    .button {
      padding: 10px 20px;
      background-color: #f32121;
      color: #fff;
      border-radius: 5px;
      cursor: pointer;
      text-align: center;
      font-size: 16px;
      font-weight: bold;
      transition: background-color 0.3s, transform 0.2s;
      margin: 5px 0;
      white-space: nowrap;
    }

    .button:hover {
      background-color: #f32121;
      transform: scale(1.05);
    }

    @media (max-width: 600px) {
      .section-ACselect {
        flex-wrap: wrap;
        gap: 8px;
        flex-direction: row;
      }

      .button {
        padding: 6px 12px;
        font-size: 12px;
        margin: 3px;
        white-space: normal;
      }
    }

    /* Popup card style */
    #card {
      display: none;
      margin: auto;
      margin-top: 30px;
      width: 90%;
      max-width: 550px;
      background-color: #f4fff4;
      border-radius: 10px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      z-index: 999;
      position: relative;
      padding: 20px;
      animation: popupFade 0.4s ease-in-out;
    }

    /* Card header styling */
    .card-header {
      background-color: #f32121;
      color: white;
      padding: 10px 0;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      text-align: center;
    }

    /* Form inputs */
    #card .form-control {
      border-radius: 5px;
    }

    /* Buttons inside card */
    #card button.btn {
      background-color: #f32121;
      color: white;
      border: none;
      padding: 8px 20px;
      margin: 10px 10px 0 10px;
      border-radius: 5px;
      transition: all 0.3s ease;
    }

    #card button.btn:hover {
      background-color: #004d00;
      transform: scale(1.05);
    }

    /* Popup fade animation */
    @keyframes popupFade {
      from {
        opacity: 0;
        transform: scale(0.9);
      }

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .card-my {
      background: #f8f9fa;
      border-radius: 15px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      margin: 15px 10px;
      transition: transform 0.3s ease;
      width: 100%;
      max-width: 600px;
    }

    .card-my:hover {
      transform: translateY(-5px);
    }

    .card-my .card-body {
      padding: 15px;
    }

    .card-my p {
      margin-bottom: 10px;
      font-size: 14px;
      line-height: 1.4;
    }

    .card-my a {
      text-decoration: none;
    }

    #TblVoterList {
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      padding: 0 10px;
    }

    @media (max-width: 576px) {
      .card-my {
        margin: 10px auto;
        padding: 10px;
      }

      .card-my p {
        font-size: 13px;
      }

      .card-my .btn {
        font-size: 12px;
        padding: 6px 10px;
      }
    }

    /* Voter Details Modal Styling */
    .modal-content {
      background-color: #ffffff;
      border-radius: 10px;
      border: none;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      overflow: hidden;
    }

    .modal-header {
      background-color: #f32121;
      color: white;
      padding: 15px 20px;
      border-bottom: 2px solid #FF5C00;
    }

    .modal-title {
      margin: 0;
      font-size: 22px;
      font-weight: bold;
    }

    .modal-body table {
      border-collapse: collapse;
      width: 100%;
      font-size: 14px;
    }

    .modal-body table th,
    .modal-body table td {
      text-align: center;
      padding: 8px;
      border: 1px solid #ccc;
    }

    .modal-body table tr:nth-child(even) {
      background-color: #f9f9f9;
    }

    .modal-body label,
    .modal-body p {
      font-size: 15px;
      color: #333;
    }

    .modal-body h4 {
      font-size: 16px;
      font-weight: 600;
    }

    .modal-body input.form-control {
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    .modal-footer {
      background-color: #f5f5f5;
      padding: 15px;
      border-top: 1px solid #ddd;
    }

    .modal-footer button {
      padding: 8px 20px;
      font-weight: 600;
      border-radius: 5px;
    }

    #btnSendWhatsup button {
      background-color: #28a745;
      color: white;
      border: none;
    }

    #btnSendWhatsup button:hover {
      background-color: #218838;
    }

    #btnClose button {
      background-color: #0286fa;
      color: white;
      border: none;
    }

    #btnClose button:hover {
      background-color: #5a6268;
    }

    @media (max-width: 576px) {

      .modal-body h4,
      .modal-body p,
      .modal-body label {
        font-size: 14px;
      }

      .modal-title {
        font-size: 18px;
      }

      #btnSendWhatsup,
      #btnClose {
        text-align: center;
        margin-top: 10px;
      }
    }

    .btn-admin-custom {
      background-color: white;
      color: #f32121;
      border: 2px solid #FF5C00;
      padding: 6px 16px;
      border-radius: 6px;
      font-weight: 600;
      text-decoration: none;
      font-size: 16px;
      transition: all 0.3s ease;
    }

    .btn-admin-custom:hover {
      background-color: #FF5C00;
      color: white;
      text-decoration: none;
    }

    @media screen and (max-width: 576px) {
      .btn-admin-custom {
        font-size: 12px;
        padding: 4px 10px;
      }

      #ButtonDiv>div[style*="position: absolute"] {
        top: 10px !important;
        right: 10px !important;
      }
    }

    /* Container for buttons and image */
    #buttonImageContainer {
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .voter-card {
      background: #fff;
      border: 1px solid #d82424 !important;
      /* 👈 Add this line */
      border-radius: 20px;
      margin: 10px;
      padding: 15px;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

      height: 140px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .voter-card:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .voter-name {
      font-weight: bold;
      margin-bottom: 5px;
    }

    .voter-details {
      font-size: 16px;
      color: #d9534f;
      margin: 0;
    }

    @media (max-width: 768px) {
      .voter-card {
        height: auto;

      }
    }

    .social-icon {
      width: 32px;
      height: 32px;
      margin: 0 5px;
      transition: transform 0.3s ease;
    }

    .social-icon:hover {
      transform: scale(1.1);
    }

    .customLinkIcon {
      width: 24px;
      height: 24px;
      object-fit: cover;
    }


    #scrollToTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 1000;
      background-color: #f32121;
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      font-size: 20px;
      transition: all 0.3s ease;
    }

    #scrollToTop:hover {
      background-color: #ff9900;
      transform: scale(1.1);
    }

    .link-container {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      /* Desktop */
      gap: 16px;
      justify-content: center;
      padding: 20px;
      max-width: 1000px;
      margin: auto;
    }

    .link-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-align: center;
      padding: 10px;
      background-color: #f5f5f5;
      border-radius: 10px;
      text-decoration: none;
      color: #333;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s ease;
      flex-direction: row;
      white-space: nowrap;

      /* 👇 Desktop: width reduced */
      max-width: 160px;
      width: 100%;
    }

    .link-item:hover {
      transform: scale(1.05);
      background-color: #eee;
    }

    .customLinkIcon {
      width: 24px;
      height: 24px;
      object-fit: cover;
      border-radius: 4px;
    }

    /* 🔻 Mobile View */
    @media (max-width: 768px) {
      .link-container {
        grid-template-columns: repeat(3, 1fr);
        /* 3 per row */
        justify-content: center;
      }

      .link-container a:nth-child(4),
      .link-container a:nth-child(5) {
        grid-column: span 1;
        justify-self: center;
        /* Center-align in row */
      }

      .link-item {
        max-width: none;
        width: 100%;
      }
    }

    /* Modern responsive table styling */
    .table-modern {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
      border-radius: 0.5rem;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    }

    .table-modern th,
    .table-modern td {
      padding: 0.75rem 1rem;
      text-align: center;
      border-bottom: 1px solid #dee2e6;
    }

    .table-modern thead {
      background-color: #f8f9fa;
      color: #333;
      font-weight: 600;
    }

    .table-modern tbody tr:hover {
      background-color: #f1f1f1;
      transition: background-color 0.3s ease;
    }

    /* Responsive handling */
    @media screen and (max-width: 768px) {
      .table-modern {
        font-size: 0.9rem;
      }

      .table-modern th,
      .table-modern td {
        padding: 0.5rem;
      }
    }













    select#languageSwitcher {
      width: 94px;
      font-family: cursive, Tiro Devanagari Sanskrit;
    }

    h1.header_name {
      font-family: Tiro Devanagari Sanskrit;
      color: white;
      margin: 0;
      font-size: 20px;
      font-weight: 900;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    div#btn_VoterSearch {
      font-family: cursive, Tiro Devanagari Sanskrit;
      margin: 6px auto -18px auto;
      padding: 14px 32px;
      font-size: 18px;
      animation: pulseBlue 1.5s infinite;
      display: flex;
      justify-content: center;
      width: fit-content;
      background: linear-gradient(90deg, #f32121 0%, #d21919b5 100%);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-weight: bold;
      letter-spacing: 1px;
      transition: transform 0.2s, box-shadow 0.2s;

    }

    @keyframes gradientBG {
      0% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }

      100% {
        background-position: 0% 50%;
      }
    }

    body {
      background: linear-gradient(45deg, #ff5b001a, transparent);
      background-size: 400% 400%;
      animation: gradientBG 15s ease infinite;
    }

    .site-header {
      background: linear-gradient(90deg, #f32121 0%, #d21919b5 100%);
      color: white;
      padding: 1rem 0;
      margin-bottom: 2rem;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .header-title {
      font-size: 2.5rem;
      margin: 0;
      text-align: center;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .header-subtitle {
      font-size: 1.2rem;
      text-align: center;
      margin-top: 0.5rem;
      opacity: 0.9;
    }

    img#img_Aghadi {
      border-radius: 15px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
      border: 5px solid #fff;
      transition: transform 0.3s ease;
    }

    img#img_Aghadi:hover {
      transform: scale(1.02);
    }

    .customLinkIcon {
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border: 3px solid #fff;
      transition: all 0.3s ease;
    }

    .customLinkIcon:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .social-icon {
      border-radius: 50%;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
      /* Increased shadow */
      transition: all 0.3s ease;
      width: 50px !important;
      /* Increased size */
      height: 50px !important;
      /* Increased size */
    }

    .social-icon:hover {
      transform: translateY(-2px) scale(1.08);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
      /* Stronger shadow on hover */
    }

    @keyframes pulseBlue {
      0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7);
      }

      70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
      }

      100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
      }
    }

    .button {
      display: inline-block;
      background: linear-gradient(90deg, #f32121 0%, #d21919b5 100%);
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .button:hover {
      background: #e69c5f;
    }

    .link-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin: 20px auto;
      max-width: 800px;
    }

    .link-row {
      display: flex;
      justify-content: center;
      gap: 20px;
      width: 100%;
    }

    .link-item {
      display: flex;
      flex-direction: row;
      align-items: center;
      text-decoration: none;
      color: inherit;
      width: 200px;
      /* Fixed width for all items */
      flex: 1;
      /* Makes items grow equally */
      max-width: 200px;
      /* Ensures items don't grow too large */
    }

    .customLinkIcon {
      width: 30px;
      height: 30px;
      margin-right: 8px;
    }

    .link-text {
      text-align: left;
    }

    /* New style to make second row items centered */
    .link-row:last-child {
      justify-content: center;
      padding: 0 calc(200px + 20px);
      /* Compensates for the missing third item */
    }

    
 
.callback-btn {
  position: fixed;
  right: 16px;
  bottom: 80px;
  background: linear-gradient(135deg, #25d366, #128c7e); /* WhatsApp green */
  color: #fff;
  padding: 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1100;
  font-size: 22px;
  box-shadow: 0 12px 30px -5px rgba(37, 211, 102, 0.6); /* greenish shadow */
  transition: transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callback-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #20bd5a, #0d6e5b); /* darker hover */
}


    .callback-popup {
      position: fixed;
      right: -400px;
      top: 50%;
      transform: translateY(-50%);
      width: 360px;
      max-width: 95%;
      background: #fff;
      border-radius: 12px;
      padding: 0;
      overflow: hidden;
      box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.25);
      transition: right .35s ease;
      font-family: "Poppins", sans-serif;
      z-index: 1099;
    }

    .callback-popup.show {
      right: 20px;
    }

    .popup-header {
      background: linear-gradient(90deg, #d21919, #f32121);
      color: #fff;
      padding: 12px 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .popup-header .title {
      font-size: 16px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .close-btn {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: #fff;
      font-size: 20px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      cursor: pointer;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .2s;
    }

    .close-btn:hover {
      background: rgba(255, 255, 255, 0.35);
    }

    .popup-body {
      padding: 16px 18px 20px;
    }

    .input-group {
      position: relative;
      margin-bottom: 12px;
    }

    .input-icon {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: #888;
      font-size: 14px;
    }

    .input-group .form-control {
      padding: 10px 12px 10px 38px;
      border-radius: 8px;
      border: 1px solid #ddd;
      width: 100%;
      font-size: 14px;
      transition: border .2s, box-shadow .2s;
      box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
    }

    .input-group .form-control:focus {
      outline: none;
      border-color: #f17111;
      box-shadow: 0 0 8px rgba(241, 113, 17, 0.3);
    }

    .textarea-group textarea {
      resize: vertical;
      min-height: 72px;
    }

    .btn-wrap {
      margin-top: 6px;
    }

 .submit-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: linear-gradient(135deg, #f17111, #d21919);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 12px 30px -5px rgba(37, 211, 102, 0.6);
  transition: filter .2s, transform .2s;
}

.submit-btn:hover {
  filter: brightness(1.05); 
  transform: translateY(-1px);
}

    .feedback {
      margin-top: 8px;
      font-size: 13px;
      color: #2b7a0b;
    }

    @media (max-width: 480px) {
      .callback-popup {
        width: calc(100% - 30px);
        right: -100%;
        top: auto;
        bottom: 70px;
        transform: none;
        border-radius: 10px;
      }

      .callback-popup.show {
        right: 15px;
        bottom: 70px;
      }

      .callback-btn {
        bottom: 140px;
      }
    }

