
    /* Global Styles & Variables */
    :root {
      --bg-body: #f8fafc;
      --bg-surface: #ffffff;
      --border-color: #e2e8f0;
      --text-main: #0f172a;
      --text-muted: #64748b;
      --primary-color: #2563eb;
      --primary-hover: #1d4ed8;
      --primary-light: #eff6ff;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
       --primary-color: #dd2b1c;
  --primary-hover: #b92317;
  --primary-light: #fef0ee;
    }


.btn-primary {
    background-color: #dd2b1c !important;
    border-color: #dd2b1c !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #b92317 !important;
    border-color: #b92317 !important;
    color: #fff !important;
}

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-body);
      color: var(--text-main);
      font-size: 0.875rem;
      overflow-x: hidden;
    }

    /* Top Navbar */
    .top-navbar {
      background-color: var(--bg-surface);
      border-bottom: 1px solid var(--border-color);
      height: 64px;
      position: sticky;
      top: 0;
      z-index: 1030;
    }

    .brand-logo {
      font-weight: 700;
      font-size: 1.125rem;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .brand-icon {
      width: 36px;
      height: 36px;
      background-color: var(--primary-light);
      color: var(--primary-color);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
    }

    .nav-pill-item .nav-link {
      color: var(--text-muted);
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .nav-pill-item .nav-link.active,
    .nav-pill-item .nav-link:hover {
      background-color: #f1f5f9;
      color: var(--primary-color);
    }

    .user-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      object-fit: cover;
    }

    .top-icon-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      border: 1px solid var(--border-color);
      background: var(--bg-surface);
      position: relative;
      cursor: pointer;
    }

    .top-icon-btn:hover {
      background-color: #f8fafc;
      color: var(--text-main);
    }

    .top-icon-btn .badge-dot {
      position: absolute;
      top: 2px;
      right: 2px;
      background-color: #ef4444;
      color: white;
      font-size: 0.65rem;
      padding: 2px 5px;
      border-radius: 10px;
      font-weight: 600;
    }

    /* Main Layout */
    .app-layout {
      display: flex;
      min-height: calc(100vh - 64px);
    }

    /* Sidebar Navigation */
    .sidebar-menu {
      width: 250px;
      background-color: var(--bg-surface);
      border-right: 1px solid var(--border-color);
      padding: 1.25rem 0.75rem;
      flex-shrink: 0;
    }

    .menu-heading {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #94a3b8;
      padding: 0.75rem 0.75rem 0.35rem 0.75rem;
    }

    .sidebar-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.6rem 0.75rem;
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 500;
      border-radius: var(--radius-sm);
      margin-bottom: 2px;
      transition: all 0.15s ease;
      cursor: pointer;
    }

    .sidebar-link-content {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .sidebar-link i {
      font-size: 1.1rem;
    }

    .sidebar-link:hover,
    .sidebar-link.active {
      background-color: #f1f5f9;
      color: var(--primary-color);
    }

    .sidebar-link.active {
      font-weight: 600;
    }

    /* Content Area */
    .main-content {
      flex-grow: 1;
      padding: 1.5rem;
      max-width: 100%;
      overflow-x: hidden;
    }

    /* Page Views Switcher */
    .page-view {
      /*display: none;*/
      width: 100%;
    }

    .page-view.active {
      display: block;
    }

    /* Stat Cards */
    .stat-card {
      background-color: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      box-shadow: var(--shadow-sm);
      position: relative;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .stat-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .stat-icon-wrapper {
      width: 44px;
      height: 44px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.35rem;
    }

    .icon-blue { background-color: #eff6ff; color: #2563eb; }
    .icon-green { background-color: #f0fdf4; color: #16a34a; }
    .icon-orange { background-color: #fff7ed; color: #ea580c; }
    .icon-purple { background-color: #faf5ff; color: #9333ea; }
    .icon-pink { background-color: #fff1f2; color: #e11d48; }

    .stat-value {
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.2;
      margin-top: 0.5rem;
    }

    .stat-label {
      color: var(--text-muted);
      font-weight: 500;
      font-size: 0.85rem;
    }

    .stat-trend {
      font-size: 0.75rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 0.35rem;
    }

    .trend-up { color: #16a34a; }
    .trend-down { color: #dc2626; }

    .stat-arrow-btn {
      position: absolute;
      top: 1.25rem;
      right: 1.25rem;
      color: #94a3b8;
      border: 1px solid #cbd5e1;
      width: 28px;
      height: 28px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      text-decoration: none;
      transition: all 0.2s;
      cursor: pointer;
    }

    .stat-arrow-btn:hover {
      background-color: #f1f5f9;
      color: var(--text-main);
    }

    /* Custom Cards & Tables */
    .custom-card {
      background-color: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }

    .card-header-custom {
      padding: 1rem 1.25rem;
      border-bottom: 1px solid var(--border-color);
      background-color: var(--bg-surface);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
    }

    .table-custom {
      margin-bottom: 0;
      width: 100% !important;
    }

    .table-custom th {
      background-color: #f8fafc;
      color: var(--text-muted);
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 0.85rem 1rem;
      border-bottom: 1px solid var(--border-color);
      white-space: nowrap;
    }

    .table-custom td {
      padding: 0.85rem 1rem;
      vertical-align: middle;
      border-bottom: 1px solid var(--border-color);
      font-size: 0.875rem;
    }

    .table-custom tbody tr:last-child td {
      border-bottom: none;
    }

    .table-custom tbody tr:hover {
      background-color: #f8fafc;
    }

    /* DataTables Custom Polish */
    div.dataTables_wrapper div.dataTables_length label,
    div.dataTables_wrapper div.dataTables_filter label {
      font-size: 0.825rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    div.dataTables_wrapper div.dataTables_filter input {
      border: 1px solid #cbd5e1;
      border-radius: var(--radius-sm);
      padding: 0.35rem 0.75rem;
      font-size: 0.85rem;
      margin-left: 0.5rem;
    }

    div.dataTables_wrapper div.dataTables_length select {
      border: 1px solid #cbd5e1;
      border-radius: var(--radius-sm);
      padding: 0.35rem 32px;
      font-size: 0.85rem;
      margin: 0 0.4rem;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.page-item.active .page-link {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
      color: #ffffff;
    }

    .dataTables_wrapper .dataTables_info {
      font-size: 0.8rem;
      color: var(--text-muted);
      padding-top: 0.75rem;
    }

    .dt-container-padding {
      padding: 1.25rem;
    }

    /* Badges */
    .badge-status {
      padding: 0.35em 0.65em;
      font-size: 0.725rem;
      font-weight: 600;
      border-radius: 20px;
    }

    .badge-active { background-color: #dcfce7; color: #15803d; }
    .badge-pending { background-color: #fef3c7; color: #b45309; }
    .badge-inactive { background-color: #fee2e2; color: #b91c1c; }

    /* Quick Action Cards */
    .quick-action-card {
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 1rem;
      text-align: center;
      background-color: var(--bg-surface);
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none;
      color: var(--text-main);
      display: flex;
      flex-direction: column;
      align-items: center;
      height: 100%;
      gap: 8px;
    }

    .quick-action-card i {
      font-size: 1.5rem;
      color: var(--primary-color);
    }

    .quick-action-card:hover {
      border-color: var(--primary-color);
      background-color: var(--primary-light);
      color: var(--primary-color);
      transform: translateY(-2px);
    }

    /* Activity Timeline */
    .activity-item {
      display: flex;
      gap: 12px;
      padding-bottom: 1rem;
      position: relative;
    }

    .activity-item:not(:last-child)::before {
      content: '';
      position: absolute;
      top: 32px;
      left: 15px;
      bottom: 0;
      width: 2px;
      background-color: var(--border-color);
    }

    .activity-icon {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      flex-shrink: 0;
      z-index: 1;
    }

    /* Forms Custom Styling */
    .form-label {
      font-weight: 600;
      font-size: 0.8rem;
      color: #334155;
      margin-bottom: 0.35rem;
    }

    .form-control, .form-select {
      border: 1px solid #cbd5e1;
      border-radius: var(--radius-sm);
      padding: 0.55rem 0.85rem;
      font-size: 0.875rem;
    }

    .form-control:focus, .form-select:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

    /* Digital Card Smartphone Frame Preview */
    .phone-preview-container {
      width: 320px;
      height: 620px;
      background: #0f172a;
      border-radius: 36px;
      padding: 12px;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
      margin: 0 auto;
      border: 4px solid #334155;
      position: relative;
    }

    .phone-screen {
      width: 100%;
      height: 100%;
      background: #ffffff;
      border-radius: 26px;
      overflow-y: auto;
      position: relative;
    }

    .phone-screen::-webkit-scrollbar {
      display: none;
    }

    .phone-card-header {
      height: 120px;
      background: linear-gradient(135deg, #2563eb, #4f46e5);
      position: relative;
    }

    .phone-avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 3px solid white;
      position: absolute;
      bottom: -40px;
      left: 50%;
      transform: translateX(-50%);
      object-fit: cover;
    }

    .card-theme-box {
      border: 2px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 10px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .card-theme-box.selected {
      border-color: var(--primary-color);
      background-color: var(--primary-light);
    }

    /* Responsive Adjustments */
    @media (max-width: 991.98px) {
      .sidebar-menu {
        position: fixed;
        left: -260px;
        top: 64px;
        bottom: 0;
        z-index: 1020;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
      }
      .sidebar-menu.show {
        left: 0;
      }
    }


.sorting.dtr-hidden{
  display: block !important;
}



  /* Ambient Background Visual Accents */
    .bg-grid-pattern {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: radial-gradient(#cbd5e1 0.75px, transparent 0.75px);
      background-size: 24px 24px;
      opacity: 0.4;
      z-index: 0;
      pointer-events: none;
    }

    .ambient-glow-1 {
      position: absolute;
      top: 15%;
      left: 20%;
      width: 320px;
      height: 320px;
      background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
      filter: blur(50px);
      z-index: 0;
      pointer-events: none;
    }

    .ambient-glow-2 {
      position: absolute;
      bottom: 15%;
      right: 20%;
      width: 380px;
      height: 380px;
      background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
      filter: blur(60px);
      z-index: 0;
      pointer-events: none;
    }

    /* Centered Login Card Container */
    .login-container {
          position: relative;
    z-index: 10;
    width: 100%;
    /*max-width: 440px;*/
    /* margin: 20px auto; */
    height: 100vh;
    display: flex;
    justify-content: left;
    align-items: center;
    margin-left: 20px;
    }
@media (max-width:700px){
  .login-container{
       margin-left: 0px;
      justify-content: center;
      height: 100vh;
  }  
}
    .login-card {
      background-color: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(226, 232, 240, 0.9);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      padding: 2.5rem 2.25rem;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .login-card:hover {
      box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.1), 0 10px 12px -6px rgba(15, 23, 42, 0.05);
    }

    /* Brand Header with Glowing Icon */
    .brand-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-bottom: 2rem;
    }

    .brand-icon-wrapper {
      position: relative;
      margin-bottom: 1rem;
    }

    .brand-icon {
      width: 54px;
      height: 54px;
      background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
      color: var(--primary-color);
      border: 1px solid #bfdbfe;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.65rem;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
      transition: transform 0.3s ease;
    }

    .brand-header:hover .brand-icon {
      transform: scale(1.05) rotate(-3deg);
    }

    .brand-title {
      font-weight: 800;
      font-size: 1.35rem;
      color: var(--text-main);
      letter-spacing: -0.02em;
      line-height: 1.25;
    }

    .brand-subtitle {
      color: var(--text-muted);
      font-weight: 500;
      font-size: 0.825rem;
      margin-top: 0.35rem;
    }

    /* Quick Demo Credentials Pill */
    .demo-pill-container {
      background-color: var(--primary-light);
      border: 1px dashed #bfdbfe;
      border-radius: var(--radius-sm);
      padding: 0.5rem 0.75rem;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .demo-pill-text {
      font-size: 0.75rem;
      color: #1e40af;
      font-weight: 500;
    }

    .demo-btn {
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--primary-color);
      background: #ffffff;
      border: 1px solid #93c5fd;
      border-radius: 6px;
      padding: 0.2rem 0.55rem;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .demo-btn:hover {
      background: var(--primary-color);
      color: #ffffff;
      border-color: var(--primary-color);
    }

    /* Form Styles */
    .form-group {
      margin-bottom: 1.25rem;
    }

    .form-label {
      font-weight: 600;
      font-size: 0.8rem;
      color: #334155;
      margin-bottom: 0.4rem;
      display: flex;
      justify-content: space-between;
    }

    .input-group {
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
    }

    .input-group-text {
      background-color: #f8fafc;
      border: 1px solid #cbd5e1;
      border-right: none;
      color: #94a3b8;
      border-top-left-radius: var(--radius-sm);
      border-bottom-left-radius: var(--radius-sm);
      padding-left: 0.9rem;
      padding-right: 0.75rem;
      transition: color 0.2s ease, background-color 0.2s ease;
    }

    .form-control {
      border: 1px solid #cbd5e1;
      border-radius: var(--radius-sm);
      padding: 0.65rem 0.85rem;
      font-size: 0.875rem;
      color: var(--text-main);
      background-color: #ffffff;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .input-group .form-control {
      border-left: none;
      border-top-right-radius: var(--radius-sm);
      border-bottom-right-radius: var(--radius-sm);
    }

    .input-group .form-control.has-toggle {
      border-right: none;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }

    .btn-toggle-password {
      background-color: #ffffff;
      border: 1px solid #cbd5e1;
      border-left: none;
      color: #94a3b8;
      border-top-right-radius: var(--radius-sm);
      border-bottom-right-radius: var(--radius-sm);
      padding-left: 0.75rem;
      padding-right: 0.85rem;
      display: flex;
      align-items: center;
      cursor: pointer;
      transition: color 0.15s ease, border-color 0.2s ease;
    }

    .btn-toggle-password:hover {
      color: var(--text-main);
    }

    /* Dynamic Focus Effects */
    .input-group:focus-within .input-group-text {
      border-color: var(--primary-color);
      color: var(--primary-color);
      background-color: var(--primary-light);
    }

    .input-group:focus-within .form-control,
    .input-group:focus-within .btn-toggle-password {
      border-color: var(--primary-color);
    }

    .input-group:focus-within {
      box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
    }

    .form-control:focus {
      box-shadow: none;
    }

    /* Checkbox & Options */
    .form-check-input {
      border-color: #cbd5e1;
      border-radius: 5px;
      width: 1.05em;
      height: 1.05em;
      margin-top: 0.15em;
      cursor: pointer;
    }

    .form-check-input:checked {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
    }

    .form-check-input:focus {
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
      border-color: var(--primary-color);
    }

    .form-check-label {
      font-size: 0.825rem;
      color: var(--text-muted);
      cursor: pointer;
      user-select: none;
      font-weight: 500;
    }

    .forgot-password-link {
      font-size: 0.825rem;
      color: var(--primary-color);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.15s ease;
    }

    .forgot-password-link:hover {
      color: var(--primary-hover);
      text-decoration: underline;
    }

    /* Submit Button */
    .btn-submit {
      background:#dc2b1c;
      border: none;
      color: #ffffff;
      font-weight: 600;
      padding: 0.75rem 1rem;
      border-radius: var(--radius-sm);
      font-size: 0.875rem;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
      margin-top: 1.5rem;
      box-shadow: var(--shadow-glow);
    }

    .btn-submit:hover {
      background:#dc2b1c;
      transform: translateY(-1px);
      box-shadow: 0 15px 32px -6px rgba(37, 99, 235, 0.32);
      color: #ffffff;
    }

    .btn-submit:active {
      transform: translateY(0);
    }

    /* Security Trust Badge */
    .security-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: 0.725rem;
      color: #94a3b8;
      font-weight: 500;
      margin-top: 1.5rem;
      padding-top: 1.25rem;
      border-top: 1px solid var(--border-color);
    }

    /* Footer Note */
    .login-footer {
      text-align: center;
      margin-top: 1.5rem;
      color: var(--text-muted);
      font-size: 0.75rem;
    }





    /*toast */
      .custom-toast {
        width: 380px;
        max-width: calc(100vw - 30px);
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    .toast-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 50%;
        background: #e9f8ef;
        color: #198754;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 21px;
    }

    .toast-title {
        color: #212529;
        font-size: 16px;
        font-weight: 600;
    }

    .toast-message {
        color: #6c757d;
        font-size: 14px;
        line-height: 1.5;
    }

    .custom-toast .btn-close {
        font-size: 11px;
        opacity: .5;
    }

    .toast-progress {
        height: 3px;
        background: #198754;
        animation: toastProgress 4s linear forwards;
    }

    @keyframes toastProgress {
        from {
            width: 100%;
        }

        to {
            width: 0%;
        }
    }

    .toast.showing,
    .toast.show {
        animation: toastSlideIn .4s ease;
    }

    @keyframes toastSlideIn {
        from {
            opacity: 0;
            transform: translateX(40px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @media (max-width: 575px) {
        .toast-container {
            left: 10px;
            right: 10px;
        }

        .custom-toast {
            width: 100%;
        }
    }
    
    
    
    
    
    
    
    
    
    /* ==============================
   Premium Preloader
================================= */

#preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Loader */
.preloader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(221, 43, 28, 0.12);
    border-top-color: #dd2b1c;
    border-right-color: #dd2b1c;
    animation: preloader-spin 0.9s linear infinite;
}

/* Inner Ring */
.preloader-spinner::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid rgba(221, 43, 28, 0.12);
    border-bottom-color: #dd2b1c;
    animation: preloader-spin-reverse 1.2s linear infinite;
}

/* Center Dot */
.preloader-spinner::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #dd2b1c;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px rgba(221, 43, 28, 0.08),
                0 0 15px rgba(221, 43, 28, 0.25);
    animation: preloader-pulse 1s ease-in-out infinite;
}

/* Outer Rotation */
@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Inner Rotation */
@keyframes preloader-spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

/* Center Pulse */
@keyframes preloader-pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}




.logo{
    width: 220px;
}






/*Manage employee page Responsiveness */
/* =========================================================
   EMPLOYEE LIST - MOBILE RESPONSIVE FIX
   ========================================================= */

/* Keep desktop exactly as it is */
#page-employee-list .table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Prevent DataTables from squeezing columns */
#page-employee-list .datatable {
    width: 100% !important;
    min-width: 900px !important;
}

/* Keep all columns visible when DataTables Responsive is active */
#page-employee-list .datatable th,
#page-employee-list .datatable td {
    white-space: normal;
}

/* Prevent DataTables from hiding columns on mobile */
#page-employee-list .datatable th,
#page-employee-list .datatable td {
    display: table-cell !important;
}

/* Hide DataTables responsive child rows */
#page-employee-list .datatable .child,
#page-employee-list .datatable tr.child {
    display: none !important;
}

/* Hide responsive expand/control column */
#page-employee-list .datatable .dtr-control {
    display: table-cell !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    /* Main page spacing */
    #page-employee-list {
        width: 100%;
        padding: 0;
    }

    /* Breadcrumb */
    #page-employee-list .breadcrumb {
        font-size: 13px;
        margin-bottom: 15px !important;
    }

    /* Page heading + Add Employee button */
    #page-employee-list > .d-flex {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px !important;
    }

    #page-employee-list h4 {
        font-size: 22px;
        margin-bottom: 0 !important;
    }

    #page-employee-list .btn-primary {
        font-size: 14px;
        padding: 9px 14px;
        white-space: nowrap;
    }

    /* Card containing table */
    #page-employee-list .custom-card {
        width: 100%;
        padding: 12px !important;
        border-radius: 10px;
        overflow: hidden;
    }

    /* DataTable wrapper */
    #page-employee-list .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden;
        padding-bottom: 8px;
    }

    /* Table stays wide and scrolls horizontally */
    #page-employee-list .datatable {
        width: 950px !important;
        min-width: 950px !important;
        margin-bottom: 0;
    }

    /* Table header */
    #page-employee-list .datatable thead th {
        font-size: 11px;
        padding: 12px 10px !important;
        white-space: nowrap !important;
    }

    /* Table cells */
    #page-employee-list .datatable tbody td {
        font-size: 13px;
        padding: 12px 10px !important;
        vertical-align: middle;
    }

    /* Employee image */
    #page-employee-list .datatable tbody td img {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px;
        object-fit: cover;
    }

    /* Employee name */
    #page-employee-list .datatable tbody td .fw-semibold {
        font-size: 13px;
        white-space: nowrap;
    }

    /* Email */
    #page-employee-list .datatable tbody td small {
        font-size: 11px;
        white-space: nowrap;
    }

    /* Department and designation */
    #page-employee-list .datatable tbody td:nth-child(3) {
        min-width: 180px;
    }

    /* Branch */
    #page-employee-list .datatable tbody td:nth-child(4) {
        min-width: 130px;
    }

    /* Contact */
    #page-employee-list .datatable tbody td:nth-child(5) {
        min-width: 120px;
        white-space: nowrap;
    }

    /* Status */
    #page-employee-list .datatable tbody td:nth-child(6) {
        min-width: 100px;
        white-space: nowrap;
    }

    /* Actions */
    #page-employee-list .datatable tbody td:nth-child(7) {
        min-width: 100px;
        white-space: nowrap;
    }

    #page-employee-list .datatable tbody td:nth-child(7) .btn {
        width: 34px;
        height: 34px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* DataTable top controls */
    #page-employee-list .dt-container-padding .dataTables_wrapper {
        width: 100%;
    }

    #page-employee-list .dataTables_length,
    #page-employee-list .dataTables_filter {
        margin-bottom: 10px;
    }

    /* Search box */
    #page-employee-list .dataTables_filter input {
        max-width: 180px;
        width: 100%;
    }

    /* DataTable bottom information */
    #page-employee-list .dataTables_info {
        font-size: 12px;
        margin-top: 10px;
    }

    /* Pagination */
    #page-employee-list .dataTables_paginate {
        margin-top: 10px;
    }

    /* Make horizontal scrolling visually clean */
    #page-employee-list .table-responsive::-webkit-scrollbar {
        height: 6px;
    }

    #page-employee-list .table-responsive::-webkit-scrollbar-thumb {
        background: #c7c7c7;
        border-radius: 10px;
    }

    #page-employee-list .table-responsive::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
}


/* =========================================================
   EXTRA SMALL DEVICES
   ========================================================= */

@media (max-width: 480px) {

    #page-employee-list .custom-card {
        padding: 8px !important;
    }

    #page-employee-list .datatable {
        width: 900px !important;
        min-width: 900px !important;
    }

    #page-employee-list .datatable thead th {
        font-size: 10px;
        padding: 10px 8px !important;
    }

    #page-employee-list .datatable tbody td {
        padding: 10px 8px !important;
    }

    #page-employee-list .datatable tbody td img {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px;
    }

    #page-employee-list .btn-primary {
        font-size: 13px;
        padding: 8px 12px;
    }
}






.toast-container{
    position: fixed;
    top: 0px;
    right: 0;
}

@media (max-width: 600px){
    .toast-container{
        bottom: 0px;
                top: auto;
    }
}









