#bulk-action-form label.error {
    display: none !important;
}

.previous::before {
    content: "‹";
    /* Unicode left arrow */
    font-size: 1.25rem;
    display: inline-block;
}

.next::before {
    content: "›";
    /* Unicode right arrow */
    font-size: 1.25rem;
    display: inline-block;
}
/* Base Select2 container styling */
.select2-container--default .select2-selection--single {
    width: 100% !important;
    /* Critical for responsiveness */
    height: auto;
    min-height: calc(2.25rem + 2px);
    /* fallback for consistency with .form-control */
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem;
    line-height: 1.5 !important;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Text inside the select box */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #212529;
    padding-left: 0;
    padding-right: 0;
    line-height: inherit !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow icon container */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0 !important;
    right: 0.75rem;
    display: flex;
    align-items: center;
    pointer-events: none;
    /* Prevent interaction blocking */
}

/* Customize the dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #212529 transparent transparent transparent;
    border-width: 6px 6px 0 6px;
}

/* Responsive width fix for full-width select boxes */
.select2-container {
    /* width: 100% !important; */
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #3399ff !important;
    box-shadow: 0 0 6px 2px rgba(51, 153, 255, 0.4) !important;
    transition: all 0.3s ease;
}

.select2-selection--single {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 10px;
    transition: all 0.3s ease;
}

/*
 * Visitor Page
 */
.visitor-card {
    max-width: 300px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.visitor-card span.name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.visitor-card .info {
    margin-top: 8px;
    color: #555;
    line-height: 1.4;
}

.info-card {
    max-width: 300px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.info-card span.name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.info-card .info {
    margin-top: 8px;
    color: #555;
    line-height: 1.4;
}

  .header-bg {
      background-image: url("../images/header-1.png");
      background-size: cover;
      background-position: center;
      height: 400px;
  }
  .image-thumbnail {
      width: 325px;
      height: 325px;
      max-width: 30vw;
      /* Responsive shrink on smaller screens */
      max-height: 30vw;
      object-fit: cover;
      /* Crop without stretching */
      border-radius: 6px;
      /* Slightly rounded corners */
      border: 1px solid #ddd;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      background-color: #f8f8f8;
  }

  .image-thumbnail:hover {
      transform: scale(1.03);
      transition: transform 0.3s ease-in-out;
  }

  .tab-menu.nav-tabs .nav-link {
     color: #495057;
     background-color: #f8f9fa;
     border-radius: 8px 8px 0 0;
     margin-right: 5px;
     transition: 0.3s;
 }

  .tab-menu.nav-tabs .nav-link:hover {
      background-color: #e9ecef;
      color: #0d6efd;
      /* Bootstrap primary color */
  }

  .tab-menu.nav-tabs .nav-link.active {
      color: #fff !important;
      background-color: #0d6efd !important;
      border-color: #0d6efd #0d6efd #fff;
      font-weight: 600;
  }


        .stat-icon {
            position: absolute;
            right: 15px;
            bottom: 15px;
            font-size: 3rem;
            opacity: 0.2;
            color: #FFF;
            /* faded background style */
        }

  /* Hover effect for stat card */
  .stat-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .stat-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  .bg-indigo{
background-color: #6610f2;
  }
  .bg-pink{
    background-color: #d63384;
  }

         .progress-list {
             max-width: 600px;
             margin: 20px auto;
             font-family: system-ui, Segoe UI, Roboto, Arial;
         }

         .progress-item {
             margin-bottom: 16px;
         }

         .label {
             display: flex;
             justify-content: space-between;
             align-items: center;
             margin-bottom: 6px;
             font-weight: 600;
             font-size: 14px;
             color: #374151;
         }

         .count {
             font-weight: 500;
             font-size: 13px;
             color: #6b7280;
         }

         .bar {
             background: #e5e7eb;
             border-radius: 999px;
             height: 14px;
             overflow: hidden;
         }

         .fill {
             height: 100%;
             border-radius: 999px;
             transition: width 0.6s ease;
         }

         /* Category Colors */
         .fill.present {
             background: #22c55e;
             /* green */
         }

         .fill.half {
             background: #f59e0b;
             /* orange */
         }

         .fill.late {
             background: #3b82f6;
             /* blue */
         }

         .fill.absent {
             background: #ef4444;
             /* red */
         }

         .fill.leave {
             background: #8b5cf6;
             /* purple */
         }
.fee-head-select {
    width: 300px;
    /* fixed width */
    min-width: 300px;
    /* optional */
}
/* 🧑‍🎓 Universal Avatar Style */
.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f8f9fa;
    /* subtle fallback */
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
}

/* Sizes */
.avatar-sm {
    width: 40px;
    height: 40px;
}

.avatar-md {
    width: 55px;
    /* Increased from 45px */
    height: 55px;
}

.avatar-lg {
    width: 70px;
    height: 70px;
}

/* Avatar image */
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.25s ease;
}

/* Hover zoom */
.avatar img:hover {
    transform: scale(1.08);
}

/* Placeholder icon */
.avatar i {
    font-size: 22px;
    color: #adb5bd;
}

.col-amount {
    width: 100px;
}

.col-fine {
    width: 190px;
}
.col-concession {
    width: 190px;
}


.col-paid {
    width: 150px;
}

/* Fully paid row */
tr.fee-paid {
    background-color: #d1fae5;
    /* light green */
}

/* Partially paid row */
tr.fee-partial {
    background-color: #fef3c7;
    /* light yellow */
}

/* Unpaid row (optional) */
tr.fee-unpaid {
    background-color: #fee2e2;
    /* light red */
}

/* Wrapper for checkbox */
.pay-check-wrap {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

/* Hide the default checkbox */
.pay-check-wrap input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

/* Custom checkbox box */
.pay-check-wrap .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #f3f4f6;
    /* light gray */
    border: 2px solid #9ca3af;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Hover effect */
.pay-check-wrap:hover .checkmark {
    background-color: #e5e7eb;
}

/* When checkbox is checked */
.pay-check-wrap input:checked+.checkmark {
    background-color: #16a34a;
    /* green */
    border-color: #16a34a;
}

/* Add check icon (tick mark) */
.pay-check-wrap .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Show tick when checked */
.pay-check-wrap input:checked+.checkmark::after {
    display: block;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/*
* sidemenu custom color
*/
.sidebar-header{
    background-color: #1e1e2d !important;
}
.sidebar {
    background-color: #1e1e2d;
}

.sidebar .nav-link {
    color: #d1d5db;
}

.sidebar .nav-link:hover {
    background-color: #2d2d3d;
    color: #ffffff;
}

.sidebar .nav-link.active {
    background-color: #2d2d3d;
    border-left: 4px solid #6366f1;
    color: #ffffff;
    font-weight: 600;
}

 /* Section Title */
 .dashboard-section-title {
     font-size: 13px;
     font-weight: 600;
     color: #343a40;
     margin: 14px 0 4px 4px;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 /* Divider */
 .dashboard-divider {
     border-top: 1px solid #e5e5e5;
     margin: 0 0 6px 0 !important;
 }

 /* Card wrapper spacing */
 .dashboard-container .stat-card {
     margin-bottom: 6px !important;
 }

 /* Optional - Subtle background highlighting */
 .dashboard-section-block {
     padding: 6px 8px;
     background: #f9fafb;
     border-radius: 6px;
     margin-bottom: 6px;
 }

 /* Hover effect for stat cards */
 .stat-card:hover {
     transform: scale(1.02);
     transition: 0.25s;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
 }


.birthday-highlight:hover {
    background-color: #fff7d9;
    transition: 0.3s ease-in-out;
}

.birthday-glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px #ffc107;
    }

    to {
        box-shadow: 0 0 15px #ff9800;
    }
}
