﻿/* sidebar */
body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background-color: #f0f2f5;
}

.profile-icon {
  /* position: fixed; */
  /* top: 1%; */
  right: 30px;
  z-index: 999;
  cursor: pointer;
  color: #2c3e50;
  font-size: 15px;

}

.profile-card {
  position: fixed;
  top: 70px;
  right: 20px;
  width: 280px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: none;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.profile-card.show {
  display: block;
}

.profile-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #003287;
  margin-bottom: 10px;
}

.profile-card h5 {
  margin: 5px 0 0;
  font-weight: 600;
}

.profile-card small {
  color: #6c757d;
}

.profile-card .btn {
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card .info-line {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.profile-card .info-line i {
  margin-right: 6px;
  color: #007bff;
}


.quicklink-popup {
  position: absolute;
  top: 5rem;
  right: 3rem;
  width: 250px;
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 15px;
  display: none;
  z-index: 999;
  animation: fadeIn 0.4s ease-in-out;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.quick-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  text-decoration: none;
  background: #0056b3;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 90px;
}

.quick-icon small {

  font-size: 0.85rem;
  color: #f1f1f1;
}

.quick-icon:hover {
  transform: translateY(-5px) scale(1.05);
  background: #007bff;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(13, 110, 253, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-card h6 {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #567;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.glass-card p {
  margin: 6px 0 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #222;
}

.glass-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  padding: 36px 18px 22px;
  /* more top space for centered icon */
  border-radius: 18px;
  text-align: center;
  color: #333;
  box-shadow: 0 18px 40px rgba(18, 24, 30, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: visible;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(18, 24, 30, 0.08);
}

/* Dashboard color variants */
.glass-card.glass-blue {
  /* left accent replaced by decorative pseudo-element */
  border-left: none;
  box-shadow: 0 14px 40px rgba(2, 118, 173, 0.14);
  background: #f2fbff;
  /* flat, light blue tint */
}

.glass-card.glass-blue h6 {
  color: var(--theme-blue);
}

.glass-card.glass-green {
  border-left: none;
  box-shadow: 0 14px 40px rgba(76, 167, 22, 0.14);
  background: #f7fff5;
  /* flat, light green tint */
}

.glass-card.glass-green h6 {
  color: var(--theme-green);
}

/* Support data-accent attribute used in Blade markup */
.glass-card[data-accent="blue"] {
  border-left: none;
  background: #f2fbff;
}

.glass-card[data-accent="blue"] h6 {
  color: var(--theme-blue);
}

.glass-card[data-accent="green"] {
  border-left: none;
  background: #f7fff5;
}

.glass-card[data-accent="green"] h6 {
  color: var(--theme-green);
}

.glass-card[data-accent="amber"] {
  border-left: none;
  background: #fff8e6;
}

.glass-card[data-accent="amber"] h6 {
  color: #d39e00;
}

.glass-card[data-accent="red"] {
  border-left: none;
  background: #fff4f4;
}

.glass-card[data-accent="red"] h6 {
  color: #c82333;
}

.glass-card[data-accent="indigo"] {
  border-left: none;
  background: #f4f4ff;
}

.glass-card[data-accent="indigo"] h6 {
  color: #4b0082;
}


.glass-card.glass-warning {
  border-left: 6px solid #f0ad4e;
}

.glass-card.glass-danger {
  border-left: 6px solid #d9534f;
}

/* Decorative rounded left accent for glass-card variants */
.glass-card.glass-blue:before,
.glass-card.glass-green:before,
.glass-card.glass-warning:before,
.glass-card.glass-danger:before,
.glass-card[data-accent="blue"]:before,
.glass-card[data-accent="green"]:before,
.glass-card[data-accent="amber"]:before,
.glass-card[data-accent="red"]:before,
.glass-card[data-accent="indigo"]:before {
  content: '';
  position: absolute;
  left: 14px;
  /* slight inset from edge */
  top: 14px;
  bottom: 14px;
  width: 12px;
  /* slightly thicker for visible rounded accent */
  border-radius: 20px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.06);
}

.glass-card.glass-blue:before,
.glass-card[data-accent="blue"]:before {
  background: linear-gradient(180deg, var(--theme-blue), rgba(2, 118, 173, 0.5));
}

.glass-card.glass-green:before,
.glass-card[data-accent="green"]:before {
  background: linear-gradient(180deg, var(--theme-green), rgba(76, 167, 22, 0.5));
}

.glass-card.glass-warning:before,
.glass-card[data-accent="amber"]:before {
  background: linear-gradient(180deg, #ffc107, #ffd27a);
}

.glass-card.glass-danger:before,
.glass-card[data-accent="red"]:before {
  background: linear-gradient(180deg, #dc3545, #f28b8b);
}

.glass-card[data-accent="indigo"]:before {
  background: linear-gradient(180deg, #4b0082, #a286ff);
}

.glass-card .count {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}

/* small animation for counts */
.count {
  display: inline-block;
  transition: transform 0.4s ease;
}

.count.animate {
  transform: scale(1.06);
}

.icon-wrapper {
  position: absolute;
  top: -30px;
  /* center the icon overlapping the top edge */
  left: 50%;
  /* center horizontally */
  transform: translateX(-50%);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  color: white;
}

.bg-indigo {
  background: #4b0082 !important;
  box-shadow: 0 12px 36px rgba(12, 20, 30, 0.12);
  border: 8px solid #fff;
  /* white ring to separate icon from card */
  z-index: 12;
  color: #fff;
}

.icon-wrapper i {
  font-size: 1.3rem;
  line-height: 1;
}

@media (max-width: 992px) {
  .glass-card {
    padding: 28px 14px 18px;
  }

  .icon-wrapper {
    width: 54px;
    height: 54px;
    top: -26px;
    border-width: 7px;
  }
}

@media (max-width: 576px) {
  .glass-card {
    padding: 20px 12px;
  }

  .icon-wrapper {
    width: 46px;
    height: 46px;
    top: -20px;
    border-width: 6px;
  }
}

/* Add vertical spacing between stacked cards on small screens */
@media (max-width: 768px) {
  .glass-card {
    margin-bottom: 18px;
  }

  .row {
    row-gap: 0.5rem;
  }
}


.sidebar-logo {
  background-image: url('../images/logo/logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  /* ensure full logo fits inside the box */
  width: 100%;
  height: 64px;
  /* collapsed height */
  display: block;
  margin: 0;
  padding: 8px 12px;
  background-color: #ffffff;
  /* full-width white band behind logo */
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1500;
  /* keep logo above header and toggle icon */
}

/* add new btn in every data table/list pages */
.add-btn-custom {
  background-color: #003287;
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 50, 135, 0.3);
}

.add-btn-custom::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.add-btn-custom:hover::after {
  left: 200%;
}

.add-btn-custom:hover {
  background-color: #002a70;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 50, 135, 0.5);
}


:root {
  --theme-blue: #0276AD;
  --theme-green: #4CA716;
  --theme-color: var(--theme-blue);
}

.theme-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Header / Sidebar / Dashboard theme overrides */
#mainHeader {
  background: var(--theme-blue) !important;
  color: #fff !important;
  position: relative;
  /* ensure z-index may be applied */
  z-index: 1200 !important;
  /* sit below the sidebar logo (which is 1600) */
}

#mainHeader h4,
#mainHeader .bi,
#mainHeader .dropdown-toggle {
  color: #fff !important;
}

.sidebar .submenu {
  background-color: rgba(255, 255, 255, 0.03);
}

.icon-wrapper.bg-primary {
  background: var(--theme-blue) !important;
  color: #fff !important;
}

.icon-wrapper.bg-success {
  background: var(--theme-green) !important;
  color: #fff !important;
}

.icon-wrapper.bg-amber {
  background: #ffc107 !important;
  color: #fff !important;
}

.icon-wrapper.bg-danger {
  background: #dc3545 !important;
  color: #fff !important;
}

.glass-card.clickable {
  cursor: pointer;
}

.section-title {
  color: var(--theme-color);
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.btn-outline-primary {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.btn-outline-primary:hover {
  background-color: var(--theme-color);
  color: #fff;
}



.table th {
  background-color: #003287;
  color: #fff;

}

.list-group-item {
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.sidebar {
  width: 60px;
  /* collapsed by default */
  background: var(--theme-blue);
  padding-top: 0;
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transition: width 0.22s ease, background 0.22s ease;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar.collapsed {
  width: 60px;
}

.sidebar.collapsed ul li a span {
  display: none;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-header {
  padding: 20px 20px 5px;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1.2px;
  display: none;
  white-space: nowrap;
}

.sidebar:hover .sidebar-header,
.sidebar.expanded .sidebar-header {
  display: block;
}


.sidebar ul li a {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  color: #fff;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  position: relative;
}

.sidebar ul li a i {
  margin-right: 0;
  font-size: 16px;
  width: 40px;
  text-align: center;
  color: #fff;
}

/* Hide labels when collapsed, show on hover/expand */
.sidebar ul li a span {
  display: none;
  margin-left: 8px;
}

.sidebar:hover ul li a span,
.sidebar.expanded ul li a span {
  display: inline-block;
}

/* Hover Effects */
.sidebar ul li a:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-left: 4px solid #fff;
}

/* Expand sidebar on hover */
.sidebar:hover {
  width: 250px;
}

/* Adjust logo when collapsed vs expanded */
.sidebar .sidebar-logo {
  height: 60px;
  padding: 8px 8px;
  background-size: auto 40px;
}

.sidebar:hover .sidebar-logo {
  height: 100px;
  width: 100%;
  padding: 18px 16px;
  background-size: auto 64px;
}

/* Use compact logo when collapsed (or default collapsed state) */
.sidebar:not(:hover) .sidebar-logo,
.sidebar.collapsed .sidebar-logo {
  background-image: url('../images/logo/fav.png');
  background-position: center;
  background-size: 40px auto;
  height: 60px;
  padding: 10px 8px;
}

/* Ensure full logo shows when expanded/hovered */
.sidebar:hover .sidebar-logo {
  height: 110px;
  /* larger when expanded */
  padding: 12px 16px;
  background-position: center center;
  background-size: contain;
  z-index: 1600;
  /* ensure logo sits above header on hover */
  transition: height 180ms ease, padding 180ms ease;
}

/* ensure collapsed state has a small top offset when needed */
.sidebar .sidebar-logo {
  margin-top: 6px;
}

.sidebar ul li a {
  transition: all 0.5s ease;
  /* Adjust duration as needed */
}


/* Submenu */
.submenu {
  display: none;
  background-color: #f6f9ff;
  padding-left: 15px;

  transition: all 0.5s ease;
}

.submenu.open {
  display: block;
}

/* Arrow for submenu toggle */
.has-submenu .arrow {
  margin-left: auto;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.arrow.rotated {
  transform: rotate(180deg);
}

/* Sidebar Toggle Button */
/* Toggle Button Bars */
.toggle-btn {
  width: 35px;
  height: 30px;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 900;
  /* keep toggle below logo on desktop */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
}

.bars {
  height: 4px;
  background-color: #fff;
  /* ensure toggle bars are visible on dark backgrounds */
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Bar animations */
#checkbox:checked+.toggle-btn #bar1 {
  transform: rotate(45deg) translate(6px, 6px);
}

#checkbox:checked+.toggle-btn #bar2 {
  opacity: 0;
}

#checkbox:checked+.toggle-btn #bar3 {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Sidebar toggle using JS class, you still use .collapsed or .active in JS */
.sidebar {
  transition: all 0.3s ease;
}

.sidebar.collapsed {
  width: 60px;
}

.sidebar.active {
  left: 0;
}

@media (max-width: 768px) {
  .sidebar {
    left: -250px;
  }

  /* make sure toggle sits above the hidden sidebar */
  .toggle-btn {
    z-index: 1200;
  }

  .sidebar.active {
    left: 0;
  }

  .main-content {
    margin-left: 0 !important;
  }

  .fw-bold {
    margin-left: 2rem;
  }
}




/* Main Content */
.main-content {
  margin-left: 60px;
  padding: 10px;
  transition: margin-left 0.22s ease;
}

.sidebar:hover~.main-content,
.sidebar.expanded~.main-content {
  margin-left: 250px;
}

.main-content.expanded {
  margin-left: 60px;
}




/* Main Card/Container */
.custom-box {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Custom style for DataTable */
#DataTable thead th {
  text-align: center !important;
  vertical-align: middle !important;
  text-transform: uppercase;
  font-weight: 600;
  font-size: larger;
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: #003287;
  color: white !important;
}

#DataTable tbody td {
  text-align: center !important;
  vertical-align: middle !important;
}

#delDataTable thead th {
  text-align: center !important;
  vertical-align: middle !important;
  text-transform: uppercase;
  font-weight: 600;
  font-size: larger;
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: #003287;
  color: white !important;
}

#delDataTable tbody td {
  text-align: center !important;
  vertical-align: middle !important;
}

#UserTable thead th {
  text-align: center !important;
  vertical-align: middle !important;
  text-transform: uppercase;
  font-weight: 600;
  font-size: larger;
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: #003287;
  color: white !important;
}

#UserTable tbody td {
  text-align: center !important;
  vertical-align: middle !important;
}

/* Pagination Button Styling */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 2px !important;
  margin: 2px;
  border-radius: 6px;
  border: none;
  transition: all 0.2s ease;
}


.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  color: white !important;
  font-weight: bold;
}

/* Search Filter Input */
.dataTables_wrapper .dataTables_filter {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: right !important;
  margin-right: 5px;
}

.dataTables_wrapper .dataTables_filter input {
  border-radius: 20px;
  padding: 5px 12px;
  border: 1px solid #ccc;
  margin-left: 10px;
  margin-left: 3px;
}

/* Length Dropdown */
.dataTables_wrapper .dataTables_length {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Optional: Align search/length on larger screens */
@media (min-width: 768px) {
  .dataTables_wrapper .row {
    align-items: center;
  }
}


/* forms */

.form-card {
  border-radius: 1rem;
  background: #ffffff;
  /* ensure form card is white, not grey */
  padding: 0;
  /* keep card body padding separate */
}

.section-style {
  background-color: #ffffff;
  /* bright white for form sections */
  border-radius: 1rem;
  padding: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(76, 167, 22, 0.12);
  /* stronger green border */
  box-shadow: 0 12px 30px rgba(76, 167, 22, 0.14);
  /* stronger green-themed shadow */
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #444;
  border-left: 4px solid #003287;
  padding-left: 10px;
  margin-bottom: 10px;
}

.form-label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.custom-input {
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  padding: 10px 15px;
  transition: 0.2s ease;
  background-color: #fff;
}

.custom-input:focus {
  border-color: #003287;
  box-shadow: 0 6px 18px rgba(2, 118, 173, 0.12);
  /* themed blue focus glow */
}

/* Reserve space for validation messages so buttons don't jump when errors appear */
.invalid-feedback {
  display: block;
  /* always take up space */
  visibility: hidden;
  /* hide text when empty */
  min-height: 1.05rem;
  /* reserve about one line */
  margin-top: .25rem;
}

.form-control.is-invalid~.invalid-feedback,
.is-invalid~.invalid-feedback,
.was-validated :invalid~.invalid-feedback {
  visibility: visible;
}

.btn-custom {
  background-color: #003287;
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 8px 24px rgba(2, 118, 173, 0.12);
}

.btn-custom:hover {
  background-color: #0056b3;
  box-shadow: 0 12px 34px rgba(2, 118, 173, 0.16);
}



/* add product page image preview */
.preview-box {
  width: 250px;
  height: 150px;
  border: 2px dashed #003287;
  border-radius: 12px;
  background: linear-gradient(135deg, #f9f9f9, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in-out;
  position: relative;
}

.preview-box:hover {
  border-color: #003287;
  box-shadow: 0 6px 18px rgba(108, 99, 255, 0.2);
  transform: scale(1.03);
}

.preview-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.preview-box::after {
  content: "\f030";
  /* camera icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 28px;
  color: #ccc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  pointer-events: none;
}



/* for adding new address */
.radio-card-wrapper {
  flex: 1 1 45%;
  cursor: pointer;
}

.radio-card {
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.radio-card-wrapper:hover .radio-card {
  transform: translateY(-3px);
  border-color: #0056b3;
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.1);
}

.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #ccc;
  transition: all 0.3s ease;
  background-color: #fff;
}

.radio-card-wrapper input[type="radio"]:checked+.radio-card .radio-dot {
  background-color: #0056b3;
  border-color: #0056b3;
  box-shadow: 0 0 0 6px rgba(108, 99, 255, 0.15);
}

.radio-card-wrapper input[type="radio"]:checked+.radio-card {
  border-color: #0056b3;
  background-color: #eef1ff;
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.15);
}



/* after submit btn click  */

.custom-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  background: linear-gradient(135deg, #00c853, #64dd17);
  color: #fff;
  padding: 32px 48px;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
  opacity: 0;
  text-align: center;
  font-size: 20px;
  min-width: 360px;
  max-width: 80%;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.custom-alert.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.custom-alert.hide {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Tick animation */
.custom-alert .tick {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
  animation: tickBounce 0.6s ease forwards;
}

@keyframes tickBounce {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }

  60% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}



/* Fullscreen dark overlay loader*/
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  /* semi-transparent dark */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Loader styling */
.loader {
  font-size: 30px;
  display: flex;
  gap: 10px;
}

.loader span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  font-family: 'Segoe UI', sans-serif;
  font-weight: bold;
  color: #003287;
  background-color: #dbd5f3;
  border-radius: 8px;
  min-width: 40px;
  padding: 10px;
  animation: peek 1s both infinite;
  animation-delay: var(--d);
}

/* Animation */
@keyframes peek {
  25% {
    transform: rotateX(30deg) rotate(-13deg);
  }

  50% {
    transform: translateY(-22px) rotate(3deg) scale(1.1);
    color: #6a45ed;
  }
}

/* Utility */
.d-none {
  display: none !important;
}


.login-page {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #001c4a, #003287);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  animation: fadeInUp 1s ease;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  padding: 40px 30px;
  max-width: 400px;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h2 {
  font-weight: 600;
  color: #003287;
}

.form-control:focus {
  box-shadow: none;
  border-color: #003287;
}

.btn-login {
  background: #003287;
  color: white;
  font-weight: 600;
}

.btn-login:hover {
  background: #6a45ed;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-circle {
  width: 150px;
  /* height: 100px; */
  /* background: #003287; */
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 10px;
}

/* Password toggle styling */
.toggle-password {
  cursor: pointer;
  border-left: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  z-index: 10;
}

.toggle-password:hover {
  background-color: #f8f9fa !important;
}

.toggle-password:active {
  background-color: #e9ecef !important;
}

.toggle-password i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Fix for rounded corners in input group with toggle */
.input-group .custom-input.border-end-0 {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group .toggle-password {
  border-top-right-radius: 0.5rem !important;
  border-bottom-right-radius: 0.5rem !important;
}

/* Fix for modal going behind header */
.modal-backdrop {
    z-index: 1250 !important;
}
.modal {
    z-index: 1300 !important;
}

