/* ===== START STYLE.CSS ===== */

:root[data-theme="dark1"] {
  --color-primary: #22d3ee;
  --color-primary-dark: #0891b2;
  --color-primary-light: #a5f3fc;

  --color-secondary: #228bee;

  --color-background: #001a2e;
  --color-background-light: #002840;
  --color-surface: #003d5c;

  --color-text: #f4f4f5;
  --color-text-dim: #71717a;

  --color-success: #00ff88;
  --color-error: #ff4444;
  --color-warning: #ffaa00;
}

:root[data-theme="dark2"] {
  --color-primary: #e0e4eb;
  --color-primary-dark: #bbbcbc;
  --color-primary-light: #e6e8eb;

  --color-secondary: #bccfcd;

  --color-background: #0f172a;
  --color-background-light: #1e293b;
  --color-surface: #111827;

  --color-text: #f1f5f9;
  --color-text-dim: #94a3b8;

  --color-success: #00ff88;
  --color-error: #ff4444;
  --color-warning: #ffaa00;
}

:root[data-theme="light1"] {
  --color-primary: #0d0c22;
  --color-primary-dark: #070612;
  --color-primary-light: #26262f;

  --color-secondary: #1b1a2d;

  --color-background: #ced1d1;
  --color-background-light: #eff0f1;
  --color-surface: #c0cbd6;

  --color-text: #0f172a;
  --color-text-dim: #94a3b8;

  --color-success: #00ff88;
  --color-error: #ff4444;
  --color-warning: #ffaa00;
}

:root[data-theme="light2"] {
  --color-primary: #07d4f4;
  --color-primary-dark: #0397bc;
  --color-primary-light: #36def0;

  --color-secondary: #1188f7;

  --color-background: #fafaf9f7;
  --color-background-light: #d7d7d7;
  --color-surface: #f5f5f4df;

  --color-text: #121111;
  --color-text-dim: #2a2b2c;

  --color-success: #00ff88;
  --color-error: #ff4444;
  --color-warning: #ffaa00;
}

* {
  font-family: "Rajdhani", sans-serif;
}

/* FONT STYLE */
:root[data-font="primary"] {
  --font-primary: "Rajdhani", sans-serif;
}

:root[data-font="orbitron"] {
  --font-primary: "Orbitron", monospace;
}

:root[data-font="inter"] {
  --font-primary: "Inter", system-ui, sans-serif;
}

* {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

body {
  box-sizing: border-box;
  background: linear-gradient(
    135deg,
    var(--color-background) 0%,
    var(--color-background-light) 100%
  );
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

html {
  height: 100%;
}

.font-orbitron {
  font-family: var(--font-primary);
}

/* ======================= Scrollbar Styling ======================= */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-surface) transparent;
}

/* ── Webkit (Chrome, Edge, Safari) ── */
::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

::-webkit-scrollbar-track {
  background: var(--color-background-light);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-background-light);
  border-radius: 100px;
  border: 1px solid var(--color-surface);
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-text-dim);
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--color-surface);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

textarea::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.overflow-auto::-webkit-scrollbar,
.overflow-y-auto::-webkit-scrollbar,
.overflow-x-auto::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 5px var(--color-background-light),
      0 0 10px var(--color-primary-dark),
      0 0 15px var(--color-background-light),
      inset 0 0 5px var(--color-primary);
  }

  50% {
    box-shadow:
      0 0 5px var(--color-primary-light),
      0 0 10px var(--color-primary-dark),
      0 0 15px var(--color-primary-dark),
      inset 0 0 10px var(--color-background-light);
  }
}

@keyframes scan-line {
  0% {
    top: 0%;
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    top: 100%;
    opacity: 1;
  }
}

@keyframes rotate-ring {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotate-ring-reverse {
  0% {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes data-stream {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes corner-pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes grid-pulse {
  0%,
  100% {
    opacity: 0.03;
  }

  50% {
    opacity: 0.08;
  }
}

@keyframes face-grid {
  0%,
  100% {
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dashoffset: 20;
  }
}

@keyframes point-pulse {
  0%,
  100% {
    r: 2;
    opacity: 0.8;
  }

  50% {
    r: 4;
    opacity: 1;
  }
}

@keyframes status-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes hexagon-rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.scan-container {
  animation: pulse-glow 3s ease-in-out infinite;
}

.theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}
.scan-line {
  animation: scan-line 2.5s ease-in-out infinite;
}

.rotating-ring {
  animation: rotate-ring 8s linear infinite;
}

.rotating-ring-reverse {
  animation: rotate-ring-reverse 12s linear infinite;
}

.hexagon-ring {
  animation: hexagon-rotate 20s linear infinite;
  width: 420px;
  height: 420px;
  stroke: var(--color-primary);
  stroke-opacity: 0.15;
  stroke-width: 0.5;
}

.data-stream {
  animation: data-stream 3s linear infinite;
}

.corner-bracket {
  animation: corner-pulse 2s ease-in-out infinite;
}

.face-grid-line {
  animation: face-grid 3s ease-in-out infinite;
}

.tracking-point {
  animation: point-pulse 1.5s ease-in-out infinite;
}

.status-indicator {
  animation: status-blink 1s ease-in-out infinite;
}

.glass-panel {
  background: linear-gradient(
    135deg,
    var(--color-background-light) 0%,
    var(--color-background) 100%
  );
  backdrop-filter: blur(20px);
  overflow: hidden !important;
  border: 1px solid var(--color-primary);
}

.cyber-button {
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-background-light) 100%
  );
  border: 1px solid var(--color-primary-dark);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cyber-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-surface),
    transparent
  );
  transition: left 0.5s ease;
}

.cyber-button:hover::before {
  left: 100%;
}

.cyber-button:hover {
  box-shadow: 0 0 30px var(--color-surface);
  transform: scale(1.02);
}

.cyber-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.progress-bar {
  background: linear-gradient(var(--color-surface), var(--color-background));
}

video {
  filter: contrast(1.1) brightness(1.05);
}

.neural-network {
  background-image:
    radial-gradient(
      circle at 20% 30%,
      var(--color-background-light) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      var(--color-background-light) 0%,
      transparent 50%
    );
}

.modal-backdrop {
  background: var(--color-background);
  backdrop-filter: blur(10px);
}

.input-cyber {
  background: var(--color-background);
  border: 1px solid var(--color-text-dim);
  color: var(--color-text);
  transition: all 0.3s ease;
}

.input-cyber:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 20px var(--color-surface);
}

.input-cyber::placeholder {
  color: var(--color-text-dim);
}

.checkbox-cyber {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-primary);
  background: var(--color-surface);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-cyber:checked {
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.checkbox-cyber:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-background);
  font-weight: bold;
  font-size: 14px;
}

.page {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.page,
.active {
  display: flex;
}

.slide-in {
  animation: slideInUp 0.6s ease-out;
}

.scale-in {
  animation: scaleIn 0.4s ease-out;
}

.success-ring {
  stroke: var(--color-success);
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  animation: drawCircle 0.8s ease-out forwards;
}

.error-ring {
  stroke: var(--color-error);
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  animation: drawCircle 0.8s ease-out forwards;
}

.success-check {
  stroke: var(--color-success);
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck 0.5s ease-out 0.5s forwards;
}

.error-cross {
  stroke: var(--color-error);
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck 0.5s ease-out forwards;
}

.keypad-button {
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-background-light) 100%
  );
  border: 1px solid var(--color-primary);
  color: var(--color-text);
  font-size: 24px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.keypad-button:hover {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-surface) 100%
  );
  box-shadow: 0 0 15px var(--color-primary-light);
  transform: scale(1.05);
}

.keypad-button:active {
  transform: scale(0.95);
}

#app-wrapper {
  min-height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.text-cyan-400 {
  color: var(--color-primary);
}

.text-cyan-300 {
  color: var(--color-text);
}

.text-cyan-500 {
  color: var(--color-primary-dark);
}
.bg-cyan-400 {
  background-color: var(--color-primary);
}

.bg-cyan-300 {
  background-color: var(--color-text);
}

.bg-cyan-500 {
  background-color: var(--color-primary-dark);
}

.tracking-widest {
  letter-spacing: 0.1em;
}
.rounded-full {
  border-radius: 9999px;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.dropdown-menu .d-flex:hover {
  background: var(--color-surface) !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.attendance-row {
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-background-light) 100%
  );
  border: 1px solid var(--color-primary-dark);
  transition: all 0.3s ease;
}

.attendance-row:hover {
  background: linear-gradient(
    135deg,
    var(--color-background-light) 0%,
    var(--color-surface) 100%
  );
  border-color: var(--color-secondary);
  transform: translateX(4px);
}

.col-shift {
  width: 25%;
  text-align: center;
}

/* Time colors */
.time-early {
  color: var(--color-success);
}

.time-late {
  color: var(--color-error);
}

@media (max-width: 440px) {
  .col-shift {
    display: none;
  }

  .col-name {
    width: 50%;
  }

  .col-in,
  .col-out {
    width: 25%;
  }
}

/* Scrollbar */
.d-flex.flex-column.gap-2::-webkit-scrollbar {
  width: 6px;
}

.d-flex.flex-column.gap-2::-webkit-scrollbar-track {
  background: var(--color-secondary);
  border-radius: 10px;
}

.d-flex.flex-column.gap-2::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

.index-page {
  z-index: 10;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-line-left,
.logo-line-right {
  width: 48px;
  height: 2px;
}

.logo-line-left {
  background: linear-gradient(to right, transparent, var(--color-primary));
}

.logo-line-right {
  background: linear-gradient(to left, transparent, var(--color-primary));
}

.main-title {
  font-size: 2.5rem;
  background: linear-gradient(
    to right,
    var(--color-primary-dark),
    var(--color-primary),
    var(--color-secondary)
  );
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.1em;
}

.subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  opacity: 0.7;
}

.portal-title {
  font-size: 1.25rem;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

#staff-code-input {
  z-index: 10;
}

.cyber-dots-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.cyber-dot-wrapper {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cyber-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-background-light);
  border: 2px solid var(--color-surface);
  transition: all 0.3s ease;
}

.cyber-dot .active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px var(--color-primary);
}

.cyber-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0;
}

.cyber-ring-1 {
  width: 20px;
  height: 20px;
}

.cyber-ring-2 {
  width: 28px;
  height: 28px;
}

.cyber-ring-3 {
  width: 36px;
  height: 36px;
}

.cyber-dot.active ~ .cyber-ring-1 {
  animation: radiate 1.6s ease-out infinite;
}

.cyber-dot.active ~ .cyber-ring-2 {
  animation: radiate 1.6s ease-out infinite 0.2s;
}

.cyber-dot.active ~ .cyber-ring-3 {
  animation: radiate 1.6s ease-out infinite 0.4s;
}

@keyframes radiate {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Action Buttons */
.z-1050 {
  z-index: 1050;
  width: fit-content;
}
.action-buttons {
  max-width: 672px;
}

.btn-icon-mobile {
  width: 60px;
  height: 38px;
}

.btn-icon-desktop {
  width: 80px;
  height: 50px;
}

.btn-main-text {
  font-size: clamp(1.2rem, 4vw, 1.875rem);
}

.btn-sub-text {
  font-size: 0.7rem;
  opacity: 0.7;
}

.btn-content {
  z-index: 10;
}

/* System Status */

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.page-button-home {
  font-size: 0.875rem;
}

.absent-title {
  font-size: 1.1rem;
}

.attendance-panel {
  max-height: 500px;
}

.attendance-list {
  max-height: 380px;
  overflow-y: auto;
}

.col-shift {
  font-size: 0.85rem;
}

/* Container */
.page-container {
  max-width: 448px;
}

.back-home-button {
  font-size: 0.875rem;
  color: var(--color-primary);
}

.back-home-text {
  position: relative;
  z-index: 10;
}

/* Scanner Wrapper */
.scanner-wrapper {
  margin-bottom: 1rem;
}

/* Rotating Rings */
.rotating-ring,
.hexagon-ring,
.rotating-ring-reverse {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.rotating-ring {
  width: 380px;
  height: 380px;
}

.rotating-ring .outer-ring {
  opacity: 0.6;
  stroke-width: 1;
  stroke-dasharray: 20 10 5 10;
}

.rotating-ring-reverse {
  width: 340px;
  height: 340px;
}

.rotating-ring-reverse .inner-ring {
  stroke: var(--color-primary);
  stroke-width: 1;
  stroke-dasharray: 5 15;
}

.scan-container {
  width: 320px;
  height: 280px;
  border-radius: 1rem;
  overflow: hidden;
}

.corner-bracket {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--color-primary);
  animation: bracket-blink 2s infinite;
}

.corner-bracket.top-left {
  top: 8px;
  left: 8px;
  border-left: 2px solid;
  border-top: 2px solid;
}

.corner-bracket.top-right {
  top: 8px;
  right: 8px;
  border-right: 2px solid;
  border-top: 2px solid;
  animation-delay: 0.5s;
}

.corner-bracket.bottom-left {
  bottom: 8px;
  left: 8px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  animation-delay: 1s;
}

.corner-bracket.bottom-right {
  bottom: 8px;
  right: 8px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  animation-delay: 1.5s;
}

/* Video Feed */
.video-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Face Overlay */
.face-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s;
}

.face-grid-line.grid1 {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1;
  stroke-dasharray: 8 4;
}

.face-grid-line.grid2 {
  fill: none;
  stroke: var(--color-primary-dark);
  stroke-width: 1;
  stroke-dasharray: 4 8;
  animation-delay: 0.5s;
}

.stop-1 {
  stop-color: var(--color-success);
  stop-opacity: 0.8;
}

.stop-2 {
  stop-color: var(--color-secondary);
  stop-opacity: 0.3;
}
.stop-3 {
  stop-color: var(--color-primary-light);
  stop-opacity: 0.8;
}

.tracking-point {
  fill: var(--color-primary);
}

.tracking-point.point1 {
  animation-delay: 0s;
}

.tracking-point.point2 {
  animation-delay: 0.2s;
}

.tracking-point.point3 {
  animation-delay: 0.4s;
}

.tracking-point.point4 {
  animation-delay: 0.6s;
}

.tracking-point.point5 {
  animation-delay: 0.8s;
}

.tracking-point.point6 {
  animation-delay: 1s;
}

.connect-line {
  stroke: var(--color-primary);
  stroke-width: 0.5;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-primary),
    transparent
  );
  box-shadow: 0 0 30px 5px var(--color-primary);
  opacity: 1;
}

/* Status Indicator */
.status-wrapper {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  background: var(--color-background-light);
  border: 1px solid var(--color-primary-dark);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.status-text {
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  color: var(--color-success);
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.modalsvg {
  width: 128px;
  height: 128px;
}
.modalstatuss {
  font-size: 0.875rem;
  border-color: var(--color-error);
  color: var(--color-error);
}

.f-space {
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}
/* Bottom Info */
.bottom-info {
  padding: 0.75rem;
  background: linear-gradient(to top, var(--color-surface), transparent);
}

.scan-svg {
  width: 24px;
  height: 24px;
}
/* Animation for corner brackets (example) */
@keyframes bracket-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.p-bar {
  max-width: 448px;
}

.r-full {
  height: 4px;
  background-color: var(--color-primary-dark);
}

#progress-bar {
  width: 0%;
  transition: all 0.3s ease-out;
}

.scan-text {
  font-size: 0.75rem;
  opacity: 0.9;
}

#scan-button {
  max-width: 448px;
  font-size: 1.125rem;
}

.z-10 {
  z-index: 10;
}

.btn-cancel {
  max-width: 448px;
  font-size: 0.875rem;
  z-index: 10;
}

.t-h-sm {
  font-size: 0.875rem;
  opacity: 0.7;
}

.dropdown-menu,
.dropdown-item {
  transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background: var(--color-surface) !important;
  color: var(--color-primary) !important;
}

.particle-4 {
  width: 4px;
  height: 4px;
  background-color: var(--color-primary);
  opacity: 0.5;
  top: 85%;
  left: 75%;
  animation-delay: 0.5s;
}

.particle-5 {
  width: 8px;
  height: 8px;
  background-color: var(--color-text);
  opacity: 0.3;
  top: 40%;
  left: 90%;
  animation-delay: 1.5s;
}

/* Example floating animation (if not already defined) */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: floating 5s ease-in-out infinite;
}

/* ===== Result Modal ===== */

.scan-result-modal {
  z-index: 500;
}

.scan-result-panel {
  max-width: 448px;
  width: 100%;
}

.result-icon {
  width: 128px;
  height: 128px;
}

.result-title {
  font-size: 1.5rem;
}

.result-message {
  opacity: 0.7;
}

/* ===== Validation Modal ===== */

.validation-modal-content {
  background: linear-gradient(
    135deg,
    var(--color-background-light) 0%,
    var(--color-surface) 100%
  );
  border: 1px solid var(--color-primary);
  border-radius: 1rem;
}

.validation-title {
  font-size: 1.5rem;
}

.validation-close {
  filter: brightness(0) invert(1) opacity(0.7);
}

.validation-subtext {
  font-size: 0.875rem;
  opacity: 0.7;
}

.validation-label {
  cursor: pointer;
}

.checkall-btn {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modal-btn {
  font-size: 0.875rem;
}

/* ===== Late Fine Modal ===== */

.latefine-modal-content {
  background: linear-gradient(
    135deg,
    var(--color-background-light) 0%,
    var(--color-surface) 100%
  );
  border: 1px solid var(--color-primary);
  border-radius: 1rem;
}

.latefine-title {
  font-size: 1.5rem;
}

.latefine-close {
  filter: brightness(0) invert(1) opacity(0.7);
}

.latefine-message {
  font-size: 0.875rem;
  opacity: 0.7;
}

.latefine-label {
  font-size: 1rem;
}

.latefine-currency {
  font-size: 1.5rem;
}

.latefine-amount {
  font-size: 2.5rem;
}

.latefine-btn {
  font-size: 0.875rem;
}

/* ===== Application Menu ===== */

.appmenu-wrapper {
  z-index: 1001;
}

.appmenu-toggle {
  background: var(--color-background-light);
  border: 1px solid var(--color-primary-dark);
  color: var(--color-primary);
}

.appmenu-icon {
  width: 20px;
  height: 20px;
}

.appmenu-dropdown {
  background: var(--color-background-light);
  border: 1px solid var(--color-primary-dark);
  min-width: 220px;
}

.appmenu-logout-icon {
  width: 18px;
  height: 18px;
}

/* ===== GENERAL PAGE CONTAINER (shared across pages) ===== */

.page-container-main {
  max-width: 600px;
  width: 100%;
}

.page-section-title {
  font-size: 1.25rem;
}

/* ===== SHIFTS PAGE SPECIFIC STYLES ===== */

.attendance-header-bar {
  border-bottom: 1px solid var(--color-primary-dark);
}

.attendance-dropdown-toggle {
  background: var(--color-background-light);
  border: 1px solid var(--color-primary-dark);
  cursor: pointer;
}

.attendance-count {
  font-size: 0.85rem;
}

.attendance-dropdown-menu,
.dropdown-menu {
  background: var(--color-surface);
  border: 1px solid var(--color-text-dim);
  height: fit-content;
  max-width: 10px;
  z-index: 9999 !important;
  color: var(--color-primary);
  inset: 0px 0px auto auto;
  margin: 0px;
  transform: translate3d(-20px, 35px, 0px) !important;
}

.absent-row {
  background: var(--color-background-light);
}

.absent-shift {
  font-size: 0.75rem;
}

.attendance-table-header {
  font-size: 0.95rem;
  opacity: 0.8;
}

.page-page {
  z-index: 10;
}

.page-subtitle {
  font-size: 0.875rem;
  color: var(--color-primary);
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.page-label {
  font-size: 0.875rem;
  color: var(--color-primary);
}

.auth-container {
  max-width: 448px;
}

.auth-title {
  font-size: 1.875rem;
}
.auth-subtitle {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Avatar circle */
.staff-avatar {
  width: 96px;
  height: 96px;
  background: linear-gradient(
    to bottom right,
    var(--color-primary),
    var(--color-secondary)
  );
}

/* SVG icon inside avatar */
.staff-icon {
  width: 48px;
  height: 48px;
}

/* Staff info labels and values */
.info-label {
  font-size: 0.75rem;
}

.f-1 {
  font-size: 1rem;
}

.info-value {
  font-size: 1.125rem;
}

.info-value {
  font-size: 1.25rem;
}

.btn-inner {
  position: relative;
  z-index: 10;
}

.page-input {
  z-index: 10;
  font-size: 1.25rem;
}

.auth-label {
  font-size: 0.875rem;
}

/* Input sizing */
.auth-input {
  font-size: 1.25rem;
}

/* Bottom navigation button */
.back-btn {
  font-size: 0.875rem;
}

.cyber-alert {
  display: flex;
  align-items: center;
  max-width: 700px;
  width: fit-content;
  gap: 10px;
  padding: 0.9rem 1.1rem;
  border-radius: 1.5rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: 0 0 20px var(--color-background);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease-in-out;
  z-index: 99999999;
  max-width: 420px;
  width: 100%;
}

.cyber-alert.show {
  opacity: 1;
  transform: translateY(0);
}

.cyber-alert .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cyber-alert.success {
  background: #0a2b0f;
  border-color: var(--color-success);
  color: var(--color-success);
}

.cyber-alert.warning {
  background: #2a1a00;
  border-color: var(--color-warning);
  color: var(--color-warning);
}

.cyber-alert.danger {
  background: #2b0000;
  border-color: var(--color-error);
  color: var(--color-error);
}

.cyber-alert span {
  flex: 1;
}

/* ===== MODAL GLOBAL STYLES ===== */

.cyber-modal {
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-background-light) 100%
  );
  border: 1px solid var(--color-primary);
  border-radius: 1rem;
}

.modal-close {
  filter: brightness(0) invert(1) opacity(0.7);
}

.modal-title-main {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.modal-title-warning {
  color: var(--color-warning);
}

.modal-description {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Warning icon */

.warning-icon {
  width: 50px;
  height: 50px;
  color: var(--color-warning);
}

/* Explanation textarea */

.modal-textarea {
  font-size: 1rem;
  height: 320px;
  font-family: Arial, sans-serif;
  letter-spacing: normal;
  text-align: left;
  vertical-align: top;
  resize: none;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Checklist panel */

.checklist-panel {
  background: var(--color-background-light);
}

.check-row {
  cursor: pointer;
}

/* Check all button */

.check-all-btn {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.receive-btn {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.act-btn {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--color-primary);
  background-color: transparent;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  padding: 0.5em 1.2em;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  overflow: hidden;
}

.act-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary-light);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  border-radius: 6px;
  z-index: 0;
}

.act-btn:hover {
  color: var(--color-text);
  border-color: var(--color-primary-light);
}

.act-btn:hover::after {
  opacity: 0.2;
}

.act-btn:active {
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

.act-btn span {
  position: relative;
  z-index: 1; /* Ensure text stays above hover effect */
}

/* ===== END STYLE.CSS ===== */

/* _________________________STOCK____________________________ */

@keyframes grid-pulse {
  0%,
  100% {
    opacity: 0.03;
  }

  50% {
    opacity: 0.08;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawX {
  to {
    stroke-dashoffset: 0;
  }
}

.input-cyber::placeholder {
  color: var(--color-text-dim);
}

.form-label {
  color: var(--color-primary);
  font-family: "Orbitron", monospace;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-control::placeholder {
  color: var(--color-text-dim);
}

.form-select:disabled {
  background: var(--color-background);
}

.ul-options {
  position: absolute;
  z-index: 1000;
  max-height: 350px;
  overflow-y: auto;
  display: none;
  width: 80%;
}

.form-select option {
  background: var(--color-background);
  color: var(--color-text);
  padding-top: 30px;
  padding-left: 10px;
}

.text-green-400 {
  color: var(--color-success);
}

.text-red-400 {
  color: var(--color-error);
}

.text-warning {
  color: var(--color-warning);
}

.action-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  transition: all 0.3s ease;
  cursor: pointer;
}

.delete-ring {
  stroke: var(--color-error);
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  animation: drawCircle 0.8s ease-out forwards;
}

.delete-x {
  stroke: var(--color-error);
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawX 0.5s ease-out 0.3s forwards;
}

.tracking-wider {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.req-grid {
  display: grid;
  grid-template-columns: minmax(20%, 32%) 17% 17% 17% 17%;
  align-items: center;
  justify-items: center;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.8;
  min-width: 500px;
}

.table-view {
  overflow-x: auto;
  /* overflow-y: hidden; */
  width: 100%;
}

#requisitionCount {
  font-size: 0.75rem;
}

.file-icon {
  width: 28px;
  height: 28px;
}

.col-name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.col-shift,
.col-in {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  width: 20%;
  text-align: center;
}

.req-grid .col-out {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  text-align: right !important;
}

.action-mobile {
  display: none;
}
/* === RESPONSIVE === */

@media (max-width: 768px) {
  .req-grid {
    grid-template-columns: minmax(20%, 32%) 17% 17% 17% 17%;
  }

  .action-desktop {
    display: none !important;
  }

  .t-action {
    display: none !important;
  }

  .file-icon {
    display: none !important;
  }

  .action-mobile {
    display: block;
  }
}

@media (max-width: 480px) {
  .req-grid {
    grid-template-columns: minmax(20%, 32%) 17% 17% 17% 17%;
  }

  .col-shift,
  .col-in {
    font-size: 0.75rem;
  }

  .req {
    text-align: end;
  }
}

@media (max-width: 385px) {
  .rounded-pill {
    display: none !important;
  }
}

.dropdown-dark,
.dropdown-item {
  color: var(--color-text-primary);
  border-radius: 0.5rem;
  padding: 0.25rem 0.25rem;
  font-size: 1rem;
}

.dropdown-dark .dropdown-item:hover,
.dropdown-dark .dropdown-item:focus {
  background: var(--color-text-dim);
  color: var(--color-text);
}

.exit-btn {
  font-size: 0.75rem;
  z-index: 10;
}

.req-table-body {
  max-height: 420px;
  overflow-y: auto;
  min-width: 500px;
  min-height: 200px;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation-delay: 0s;
}

.particle-1 {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  opacity: 0.3;
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.particle-2 {
  width: 4px;
  height: 4px;
  background-color: var(--color-text);
  opacity: 0.4;
  top: 20%;
  left: 80%;
  animation-delay: 1s;
}

.particle-3 {
  width: 12px;
  height: 12px;
  background-color: var(--color-primary-dark);
  opacity: 0.2;
  top: 70%;
  left: 10%;
  animation-delay: 2s;
}

.text-status {
  font-size: 0.875rem;
}

/* Flex container */
.selected-items-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 80px;
  overflow-y: auto;
}

/* Individual chip */
.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  background: var(--color-background-light);
  border: 1px solid var(--color-secondary);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--color-text);
  max-width: 100%;
}

/* Text truncation */
.chip-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

/* Remove button */
.remove-chip-btn {
  border: none;
  background: transparent;
  color: var(--color-error);
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.remove-chip-btn:hover {
  opacity: 0.8;
}

/* ===== CYBER SCROLLBAR ===== */

/* Firefox */
.scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--color-text-dim) transparent;
}

/* WebKit browsers */
.scroll::-webkit-scrollbar {
  width: 8px;
}

.scroll::-webkit-scrollbar-track {
  background: transparent;
}

.scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.scroll::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-background-light);
}

.decor-line {
  width: 48px;
  height: 2px;
}

.decor-line-right {
  background: linear-gradient(to right, transparent, var(--color-primary));
}

.decor-line-left {
  background: linear-gradient(to left, transparent, var(--color-primary));
}

.header-icon {
  width: 40px;
  height: 40px;
}

.page-title {
  font-size: 2.01rem;
  letter-spacing: 0.1em;
  background: linear-gradient(
    to right,
    var(--color-primary-light),
    var(--color-primary),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle-text {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  opacity: 0.7;
}

.action-btn {
  font-size: 1.125rem;
}

.action-icon-plus {
  width: 24px;
  height: 24px;
}

.modal3-success-icon-box {
  width: 128px;
  height: 128px;
}

.modal3-success-title {
  font-size: 1.75rem;
}
.mod-svg {
  width: 56px;
  height: 56px;
}

.modal3-success-message {
  opacity: 0.9;
}

.modal3-success-meta {
  font-size: 0.875rem;
  opacity: 0.6;
}

.modal3-success-info-row {
  font-size: 0.875rem;
}

.modal3-success-label {
  opacity: 0.7;
}

.modal2-header {
  border-bottom: 0;
  padding-bottom: 0.5rem;
}

.modal2-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.modal2-subtitle {
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 0;
  opacity: 0.7;
}

.modal2-close-btn {
  filter: brightness(0) invert(1) opacity(0.7);
}

/* Alert container */
.modal2-alert-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  z-index: 1050;
  max-width: 420px;
  width: 100%;
}

/* Body */
.modal2-body {
  padding-top: 1rem;
}

/* Product selection */
.modal2-product-select {
  margin-bottom: 1rem;
  padding: 0.75rem;
}

select.form-select {
  max-height: 220px !important;
  overflow-y: auto !important;
}

.modal2-product-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.modal2-product-dropdown {
  width: 100%;
}

/* Stock details row */
.modal2-stock-details {
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.modal2-physical-balance-col,
.modal2-quantity-requested-col {
  flex: 0 0 50%;
  max-width: 50%;
}

.modal2-physical-balance-label,
.modal2-quantity-requested-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.modal2-physical-balance-input,
.modal2-quantity-requested-input {
  width: 100%;
}

/* ADD button */
.modal2-add-btn-container {
  text-align: end;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.modal2-add-btn {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.75rem;
}

/* Review summary */
.modal2-review-summary {
  margin-bottom: 1rem;
}

.modal2-preview-title {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.modal2-selected-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  overflow-x: auto;
}

.modal2-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background-color: var(--color-surface);
}

.modal2-remove-chip {
  margin-left: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Footer */
.modal2-footer {
  border-top: 0;
  padding-top: 0;
}

.modal2-back-btn,
.modal2-submit-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.75rem;
}

.f-8 {
  font-size: 0.875rem;
}

.m-h {
  font-size: 1.5rem;
}

.req-id {
  font-size: 0.75rem;
  opacity: 0.7;
}

.f-1 {
  font-size: 1rem;
}

.ms-check {
  width: 128px;
  height: 128px;
}

.grid-bg {
  background-image:
    linear-gradient(var(--color-background-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-background-light) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-pulse 4s ease-in-out infinite;
}

.action-icon-view {
  background: var(--color-surface);
  border-color: var(--color-background-light);
  color: var(--color-primary);
}

.action-icon-view:hover {
  background: rgba(0, 136, 255, 0.3);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.4);
}

.action-icon-edit {
  background: rgba(0, 255, 136, 0.15);
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--color-success);
}

.action-icon-edit:hover {
  background: rgba(0, 255, 136, 0.3);
  border-color: var(--color-success);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.action-icon-delete {
  background: rgba(255, 68, 68, 0.15);
  border-color: rgba(255, 68, 68, 0.3);
  color: var(--color-error);
}

.action-icon-delete:hover {
  background: rgba(255, 68, 68, 0.3);
  border-color: var(--color-error);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.input-cyber:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 20px var(--color-background-light);
  background: var(--color-surface);
  color: var(--color-text);
}
.input-cyber:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-surface);
}

.modal-content {
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-surface) 100%
  );
  border: 2px solid var(--color-primary-dark);
}

.modal-backdrop .show {
  background: var(--color-background-light);
  backdrop-filter: blur(10px);
}

.section-list {
  max-height: 30vh;
  overflow-y: auto;
}
.list-group {
  --bs-list-group-color: var(--color-text);
  --bs-list-group-bg: var(--color-background-light);
  --bs-list-group-border-color: var(--color-text-dim);
  --bs-list-group-border-width: 3px;
  --bs-list-group-border-radius: 0.85rem;
  --bs-list-group-item-padding-x: 1.2rem;
  --bs-list-group-item-padding-y: 0.7rem;
  --bs-list-group-action-color: var(--color-primary-light);
  --bs-list-group-action-hover-color: var(--color-primary-dark);
  --bs-list-group-action-hover-bg: var(--color-background-light);
  --bs-list-group-action-active-color: var(--color-secondary);
  --bs-list-group-action-active-bg: var(--color-primary);
  --bs-list-group-action-active-border-color: var(--color-primary-dark);
  --bs-list-group-disabled-color: var(--color-text-dim);
  --bs-list-group-disabled-bg: var(--color-background);
}

.form-control,
.form-select {
  background: var(--color-background-light);
  border: 1px solid var(--color-text-dim);
  color: var(--color-text);
  transition: all 0.3s ease;
}

.form-control:disabled {
  background: var(--color-background-light) !important;
}

.form-control:focus,
.form-select:focus {
  background: var(--color-surface);
  border-color: var(--color-primary-light);
  box-shadow: 0 0 20px var(--color-surface);
  color: var(--color-text);
}
.bg-warning-subtle {
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.info-card {
  background: linear-gradient(
    135deg,
    rgba(0, 100, 140, 0.2) 0%,
    rgba(0, 60, 90, 0.3) 100%
  );
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
}

.requisition-item {
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-background-light) 100%
  );
  border: 1px solid var(--color-background-light);
  transition: all 0.3s ease;
  color: var(--color-text);
  cursor: pointer;
}

.requisition-item:hover {
  background: linear-gradient(
    135deg,
    var(--color-background-light) 0%,
    var(--color-surface) 100%
  );
  border-color: var(--color-secondary);
  transform: translateX(4px);
}

.badge-pending {
  background: rgba(255, 170, 0, 0.2);
  border: 1px solid var(--color-warning);
  color: var(--color-warning);
}

.badge-approved {
  background: rgba(0, 255, 136, 0.2);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.badge-rejected {
  background: rgba(255, 68, 68, 0.2);
  border: 1px solid var(--color-error);
  color: var(--color-error);
}

.text-success {
  color: var(--color-success) !important;
}

.req-header {
  border-bottom: 1px solid var(--color-surface);
}

/* Header */
.attendance-header {
  border-bottom: 1px solid var(--color-surface);
}

.req-row {
  background: var(--color-surface);
  position: relative;
}

.req-row:hover {
  background: var(--color-background-light);
}

.rounded-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-background-light);
  color: var(--color-secondary);
}

.dropdown-dark {
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: 0.75rem;
  padding: 0.25rem;
  box-shadow: 0 12px 30px var(--color-surface);
}
.dropdown-dark .dropdown-item.text-danger:hover {
  background: var(--color-background-light);
}

.dropdown-dark .dropdown-item.text-success:hover {
  background: var(--color-background-light);
}

.dropdown-dark .dropdown-item.text-primary:hover {
  background: var(--color-surface);
}

.logout-btn {
  color: var(--color-error);
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.6);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  text-decoration: none;
}

.logout-btn:hover {
  background: rgba(232, 76, 92, 0.742);
  color: var(--color-error);
  box-shadow: 0 0 18px rgba(220, 53, 69, 0.6);
  transform: translateY(-1px);
}

.logout-btn:active {
  transform: scale(0.96);
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.4);
}

/* loader one */

#modalLoading .modal-content {
  background: transparent !important;
}

.spinner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cyber-spinner2 {
  width: 70px;
  height: 70px;
  border: 4px solid var(--color-surface);
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* /* loader two/ */
.cyber-loader-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(12px);
  background: var(--bs-list-group-disabled-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.cyber-loader-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cyber-loader-box {
  text-align: center;
  color: var(--color-primary);
  font-family: Orbitron, sans-serif;
  width: 260px;
}

.cyber-progress {
  position: relative;
  width: 100%;
  height: 10px;
  background: var(--color-surface);
  border-radius: 20px;
  overflow: visible;
  margin-bottom: 25px;
}

#cyberProgressBar {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: 20px;
  transition: width 0.3s ease;
}

.cyber-percent {
  position: absolute;
  top: -22px;
  left: 0%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: bold;
  transition: left 0.3s ease;
}

.cyber-loading-text {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 2px;
}

/* loader 3 */
/* OVERLAY */
.cyber-loader-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(12px);
  background: var(--bs-list-group-disabled-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.cyber-alert-container {
  z-index: 9999999;
}

.cyber-loader-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cyber-loader-box {
  text-align: center;
  color: var(--color-primary);
  font-family: Orbitron, sans-serif;
}

/* CIRCLE */
.circle-progress {
  position: relative;
  width: 160px;
  height: 160px;
  margin: auto;
}

.circle-percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

/* TEXT */
.cyber-loading-text {
  margin-top: 20px;
  font-size: 15px;
  letter-spacing: 2px;
}
