﻿    .loader {
      position: fixed;
      z-index: 999;
      height: 2em;
      width: 2em;
      overflow: visible;
      margin: auto;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      aspect-ratio: 1;
      background: #685DD8;
      box-shadow: 0 0 60px 15px #685DD8;
      transform: translate(-80px);
      clip-path: inset(0);
      animation:
        l4-1 0.5s ease-in-out infinite alternate,
        l4-2 1s   ease-in-out infinite;
    }
    @keyframes l4-1 {
      100% {transform: translateX(80px)}
    }
    @keyframes l4-2 {
       33% {clip-path: inset(0 0 0 -100px)}
       50% {clip-path: inset(0 0 0 0)     }
       83% {clip-path: inset(0 -100px 0 0)}
    }

    table.dataTable {
        border: none;
    }
    table.dataTable td,
    table.dataTable th {
        border: 1px solid #dee2e6;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        border: none;
        color: #6c757d;
    }

       table.dataTable td {
        padding: 6px 8px; /* Reduced padding for compact rows */
        border: 0.8px solid #dee2e6;
    }

    table.dataTable thead th {
        border-bottom: 0.8px solid #dee2e6;
        background-color: #f8f9fa;
        color: #343a40;
        padding: 8px;
    }

.upload-container {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 100%;
}

#impPrev {
    height: 60px;
    width: 60px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.file-upload-input {
    flex: 1;
    font-size: 14px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* CSS */
.blink-alert {
    animation: blink 1s ease-in-out 4;  /* Blink 4 times */
    animation-fill-mode: forwards;       /* Keep the final state after animation */
}

/* Blinking animation */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

#BodyContent_AsyncFileUpload_ctl04 {
    color: transparent;
    text-indent: -9999px; /* Moves text out of view */
    width: 120px; /* Adjust width based on button size */
}

.faQR {
    width: 150px !important;
}

.faQR .form-control {
    flex: 1;
    min-width: 0;
}

.faQR .btn {
    flex: 0 0 auto;
}

.remove-btn-attr {
    color: red;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
    cursor: pointer;
}

.controlGrid {
    width: 100%;
    font-size: 12px; /* Small text */
    border-collapse: collapse;
}

/* Add hover effect for table rows */
.controlGrid tbody tr:hover {
    background-color: #EAE8FD; /* Light blue background on hover */
    transition: background-color 0.2s ease-in-out;
}

.controlGrid th, .controlGrid td {
    padding: 2px;
    border: 1px solid #ddd;
}

.controlGrid th {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: left;
}

/* Ensure pagination is aligned to the left or center properly */
.controlGrid .pagination {
    display: flex;
    justify-content: flex-start; /* Aligns pagination to the left */
    align-items: center;
    list-style: none;
    padding: 5px 0;
    gap: 5px;
    margin-left: 0px; /* Adjust if needed */
}

/* Pagination button styling */
.controlGrid .pagination a, 
.controlGrid .pagination span {
    text-decoration: none;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
}

/* Hover effect */
.controlGrid .pagination a:hover {
    background-color: #007bff;
    color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Active page styling */
.controlGrid .pagination .current {
    font-weight: bold;
    background-color: #007bff;
    color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Remove any border from GridView */
.controlGrid {
    border: none !important;
}

/* Remove border from pagination row */
.controlGrid .GridViewPager,
.controlGrid .pagination {
    border: none !important;
    background: none !important;
}

@media (max-width: 768px) {
    .controlGrid {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}



 .hide-box {
        display: none; /* Hides the TextBox */
    }

    .small-font {
        font-size: 5px !important;
    }

.linear-bg {
  background: repeating-linear-gradient(
    -45deg,
    #F5F5F5 0,
    #F5F5F5 2px,
    #ffffff 2px,
    #ffffff 6px
  );
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 3px;
}

 .table-condensed td, .table-condensed th {
      padding: 2px 5px; /* Very small padding */
    }

  .disabled-input {
    background-color: #e9ecef; /* Light gray background to indicate disabled state */
    color: #6c757d; /* Gray text */
    border: 1px solid #d6d8db; /* Light border */
    pointer-events: none; /* Prevent user interaction */
  }

  .star {
  color: red;         /* optional: make it red */
  font-weight: bold;  /* makes it bold */
  font-size: 16px;    /* makes it bigger */
}

/* Wrapper */
.target-box-wrapper {
    position: relative;
    display: inline-block;
}

/* Input box with thin gray line */
.target-box-input-shadow {
    border: none;
    border-bottom: 1px solid #555555;  /* thin line */
    padding: 2px 4px;
    outline: none;
    box-shadow: none;
    background: transparent;
    font-size: 14px;
}

/* Placeholder BELOW line */
.target-box-placeholder {
    position: absolute;
    left: 4px;
    top: 100%;          /* below the line */
    margin-top: 0px;    /* decreased margin */
    font-size: 8px;    /* smaller font */
    color: #848484;     /* user requested color */
    pointer-events: none;
}

.slab-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.slab-box {
    border: 1px solid #ddd;
    padding: 12px;
    width: 180px;
    border-radius: 8px;
    background: #fff;
}

/* Make parent span behave like flex */
.dl-horizontal {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* DataList auto-wraps items in spans → force them to be flex items */
.dl-horizontal > span {
    display: flex !important; 
}

/* slab-item span becomes block inside flex */
.slab-item {
    display: block !important;
}
