@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@400;500;600;700&family=Hind+Madurai:wght@400;500;600;700&family=Mukta+Malar:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* { font-family: 'Poppins', sans-serif !important; }

/* ── Restore icon fonts (prevent Poppins override breaking icons) ── */
.fa, .fas, .far, .fab, .fal, .fad, .fa-solid, .fa-regular, .fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
}
.mdi, [class^="mdi-"], [class*=" mdi-"] {
    font-family: "Material Design Icons" !important;
}
[class^="ri-"], [class*=" ri-"] {
    font-family: "remixicon" !important;
}
[class^="bx"], [class*=" bx"] {
    font-family: "boxicons" !important;
}
[class^="dripicons-"] {
    font-family: "dripicons-v2" !important;
}

.fv-form-bootstrap .help-block {
    color:red;
    display: block;
}
.VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate{
    display: none !important;
}
/* css */
.profile_image{
    height: 150px;
    width: 150px;
    border-radius: 100%;
    border: 2px solid #dfdfdf;
    position: relative;
}
.profile_image label{
    height: 150px;
    width: 150px;
    border-radius: 100%;
    position:absolute;
    top: -2px;
    left: -2px;
    background: #21252969;
    display: none;
}
.profile_image label i{
    position:absolute;
    font-size:30px;
    top: 35%;
    left: 40%;
    color: white !important;
}
.profile_image label:active{
    background:#212529cc;
}
#profile_name{
    border: none;
    border-bottom: 2px solid #3385d9;
    width: fit-content;
    display: none;
}
#profile_name:focus {
    box-shadow: none !important;
}
#profileone .save_profile{
    display: none;
}
.save_profile i{
    font-size: 30px;
}
.img-upload{
    width:100%;
    height: 100px;
    border:1px solid #ced4da;
}
.combine_input p,.combine_input p i{
    font-size:25px;
}

.combine_input .form-group input{
    font-size:15px;
}
.cursor{
    cursor:pointer;
}
/* Select2 Css */
.modal
{
  z-index: 1051;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #e1e2e6 !important;
    padding: 5px !important;
    height: 38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    top:7px !important;
    right:5px !important;
}
.select2-dropdown {
    border: 1px solid #e1e2e6 !important;
}
.select2{
    /* width: 100% !important; */
}
/* End of Select2 css */
/* Styles for the popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    max-width: 500px;
    word-wrap: break-word;
    z-index: 9999;
  }
  
  .popup-content {
    text-align: center;
  }
  
  /* Styles for the clickable span */
  .clickable-span {
    cursor: pointer;
    text-decoration: underline;
    color: blue;
  }
  .form-group{
    margin:5px 0px 5px 0px !important;
  }
  .c-dashboardInfo {
    margin-bottom: 15px;
  }
  .c-dashboardInfo .wrap {
    background: #ffffff;
    box-shadow: 2px 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 7px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 40px 25px 20px;
    height: 100%;
  }
  .c-dashboardInfo__title,
  .c-dashboardInfo__subInfo {
    color: #6c6c6c;
    font-size: 1.18em;
  }
  .c-dashboardInfo span {
    display: block;
  }
  .c-dashboardInfo__count {
    font-weight: 600;
    font-size: 2.5em;
    line-height: 64px;
    color: #323c43;
  }
  .c-dashboardInfo .wrap:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    content: "";
  }
  
  .c-dashboardInfo:nth-child(1) .wrap:after {
    background: linear-gradient(82.59deg, #00c48c 0%, #00a173 100%);
  }
  .c-dashboardInfo:nth-child(2) .wrap:after {
    background: linear-gradient(81.67deg, #0084f4 0%, #1a4da2 100%);
  }
  .c-dashboardInfo:nth-child(3) .wrap:after {
    background: linear-gradient(69.83deg, #0084f4 0%, #00c48c 100%);
  }
  .c-dashboardInfo:nth-child(4) .wrap:after {
    background: linear-gradient(81.67deg, #ff647c 0%, #1f5dc5 100%);
  }
  .c-dashboardInfo__title svg {
    color: #d7d7d7;
    margin-left: 5px;
  }
  .MuiSvgIcon-root-19 {
    fill: currentColor;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 24px;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    user-select: none;
    flex-shrink: 0;
  }
  .taxes .select2-selection__rendered{
    display: flex !important;
    overflow: auto !important;
  }
  .br-right-0
  {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
  }
  .br-left-0
  {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
  }
  .section_specific
  {
    background:skyblue;
  }
  .counter_report
  {
    font-weight: bolder;
    font-size: 30px;
  }
  /* Pagination */
  .pagination {
    margin: 20px 0;
  }

  .pagination a {
    padding: 5px 10px;
    margin-right: 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
  }

  .pagination a.active {
    background-color: #007bff;
    color: #fff;
  }

  .pagination a.disabled {
    pointer-events: none;
    color: #ccc;
  }
  .wrapper-pages
  {
    width: 600px;
    margin: 20px;
  }
  /* Success Page */
.success-message {
    text-align: center;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.success-message__icon {
    max-width: 75px;
}

.success-message__title {
    color: #3DC480;
    transform: translateY(25px);
    opacity: 0;
    transition: all 200ms ease;
    
    .active & {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-message__content {
    color: #B8BABB;
    transform: translateY(25px);
    opacity: 0;
    transition: all 200ms ease;
    transition-delay: 50ms;
    
    .active & {
        transform: translateY(0);
        opacity: 1;
    }
}

.icon-checkmark {
    circle {
        fill: #3DC480;
        transform-origin: 50% 50%;
        transform: scale(0);
        transition: transform 200ms cubic-bezier(.22, .96, .38, .98);
    }
    path {
        transition: stroke-dashoffset 350ms ease;
        transition-delay: 100ms;
    }
    
    .active & {
        circle {
            transform: scale(1);
        }
    }
}
.w-320px
{
  width: 320px;
} 
.h-320px
{
  height: 320px;
}
.board-text-reg{
  width: 160px;
  text-align: center;
  bottom: 47px;
  right: 80px;
}
/* .select2-container
{
  width: 100% !important;
} */
/* Image preview */
.image-container {
  position: relative;
  text-align: center;
}

.image-container .preview-image {
  max-width: 100%;
  cursor: pointer;
  height: 200px;
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-overlay img {
  max-width: 90%;
  max-height: 90%;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.close-button:hover {
  color: red;
}
.text-overflow-message-notify{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 225px;
}
/* Align ration card */
.left-head
{
  left: 97px;
  width: 283px;
  font-size: 8px;
  top: 100px;
}
.border-2px-block
{
  border: 2px solid black;
  padding: 2px;
  font-size: 9.7px;
  position: absolute;
  left: 11px;
  width: 79px;
  height: 20px;
  color: black;
}
.bottom-32px
{
  bottom: 32px;
}
.bottom-9px
{
  bottom: 9px;
}
#previewDiv
{
  width: 78px;
  height: 89px;
  top: 96px;
  background-color: white;
  left: 11px;
  background-position: center;
  background-size: cover;
}
#previewDivz
{
  width: 83px;
  height: 99px;
  top: 872px;
  background-color: white;
  left: 110px;
  background-position: center;
  background-size: cover;
}
.shop_name
{
  left: 160px;
  top: 36px;
  color: black;
  font-size: 11px;
}
.year
{
  left: 170px;
  top: 51px;
  color: grey;
  font-size: 14px;
}
.member_count
{
  font-size: 7px;
  left: 11px;
  bottom: 67px;
}
#qrCode
{
  width: 86px;
  height: 90px;
  top: 75px;
  background-color: white;
  left: 142px;
  padding: 5px;
}
#qrCode img
{
  width: 76px;
  height: 79px;
}
#member_list
{
  left: 23px;
  top: 35px;
}
.w-33
{
  width: 33%;
}
#front_image_parent,#back_image_parent
{
  width: 380px;
  height: 240px;
}
.aadhaar_suggestion
{
  left: 0px;
  border: 1px solid #ced4da;
  border-top: none;
  top: 36px;
  z-index: 9;
}
.hover-effect:hover
{
  cursor: pointer;
  background-color: #80808033;
}
/* =============================================
   AADHAAR CARD PREVIEW & PRINT STYLES
   Pure white background, black text, proper alignment
   Matching official UIDAI Tamil e-Aadhaar format
   ============================================= */
#aadhaar_image_parent
{
  width: 990px !important;
  height: 1280px !important;
  position: relative !important;
  background-color: #ffffff !important;
  padding: 0 !important;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  overflow: hidden;
}
#aadhaar_image_parent div,
#aadhaar_image_parent p,
#aadhaar_image_parent span
{
  color: #000000 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 1. Top Enrolment Header */
.en_no_wrapper
{
  position: absolute !important;
  left: 115px !important;
  top: 334px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #000000 !important;
  z-index: 10 !important;
}
.en_no
{
  font-weight: 600 !important;
}

/* 2. Top Address Block */
.address_top_container
{
  position: absolute !important;
  left: 115px !important;
  top: 360px !important;
  width: 220px !important;
  font-size: 11px !important;
  line-height: 14px !important;
  color: #000000 !important;
  z-index: 10 !important;
}
.address_top_container .addr_line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top_name_t
{
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
}
.top_name
{
  font-weight: 600;
  font-size: 11.5px;
  line-height: 15px;
}

/* 3. Signature Valid Box */
.signature_valid_box
{
  position: absolute !important;
  left: 115px !important;
  top: 558px !important;
  width: 175px !important;
  background: transparent !important;
  z-index: 20 !important;
}
.sig_header
{
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin-bottom: 2px !important;
}
.sig_details
{
  font-size: 8.5px !important;
  line-height: 10.5px !important;
  color: #000000 !important;
  font-family: 'Trirong', serif !important;
}
.sig_tick_overlay
{
  position: absolute !important;
  left: 55px !important;
  top: 10px !important;
  pointer-events: none !important;
}
.sig_tick_svg
{
  width: 48px !important;
  height: 48px !important;
}

/* 4. Middle QR Code */
.qr_first,
#qrCoders
{
  position: absolute !important;
  height: 140px !important;
  width: 140px !important;
  background-color: #ffffff !important;
  left: 310px !important;
  top: 545px !important;
  overflow: hidden !important;
  z-index: 20 !important;
}
.qr_first canvas,
.qr_sec canvas,
#qrCoder canvas,
#qrCoders canvas
{
  display: none !important;
}
.qr_first img,
.qr_sec img,
#qrCoder img,
#qrCoders img
{
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  display: block !important;
  object-fit: contain !important;
}

/* 5. Middle Aadhaar Number & VID */
.aadhaar_to
{
  position: absolute !important;
  left: 80px !important;
  top: 728px !important;
  width: 400px !important;
  text-align: center !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: #000000 !important;
  z-index: 20 !important;
}
.vid_mid
{
  position: absolute !important;
  left: 80px !important;
  top: 758px !important;
  width: 400px !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  color: #000000 !important;
  z-index: 20 !important;
}

/* 6. Bottom Front Card */
.created_on_part_1
{
  position: absolute !important;
  left: 65px !important;
  top: 928px !important;
  font-size: 8px !important;
  transform: rotate(-90deg) !important;
  transform-origin: center !important;
  color: #000000 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  z-index: 20 !important;
}
#previewDivz
{
  position: absolute !important;
  width: 92px !important;
  height: 116px !important;
  top: 868px !important;
  left: 105px !important;
  background-color: #ffffff !important;
  background-position: center !important;
  background-size: cover !important;
  border: 1px solid #dcdcdc !important;
  z-index: 20 !important;
}
.front_details_box
{
  position: absolute !important;
  left: 208px !important;
  top: 863px !important;
  width: 265px !important;
  color: #000000 !important;
  z-index: 20 !important;
}
.first_name_t
{
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 17px !important;
  margin-bottom: 2px !important;
}
.first_name
{
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 15px !important;
  margin-bottom: 2px !important;
}
.first_dob
{
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 15px !important;
  margin-bottom: 2px !important;
}
.first_gender
{
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 15px !important;
}
.aadhaar_first
{
  position: absolute !important;
  left: 80px !important;
  top: 1008px !important;
  width: 400px !important;
  text-align: center !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: #000000 !important;
  z-index: 20 !important;
}

/* 7. Bottom Back Card */
.issue_on_part_2
{
  position: absolute !important;
  left: 488px !important;
  top: 928px !important;
  font-size: 8px !important;
  transform: rotate(-90deg) !important;
  transform-origin: center !important;
  color: #000000 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  z-index: 20 !important;
}
.address_whole
{
  position: absolute !important;
  left: 512px !important;
  top: 860px !important;
  width: 210px !important;
  font-size: 9px !important;
  line-height: 11.5px !important;
  color: #000000 !important;
  z-index: 20 !important;
}
.address_whole_tamil
{
  margin-bottom: 6px !important;
}
.qr_sec,
#qrCoder
{
  position: absolute !important;
  height: 140px !important;
  width: 140px !important;
  background-color: #ffffff !important;
  left: 725px !important;
  top: 855px !important;
  overflow: hidden !important;
  z-index: 20 !important;
}
.aadhaar_sec
{
  position: absolute !important;
  left: 510px !important;
  top: 1002px !important;
  width: 365px !important;
  text-align: center !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: #000000 !important;
  z-index: 20 !important;
}
.vid_back
{
  position: absolute !important;
  left: 510px !important;
  top: 1024px !important;
  width: 365px !important;
  text-align: center !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  color: #000000 !important;
}
.w-24
{
  width: 24%;
}
.one
{
  font-size: 21px;
}
/* Full Screen view */
.fullscreen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1003;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.fullscreen-bg {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.close-full-screen {
position: absolute;
top: 0px;
right: 0px;
font-size: 0px;
color: white;
cursor: pointer;
z-index: 1003;
}
.close-full-screen i{
font-size: 40px;
color: red;
font-weight: bold;
}

/* =============================================
   PREMIUM TABLE & ACTION BUTTON DESIGN
   ============================================= */

/* Card wrapper */
.mt.bg-white {
    border-radius: 18px !important;
    box-shadow: 0 8px 32px rgba(30,41,59,0.10) !important;
    overflow: hidden;
    border: 1px solid #f0f4ff;
}

/* Wrapper padding reset */
.dataTables_wrapper { padding: 0 !important; }

/* TOP toolbar row */
.dataTables_wrapper .row:first-child {
    background: #f8fafc;
    padding: 12px 20px 10px !important;
    border-bottom: 1px solid #edf2f7;
    align-items: center;
}

/* Search input */
.dataTables_filter input {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 7px 16px 7px 38px !important;
    font-size: 13px !important;
    color: #374151 !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 12px center !important;
    transition: all 0.2s !important;
    box-shadow: none !important;
    min-width: 210px;
}
.dataTables_filter input:focus {
    border-color: #818cf8 !important;
    box-shadow: 0 0 0 3px rgba(129,140,248,0.15) !important;
}
.dataTables_filter label {
    font-size: 13px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Export buttons */
.dt-buttons .dt-button {
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.18s !important;
    margin-right: 4px !important;
}
.dt-buttons .buttons-copy  { background:#e0e7ff !important; color:#4338ca !important; }
.dt-buttons .buttons-copy:hover  { background:#c7d2fe !important; }
.dt-buttons .buttons-excel { background:#dcfce7 !important; color:#15803d !important; }
.dt-buttons .buttons-excel:hover { background:#bbf7d0 !important; }
.dt-buttons .buttons-pdf   { background:#fee2e2 !important; color:#dc2626 !important; }
.dt-buttons .buttons-pdf:hover   { background:#fecaca !important; }
.dt-buttons .buttons-colvis{ background:#fef3c7 !important; color:#b45309 !important; }
.dt-buttons .buttons-colvis:hover{ background:#fde68a !important; }

/* TABLE HEAD */
table.dataTable thead th,
table.dataTable thead td {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #e2e8f0 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 15px 16px !important;
    border: none !important;
    white-space: nowrap;
}

/* BODY ROWS */
table.dataTable tbody tr {
    transition: background 0.15s, box-shadow 0.15s !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
table.dataTable tbody tr:hover {
    background: #f5f7ff !important;
    box-shadow: inset 3px 0 0 #818cf8;
}
table.dataTable tbody td {
    padding: 11px 16px !important;
    font-size: 13px !important;
    color: #374151 !important;
    border: none !important;
    vertical-align: middle !important;
}
table.dataTable.table-striped tbody tr:nth-child(odd)  { background: #fafbff !important; }
table.dataTable.table-striped tbody tr:nth-child(even) { background: #ffffff !important; }

/* PAGINATION */
.dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    border: none !important;
    background: transparent !important;
    color: #6366f1 !important;
    font-size: 13px !important;
    padding: 5px 11px !important;
    margin: 0 2px !important;
    font-weight: 500 !important;
    transition: all 0.15s !important;
}
.dataTables_paginate .paginate_button:hover {
    background: #e0e7ff !important;
    color: #4338ca !important;
    border: none !important;
}
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(99,102,241,0.35) !important;
}
.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover {
    color: #d1d5db !important;
    background: transparent !important;
}
.dataTables_info {
    font-size: 12px !important;
    color: #9ca3af !important;
    padding-top: 10px !important;
}
.dataTables_wrapper .row:last-child {
    padding: 10px 20px !important;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

/* ── COMPACT ICON ACTION BUTTONS ── */
.action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    margin: 0 2px !important;
    flex-shrink: 0 !important;
}
.action-btn:hover { transform: translateY(-2px) !important; }

/* Tooltip */
.action-btn::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s;
    z-index: 99;
}
.action-btn:hover::after { opacity: 1; }

/* Individual button colours */
.action-btn-edit {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(99,102,241,0.30) !important;
}
.action-btn-edit:hover {
    background: linear-gradient(135deg, #4f46e5, #3730a3) !important;
    box-shadow: 0 4px 14px rgba(99,102,241,0.40) !important;
}
.action-btn-active {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(34,197,94,0.30) !important;
}
.action-btn-active:hover {
    background: linear-gradient(135deg, #16a34a, #166534) !important;
    box-shadow: 0 4px 14px rgba(34,197,94,0.40) !important;
}
.action-btn-inactive {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(245,158,11,0.30) !important;
}
.action-btn-inactive:hover {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    box-shadow: 0 4px 14px rgba(245,158,11,0.40) !important;
}
.action-btn-delete {
    background: linear-gradient(135deg, #f87171, #ef4444) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(239,68,68,0.30) !important;
}
.action-btn-delete:hover {
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
    box-shadow: 0 4px 14px rgba(239,68,68,0.40) !important;
}
.action-btn-perm {
    background: linear-gradient(135deg, #94a3b8, #64748b) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(100,116,139,0.25) !important;
}
.action-btn-perm:hover {
    background: linear-gradient(135deg, #64748b, #475569) !important;
    box-shadow: 0 4px 14px rgba(100,116,139,0.35) !important;
}

/* Action cell no-wrap */
td.action-cell { white-space: nowrap !important; }

/* Add button */
.create .btn-info {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 9px 22px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(99,102,241,0.35) !important;
    transition: all 0.2s ease !important;
}
.create .btn-info:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(99,102,241,0.45) !important;
}

/* ── Red Dotted Circle Service Grid Cards (Image Match UI) ── */
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.service-grid-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 22px 14px 18px !important;
    text-align: center !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    min-height: 145px;
    height: 100%;
}

.service-grid-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(231, 76, 60, 0.25) !important;
}

.service-icon-ring {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 2.5px dotted #ff1e3c;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    position: relative;
    background: #ffffff;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-grid-card:hover .service-icon-ring {
    transform: scale(1.05);
    border-color: #d90429;
}

.service-icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #042954 0%, #083c74 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), 0 4px 10px rgba(4, 41, 84, 0.25);
}

.service-icon-inner i {
    color: #ffffff !important;
}

.service-badge-new {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ff002b;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(255, 0, 43, 0.4);
    z-index: 2;
}

.service-grid-title {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #34495e;
    line-height: 1.35;
    margin: 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* DataTables Filter Right Alignment */
.dataTables_wrapper .dataTables_filter,
div.dataTables_wrapper div.dataTables_filter {
    text-align: right !important;
    float: right !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
}

.dataTables_wrapper .dataTables_filter label,
div.dataTables_wrapper div.dataTables_filter label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-bottom: 0 !important;
}

.dataTables_wrapper .dataTables_filter input,
div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 8px !important;
}

/* ==========================================================================
   LUXURY DARK NAVY & GOLD SIDEBAR NAVIGATION UI (Matching Mockup)
   ========================================================================== */

/* 1. Left Sidebar & Brand Container */
.vertical-menu {
    background: linear-gradient(180deg, #07152b 0%, #091a34 50%, #051224 100%) !important;
    border-right: 1px solid rgba(245, 158, 11, 0.12) !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.45) !important;
    width: 285px !important;
}

.navbar-brand-box {
    background: #ffffff !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
    width: 285px !important;
}

.main-content {
    margin-left: 285px !important;
}

@media (max-width: 992px) {
    .main-content {
        margin-left: 0 !important;
    }
}

/* Sidebar Scrollbar */
.vertical-menu [data-simplebar] {
    height: 100% !important;
}

.vertical-menu ::-webkit-scrollbar {
    width: 5px !important;
}

.vertical-menu ::-webkit-scrollbar-track {
    background: #07152b !important;
}

.vertical-menu ::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.25) !important;
    border-radius: 4px !important;
}

.vertical-menu ::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.5) !important;
}

/* 2. Menu Wrapper & List */
#sidebar-menu {
    padding: 16px 12px 40px 12px !important;
}

#sidebar-menu .menu-title {
    display: none !important;
}

#sidebar-menu ul#side-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#sidebar-menu ul#side-menu > li {
    position: relative !important;
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
}

/* 3. Top-level Menu Anchor Links (Space-between layout) */
#sidebar-menu ul#side-menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 16px 9px 18px !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    background: transparent !important;
    border: 1.5px solid transparent !important;
    position: relative !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    user-select: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#sidebar-menu ul#side-menu > li > a:hover {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.08) 55%, rgba(9, 26, 52, 0.4) 100%) !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2) !important;
    color: #ffffff !important;
}

#sidebar-menu ul#side-menu > li > a:hover .sidebar-icon-box {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.2) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.35) !important;
}

/* 4. Active Top-level Menu Item */
#sidebar-menu ul#side-menu > li.mm-active > a,
#sidebar-menu ul#side-menu > li > a.active {
    border: 1.5px solid #f59e0b !important;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.25) 0%, rgba(9, 26, 52, 0.95) 100%) !important;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.25), inset 0 0 12px rgba(245, 158, 11, 0.06) !important;
    color: #ffffff !important;
}

#sidebar-menu ul#side-menu > li.mm-active > a:hover,
#sidebar-menu ul#side-menu > li > a.active:hover {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.32) 0%, rgba(9, 26, 52, 0.95) 100%) !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35), inset 0 0 12px rgba(245, 158, 11, 0.08) !important;
}

/* Golden Vertical Indicator on Active Left Edge (Properly spaced) */
#sidebar-menu ul#side-menu > li.mm-active > a::before,
#sidebar-menu ul#side-menu > li > a.active::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 5px !important;
    height: 26px !important;
    background: #f59e0b !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.9) !important;
}

/* 5. Left and Right Groups for Space-between */
.menu-left-group {
    display: flex !important;
    align-items: center !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
}

.menu-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

/* 5. Icon Box */
.sidebar-icon-box {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
    background: rgba(245, 158, 11, 0.08) !important;
    color: #f59e0b !important;
    font-size: 14.5px !important;
    margin-right: 10px !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
}

.sidebar-icon-box i {
    color: #f59e0b !important;
    font-size: 14.5px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    min-width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Outlined glowing box for active single item (e.g. Dashboard) */
#sidebar-menu ul#side-menu > li.mm-active:not(.menu-item) > a .sidebar-icon-box {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35) !important;
}

#sidebar-menu ul#side-menu > li.mm-active:not(.menu-item) > a .sidebar-icon-box i {
    color: #f59e0b !important;
}

/* Solid gold filled box with white icon for active parent module (e.g. Print Services) */
#sidebar-menu ul#side-menu > li.menu-item.mm-active > a .sidebar-icon-box {
    background: linear-gradient(135deg, #f5a623 0%, #d97706 100%) !important;
    border-color: #f5a623 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.45) !important;
}

#sidebar-menu ul#side-menu > li.menu-item.mm-active > a .sidebar-icon-box i {
    color: #ffffff !important;
}

/* Menu Text (No ellipsis truncation) */
.menu-item-text {
    flex-grow: 1 !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.1px !important;
}

/* 6. Sidebar Price Badge Pill */
.sidebar-price-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #0b1523 !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    padding: 2.5px 8px !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35) !important;
    letter-spacing: 0.2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
    margin-left: auto !important;
    margin-right: 6px !important;
    transition: all 0.2s ease !important;
    text-transform: none !important;
    border: none !important;
    flex-shrink: 0 !important;
}

.sidebar-price-badge:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.55) !important;
}

/* 7. Chevrons */
.single-chevron {
    color: #cbd5e1 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    margin-left: auto !important;
    opacity: 0.85 !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
    flex-shrink: 0 !important;
}

#sidebar-menu ul#side-menu > li > a:hover .single-chevron,
#sidebar-menu ul#side-menu > li.mm-active > a .single-chevron {
    color: #f59e0b !important;
    transform: translateX(2px) !important;
}

/* MetisMenu has-arrow chevron override (Font Awesome chevron) */
#sidebar-menu .has-arrow:after {
    content: "\f078" !important; /* fa-chevron-down */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    margin-left: auto !important;
    color: #cbd5e1 !important;
    font-size: 11px !important;
    transition: transform 0.25s ease, color 0.2s ease !important;
    transform: none !important;
    float: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

#sidebar-menu li.mm-active > .has-arrow:after {
    content: "\f077" !important; /* fa-chevron-up */
    color: #f59e0b !important;
    transform: none !important;
}

#sidebar-menu ul#side-menu > li > a:hover .has-arrow:after {
    color: #f59e0b !important;
}

/* 8. Nested Submenu Card Container (Collapsible!) */
#sidebar-menu ul.sub-menu {
    display: none !important;
    background: rgba(6, 20, 39, 0.9) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: 16px !important;
    padding: 8px 6px !important;
    margin: 8px 0 6px 0 !important;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

#sidebar-menu ul.sub-menu.mm-show {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

#sidebar-menu ul.sub-menu.mm-collapsing {
    display: block !important;
}

#sidebar-menu ul.sub-menu li {
    width: 100% !important;
    margin: 0 !important;
}

#sidebar-menu ul.sub-menu li a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    color: #f1f5f9 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

#sidebar-menu ul.sub-menu li a:hover {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.06) 100%) !important;
    color: #ffffff !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
}

#sidebar-menu ul.sub-menu li a .child-chevron {
    color: #f59e0b !important;
    font-size: 10.5px !important;
    margin-right: 10px !important;
    opacity: 0.9 !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
}

#sidebar-menu ul.sub-menu li a:hover .child-chevron {
    transform: translateX(3px) !important;
}

#sidebar-menu ul.sub-menu li a .child-label {
    flex-grow: 1 !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #f1f5f9 !important;
}

#sidebar-menu ul.sub-menu li a .child-lock-icon {
    color: #f59e0b !important;
    font-size: 13px !important;
    margin-left: auto !important;
    opacity: 0.95 !important;
    flex-shrink: 0 !important;
}

/* 9. Active Submenu Item (Golden Capsule Highlight, e.g. Ration Card in mockup) */
#sidebar-menu ul.sub-menu li.mm-active > a,
#sidebar-menu ul.sub-menu li a.active {
    background: linear-gradient(135deg, #c48316 0%, #a26809 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border-color: rgba(245, 158, 11, 0.5) !important;
    box-shadow: 0 3px 12px rgba(196, 131, 22, 0.4) !important;
}

#sidebar-menu ul.sub-menu li.mm-active > a .child-label,
#sidebar-menu ul.sub-menu li a.active .child-label {
    color: #ffffff !important;
    font-weight: 600 !important;
}

#sidebar-menu ul.sub-menu li.mm-active > a .child-chevron,
#sidebar-menu ul.sub-menu li a.active .child-chevron {
    color: #fef08a !important;
}

#sidebar-menu ul.sub-menu li.mm-active > a .child-lock-icon,
#sidebar-menu ul.sub-menu li a.active .child-lock-icon {
    color: #fef08a !important;
}

/* 10. Logout & Bottom Items */
.sidebar-logout-item a {
    color: #ff6b6b !important;
}
.sidebar-logout-item .logout-icon-box {
    border-color: rgba(255, 107, 107, 0.35) !important;
    background: rgba(255, 107, 107, 0.08) !important;
}
.sidebar-logout-item:hover a {
    background: rgba(255, 107, 107, 0.12) !important;
}

/* 11. Collapsed Sidebar Responsiveness */
.vertical-collpsed .vertical-menu {
    width: 70px !important;
}
.vertical-collpsed .main-content {
    margin-left: 70px !important;
}
.vertical-collpsed .navbar-brand-box {
    width: 70px !important;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li > a {
    padding: 12px !important;
    justify-content: center !important;
}
.vertical-collpsed .vertical-menu #sidebar-menu .menu-item-text,
.vertical-collpsed .vertical-menu #sidebar-menu .sidebar-price-badge,
.vertical-collpsed .vertical-menu #sidebar-menu .single-chevron,
.vertical-collpsed .vertical-menu #sidebar-menu .has-arrow:after {
    display: none !important;
}
.vertical-collpsed .vertical-menu #sidebar-menu .sidebar-icon-box {
    margin-right: 0 !important;
}

