:root {
  --bg-start: #0f172a;
  /* slate-900 */
  --bg-end: #1e293b;
  /* slate-800 */
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --text: #e5e7eb;
  /* gray-200 */
  --accent: #22d3ee;
  /* cyan-400 */
  --accent-2: #a78bfa;
  /* violet-400 */
  --danger: #fb7185;
  /* rose-400 */
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 20% 20%,
      var(--bg-end),
      var(--bg-start));
  overflow-x: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  backdrop-filter: blur(6px);
  z-index: 10;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.subtitle {
  opacity: 0.8;
  font-weight: 600;
}

.carousel {
  position: relative;
  height: calc(100vh - 56px);
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.viewport {
  position: relative;
  width: 100vw;
  height: calc(100vh - 56px);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slides {
  position: relative;
  display: flex;
  transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  align-items: center;
  justify-content: flex-start;
  width: 100vw;
  height: calc(100vh - 56px);
}

.slide {
  flex: 0 0 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px);
  min-height: calc(100vh - 56px);
  width: 100vw;
  height: calc(100vh - 56px);
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 85% 15%,
      rgba(34, 211, 238, 0.25),
      transparent),
    radial-gradient(600px 300px at 10% 85%,
      rgba(167, 139, 250, 0.25),
      transparent);
  pointer-events: none;
}

.slide .content {
  text-align: center;
  max-width: 900px;
  animation: fadeUp 600ms ease both;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
}

.slide h2 {
  margin: 0 0 30px;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.1;
}

.slide p {
  margin: 0px;
  opacity: 0.9;
  font-size: clamp(20px, 3vw, 23px);
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  display: inline-block;
  padding: 18px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121e;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  box-shadow: 0 15px 30px rgba(34, 211, 238, 0.4);
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 200ms ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(34, 211, 238, 0.5);
}

.tag {
  position: absolute;
  top: 40px;
  right: 40px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #0b1730;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 12px 20px;
  font-size: clamp(14px, 1.5vw, 18px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: var(--glass);
  color: var(--text);
  backdrop-filter: blur(6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 5;
  font-size: 20px;
  transition: all 200ms ease;
}

.nav:hover {
  background: var(--glass-strong);
  transform: translateY(-50%) scale(1.1);
}

.nav.prev {
  left: 40px;
}

.nav.next {
  right: 40px;
}

.dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 5;
}

.dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: all 200ms ease;
}

.dots button[aria-selected="true"] {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.4);
}

/* Controls: Pause/Play and Timer */
.controls {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.controls .pause {
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #0b1730;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 200ms ease;
}

.controls .pause[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.controls .pause:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Settings Sidebar */
.settings {
  position: fixed;
  right: 16px;
  top: 96px;
  width: 280px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  z-index: 20;
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 220ms ease;
}

.settings.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.settings-header {
  font-weight: 800;
  margin-bottom: 8px;
}

.settings-group {
  margin-bottom: 12px;
}

.settings .timer {
  font-weight: 700;
  opacity: 0.95;
}

.settings .row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.settings input[type="number"] {
  width: 72px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.settings .set-duration {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121e;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.settings .apply-all {
  opacity: 0.85;
  font-weight: 600;
}

.settings .settings-info {
  opacity: 0.85;
}

.settings .settings-info .label {
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 640px) {
  .settings {
    width: calc(100vw - 20px);
    right: 10px;
    top: auto;
    bottom: 10px;
  }

  .settings-toggle {
    right: 10px;
    top: auto;
    bottom: 20px;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* Details section */
.details {
  width: min(1000px, 92vw);
  margin: 30px auto 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.detail-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.detail-card h3 {
  margin: 6px 0 8px;
}

.detail-card ul {
  margin: 0;
  padding-left: 18px;
  opacity: 0.9;
}

/* Safety alert effect */
[id="safety"] {
  outline: 2px dashed rgba(251, 113, 133, 0.4);
  animation: pulse 2.8s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.35);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(251, 113, 133, 0);
  }
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .slide {
    padding: 40px 30px;
  }

  .slide h2 {
    font-size: clamp(32px, 10vw, 48px);
    margin-bottom: 20px;
  }

  .slide p {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 30px;
  }

  .cta {
    padding: 14px 24px;
    font-size: 16px;
  }

  .tag {
    top: 20px;
    right: 20px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .nav {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .nav.prev {
    left: 20px;
  }

  .nav.next {
    right: 20px;
  }

  .dots {
    bottom: 30px;
    gap: 12px;
  }

  .controls {
    bottom: 60px;
    padding: 10px 14px;
  }
}

.settings-toggle {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 25;
  display: grid;
  place-items: center;
  transition: transform 200ms ease, background 200ms ease;
}

.settings-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

.settings-toggle[aria-expanded="true"] {
  transform: translateY(-50%) rotate(180deg);
}

/* Overrides: position settings toggle at top-right as a square */
.settings-toggle {
  right: 16px !important;
  top: 14px !important;
  bottom: auto !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
}

.settings-toggle[aria-expanded="true"] {
  transform: rotate(180deg) !important;
}

@media (max-width: 640px) {
  .settings-toggle {
    right: 10px !important;
    top: 12px !important;
    bottom: auto !important;
  }
}

/* Safety Officers CSS Start here - Scoped to slide-safety */
/* ============================================
   SAFETY OFFICER MONITOR - OPTIMIZED CSS
   No Screen Blink Issue
   ============================================ */

/* ============================================
   SAFETY OFFICER MONITOR - OPTIMIZED CSS
   With Smooth Badge Transition IN → OUT
   ============================================ */

.slide-safety .fullscreen-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  padding: 15px;
  gap: 12px;
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.8),
      rgba(30, 41, 59, 0.8));
}

/* ============================================
   HEADER
   ============================================ */

.slide-safety .header {
  flex-shrink: 0;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.1),
      rgba(167, 139, 250, 0.1));
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.2);
  padding: 8px 20px;
  margin-top: 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  color: white;
}

.slide-safety .glow-text {
  background: linear-gradient(90deg,
      var(--accent),
      var(--accent-2),
      var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 3s linear infinite;
}

.slide-safety .live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(34, 211, 238, 0.2);
  border-radius: 15px;
  border: 1px solid var(--accent);
}

.slide-safety .live-text {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ============================================
   STATS BAR
   ============================================ */

.slide-safety .stats-bar {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.stat-card {
  flex: 1;
  max-width: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 245, 255, 0.3);
  border-color: rgba(0, 245, 255, 0.5);
}

.stat-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: 3px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00f5ff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.counter-value.increment {
  animation: counterIncrementSmooth 0.6s ease-out;
}

.counter-value.decrement {
  animation: counterDecrementSmooth 0.6s ease-out;
}

@keyframes counterIncrementSmooth {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
    color: #22c55e;
  }

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

@keyframes counterDecrementSmooth {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
    color: #ef4444;
  }

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

/* ============================================
   TABLE CONTAINER
   ============================================ */

.slide-safety .table-container {
  flex: 1;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  min-height: 0;
}

.table-wrapper {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.table-wrapper::-webkit-scrollbar {
  width: 10px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: rgba(13, 17, 23, 0.5);
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00f5ff, #0095ff);
  border-radius: 10px;
}

/* ============================================
   TABLE STYLING
   ============================================ */

.slide-safety .status-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(13, 17, 23, 0.8);
}

.slide-safety .status-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.status-table thead tr {
  border-bottom: 2px solid rgba(0, 245, 255, 0.5);
}

.status-table th {
  padding: 15px 12px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00f5ff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.status-table th:first-child {
  width: 6%;
  text-align: center;
}

.status-table th:nth-child(2) {
  width: 24%;
}

.status-table th:nth-child(3) {
  width: 22%;
}

.status-table th:nth-child(4) {
  width: 18%;
}

.status-table th:nth-child(5) {
  width: 12%;
  text-align: center;
}

.status-table th:nth-child(6) {
  width: 18%;
  text-align: center;
}

.slide-safety .status-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  background: rgba(13, 17, 23, 0.4);
}

/* ============================================
   ROW ANIMATIONS - SMOOTH
   ============================================ */

.status-table tbody tr.slide-in {
  animation: slideInSmoothly 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInSmoothly {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

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

.status-table tbody tr.slide-out {
  animation: slideOutSmoothly 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

@keyframes slideOutSmoothly {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(150px);
    max-height: 0;
    padding: 0;
  }
}

.slide-safety .status-table tbody tr.active-in {
  background: rgba(34, 197, 94, 0.08);
  border-left: 4px solid #22c55e;
}

.status-table tbody tr:hover {
  transform: scale(1.005);
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.2);
  background: rgba(0, 245, 255, 0.05);
}

.status-table td {
  padding: 15px 12px;
  font-size: 0.95rem;
  color: #c9d1d9;
}

.status-table td:first-child {
  text-align: center;
  font-weight: 700;
  color: #00f5ff;
  font-size: 1.05rem;
}

.officer-name-cell,
.department-cell,
.mobile-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.officer-name-cell {
  font-weight: 600;
  color: #ffffff;
}

.officer-name-cell::before {
  content: "👤";
  font-size: 1.1rem;
}

.department-cell::before {
  content: "📋";
  font-size: 1rem;
}

.mobile-cell::before {
  content: "📱";
  font-size: 1rem;
}

.department-cell {
  color: #8b949e;
}

.mobile-cell {
  color: #00f5ff;
  font-weight: 600;
}

/* ============================================
   STATUS BADGES - WITH TRANSITION
   ============================================ */

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-badge.in {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.5);
}

.status-badge.out {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}

.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  transition: all 0.3s ease;
}

.status-badge.in::before {
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* Badge transition animation */
.status-badge.transitioning {
  animation: badgeTransition 0.6s ease-in-out;
}

@keyframes badgeTransition {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2) rotateY(180deg);
  }

  100% {
    transform: scale(1) rotateY(360deg);
  }
}

.time-cell {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.4s ease;
}

.time-cell.in {
  color: #00f5ff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.time-cell.out {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.empty-state-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: #8b949e;
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

.notifications-wrapper {
  position: fixed;
  top: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  max-width: 400px;
  pointer-events: none;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(22, 27, 34, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  border: 2px solid;
  box-shadow: 0 6px 25px;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(450px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.notification-item.show {
  opacity: 1;
  transform: translateX(0);
}

.green-notification {
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.red-notification {
  border-color: rgba(239, 68, 68, 0.8);
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.notification-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .header-title {
    font-size: 1.5rem;
  }

  .stats-bar {
    flex-direction: column;
  }

  .stat-card {
    max-width: 100%;
  }

  .notifications-wrapper {
    right: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
  }
}

/* Safety Officers CSS End here  */

/* Head Count CSS Start Here - Scoped to slide-headcount */
.slide-headcount .dashboard-wrapper {
  width: 100%;
  max-width: 1300px;
}

.dashboard-container {
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  padding: 28px;
  box-shadow: none;
}

.header-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.1),
      rgba(167, 139, 250, 0.1));
  backdrop-filter: blur(10px);
  border-radius: 16px;
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(var(--accent), var(--accent-2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}

.header-content {
  flex: 1;
}

.dashboard-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--accent);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.content-card {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.1),
      rgba(167, 139, 250, 0.1));
  border-radius: 20px;
  padding: 24px;
  box-shadow: none;
  border: 1px solid rgba(34, 211, 238, 0.2);
  backdrop-filter: blur(10px);
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
}

.header-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

.category-name {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.count-badge {
  min-width: 70px;
  perspective: 1000px;
}

.count-number {
  display: inline-block;
  background: rgba(34, 211, 238, 0.2);
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
  min-width: 70px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.count-number.flip {
  animation: flipAnimation 0.6s ease-in-out;
}

@keyframes flipAnimation {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }

  50% {
    transform: rotateX(90deg);
    opacity: 0.3;
  }

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

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid rgba(34, 211, 238, 0.3);
}

.total-label {
  font-size: 20px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.total-badge {
  perspective: 1000px;
}

.total-badge .count-number {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: black;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4);
}

@media (max-width: 650px) {
  .dashboard-container {
    padding: 20px;
  }

  .dashboard-title {
    font-size: 20px;
  }

  .category-name {
    font-size: 14px;
  }
}

/* Head Count CSS Stop Here  */

/* Canteen CSS Start Here - Scoped to slide-canteen */
.slide-canteen .canteen-card {
  max-width: 93vw;
  width: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  flex-shrink: 0;
  padding: 24px 28px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.15),
      rgba(167, 139, 250, 0.15));
  backdrop-filter: blur(15px);
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

.header-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.header-icon:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 48px rgba(34, 211, 238, 0.5);
}

.header-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.header-content h2 {
  font-size: 32px;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -1px;
  text-shadow: 0 4px 12px rgba(34, 211, 238, 0.2);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.2);
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  letter-spacing: 0.3px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
  flex-shrink: 0;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.counter-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.counter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(34, 211, 238, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.counter-card:hover::before {
  left: 100%;
}

.counter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.25);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.counter-card.gate {
  border-left: none;
}

.counter-card.served {
  border-left: none;
}

.counter-card.pending {
  border-left: none;
}

.counter-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
  transition: all 0.3s ease;
  position: relative;
}

.counter-card:hover .counter-icon {
  transform: scale(1.1) rotate(5deg);
}

.counter-card.gate .counter-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.counter-card.served .counter-icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.counter-card.pending .counter-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.counter-content {
  flex: 1;
}

.counter-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(229, 231, 235, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  display: block;
}

.counter-value {
  font-size: 36px;
  font-weight: 900;
  color: white;
  perspective: 1000px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
  display: block;
}

.counter-card:hover .counter-value {
  color: var(--accent);
  transform: scale(1.1);
}

.counter-value.animate-flip {
  animation: flipNumber 0.6s ease-in-out;
}

@keyframes flipNumber {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }

  50% {
    transform: rotateX(90deg);
    opacity: 0.3;
  }

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

.table-container {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.12);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(34, 211, 238, 0.25);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.canteen-table {
  width: 100%;
  border-collapse: collapse;
  height: 100%;
}

.canteen-table thead {
  background: rgba(34, 211, 238, 0.2);
  color: white;
}

.canteen-table th {
  padding: 14px 12px;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.3);
  color: var(--accent);
  position: relative;
}

.canteen-table th::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.canteen-table th:hover::before {
  width: 100%;
}

.canteen-table tbody {
  display: table-row-group;
}

.canteen-table tbody tr {
  border-bottom: 1px solid rgba(34, 211, 238, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideIn 0.5s ease-out forwards;
}

.canteen-table tbody tr:nth-child(1) {
  animation-delay: 0.05s;
}

.canteen-table tbody tr:nth-child(2) {
  animation-delay: 0.1s;
}

.canteen-table tbody tr:nth-child(3) {
  animation-delay: 0.15s;
}

.canteen-table tbody tr:nth-child(4) {
  animation-delay: 0.2s;
}

.canteen-table tbody tr:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

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

.canteen-table tbody tr:hover {
  background: rgba(34, 211, 238, 0.15);
  transform: scale(1.01);
  box-shadow: inset 0 0 20px rgba(34, 211, 238, 0.1);
}

.canteen-table tbody tr.animated-row {
  animation: highlightRow 2s ease-in-out;
}

@keyframes highlightRow {

  0%,
  100% {
    background: transparent;
  }

  50% {
    background: rgba(34, 211, 238, 0.15);
  }
}

.canteen-table td {
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  color: rgba(229, 231, 235, 0.95);
  font-weight: 500;
}

.canteen-table tbody tr:hover td {
  color: white;
  font-weight: 600;
}

.emp-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
  transition: all 0.3s ease;
}

.canteen-table tbody tr:hover .emp-photo {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.5);
}

.token-green {
  color: #16a34a;
  font-weight: 700;
  font-size: 16px;
}

.token-red {
  color: #dc2626;
  font-weight: 700;
  font-size: 16px;
}

.status-msg {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.2),
      rgba(167, 139, 250, 0.2));
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.canteen-table tbody tr:hover .status-msg {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.3),
      rgba(167, 139, 250, 0.3));
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.2);
}

.row-yellow {
  background: linear-gradient(135deg, #fef08a 0%, #fde047 100%) !important;
}

.row-yellow td {
  color: #1f2937 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.row-yellow .emp-photo {
  border-color: #f59e0b !important;
}

.row-yellow .status-msg {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #d97706 !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

.row-red {
  background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%) !important;
}

.row-red td {
  color: #7f1d1d !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.row-red .emp-photo {
  border-color: #dc2626 !important;
}

.row-red .status-msg {
  background: rgba(220, 38, 38, 0.2) !important;
  color: #991b1b !important;
  border-color: rgba(220, 38, 38, 0.3) !important;
}

@media (max-width: 768px) {
  .canteen-card {
    padding: 16px;
  }

  .header-content h2 {
    font-size: 22px;
  }

  .counters-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .canteen-table th,
  .canteen-table td {
    padding: 8px 6px;
    font-size: 12px;
  }

  .emp-photo {
    width: 36px;
    height: 36px;
  }
}

/* Canteen CSS Stop Here  */

/* Attendance CSS Start Here - Scoped to slide-attendance */
.slide-attendance .attendance-container {
  width: 186vh;
  height: 90vh;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(34, 211, 238, 0.25);
  overflow: hidden;
}

.main-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  height: 100%;
}

/* Biometric Machine Styles */
.machine-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.biometric-machine {
  width: 320px;
  background: linear-gradient(145deg, #2c3e50 0%, #34495e 100%);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
  border: 2px solid #34495e;
}

.machine-header {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.machine-brand {
  font-size: 24px;
  font-weight: 800;
  color: #3b82f6;
  letter-spacing: 2px;
}

.machine-model {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
}

.machine-screen {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  border: 3px solid #1e293b;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.idle-message {
  text-align: center;
  color: #64748b;
  padding: 20px;
}

.idle-message svg {
  margin-bottom: 12px;
  opacity: 0.5;
}

.idle-text {
  font-size: 16px;
  font-weight: 600;
}

/* Scanning Animation - Fitted to Screen */
.scanning-animation {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.3s ease-in;
  position: relative;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.scan-face-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scan-face-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.scan-frame {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 3px solid;
  border-radius: 50%;
  animation: scanPulse 1.5s ease-in-out infinite;
}

@keyframes scanPulse {

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

  50% {
    transform: scale(1.05);
    opacity: 0.6;
  }
}

.scan-line-horizontal {
  position: absolute;
  width: 180px;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  animation: scanMoveVertical 2s linear infinite;
  z-index: 3;
}

@keyframes scanMoveVertical {
  0% {
    transform: translateY(-90px);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

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

.scan-status {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  z-index: 2;
}

.scan-label {
  font-size: 13px;
  margin-top: 8px;
  font-weight: 600;
  opacity: 0.8;
}

.scan-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  animation: scanIconPulse 1.5s ease-in-out infinite;
}

.scan-icon svg {
  filter: drop-shadow(0 0 10px currentColor);
}

@keyframes scanIconPulse {

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

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

/* Success Screen - Fitted */
.success-check {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s ease-out;
  padding: 16px;
}

@keyframes successPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

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

.success-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
}

.success-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 12px 0;
}

.success-message {
  text-align: center;
  width: 100%;
}

.success-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.employee-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.employee-id {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

.success-time {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
}

.scanner-area {
  margin: 20px 0;
}

.fingerprint-scanner {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  border: 2px solid #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.fingerprint-scanner svg {
  width: 40px;
  height: 40px;
  color: #64748b;
}

.fingerprint-scanner.active {
  border-color: #3b82f6;
  animation: scannerGlow 1.5s ease-in-out infinite;
}

@keyframes scannerGlow {

  0%,
  100% {
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6),
      0 0 10px rgba(59, 130, 246, 0.3);
  }

  50% {
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6),
      0 0 20px rgba(59, 130, 246, 0.6);
  }
}

.scanner-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.machine-footer {
  margin-top: 16px;
  text-align: center;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.status-dot.active {
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Data Section Styles */
.data-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.header-text h1 {
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(34, 211, 238, 0.2);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.live-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.device-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(34, 211, 238, 0.1);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.device-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(var(--accent), var(--accent-2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.device-name {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.device-id {
  font-size: 11px;
  color: rgba(229, 231, 235, 0.8);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  gap: 14px;
  flex-shrink: 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-left: 4px solid;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.25);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(34, 211, 238, 0.4);
}

.stat-card.punch-in {
  border-left-color: #3b82f6;
}

.stat-card.punch-out {
  border-left-color: #ef4444;
}

.stat-card.present {
  border-left-color: #22c55e;
}

.stat-card.total {
  border-left-color: var(--accent);
}

.stat-card.punch-in {
  border-left-color: #3b82f6;
}

.stat-card.punch-out {
  border-left-color: #ef4444;
}

.stat-card.present {
  border-left-color: #22c55e;
}

.stat-card.total {
  border-left-color: var(--accent);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-card.punch-in .stat-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.stat-card.punch-out .stat-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.stat-card.present .stat-icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.stat-card.total .stat-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 24px;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.5px;
}

.stat-value.animate {
  animation: countUp 0.5s ease-out;
}

@keyframes countUp {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

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

.punch-feed {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feed-header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feed-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.feed-header h3::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.punch-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.punch-list::-webkit-scrollbar {
  width: 5px;
}

.punch-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.punch-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.punch-entry {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  border-radius: 14px;
  border-left: 4px solid;
  border: 1px solid rgba(34, 211, 238, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }

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

.punch-entry:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.punch-entry.punch-in {
  border-left-color: #22c55e;
}

.punch-entry.punch-out {
  border-left-color: #ef4444;
}

.punch-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.punch-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.punch-name {
  font-size: 14px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.2px;
}

.punch-emp-id {
  font-size: 11px;
  color: rgba(229, 231, 235, 0.7);
  font-weight: 500;
}

.punch-department {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.punch-time-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.punch-time {
  font-size: 13px;
  color: #1e293b;
  font-weight: 700;
}

.punch-date {
  font-size: 9px;
  color: #64748b;
}

.punch-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.punch-method.fingerprint {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #0c4a6e;
}

.punch-method.face {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: #831843;
}

.punch-method svg {
  width: 18px;
  height: 18px;
}

.punch-status {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.punch-status.in {
  background: linear-gradient(135deg, #dcfce7 0%, #86efac 100%);
  color: #15803d;
}

.punch-status.out {
  background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
  color: #b91c1c;
}

/* Attendance CSS Stop Here  */

.dashboard-wrapper {
  width: 95%;
  height: auto;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 20px 0;
}

.dashboard-header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex-wrap: wrap;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.1),
      rgba(167, 139, 250, 0.1));
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.header-logo {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.header-info-main {
  flex: 1;
}

.header-info-main h1 {
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.2);
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.indicator-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

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

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.month-display {
  text-align: right;
}

.month-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.7);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.month-value {
  font-size: 18px;
  font-weight: 800;
  color: white;
}

.time-value {
  font-size: 12px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.7);
  margin-top: 2px;
}

.summary-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 0;
}

.summary-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.04));
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.summary-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.25);
}

.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.summary-card.card-employees {
  border: none;
}

.summary-card.card-gross {
  border: none;
}

.summary-card.card-deductions {
  border: none;
}

.summary-card.card-net {
  border: none;
}

.summary-card.card-processed {
  border: none;
}

.summary-card.card-pending {
  border: none;
}

.card-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-employees .card-icon-wrapper {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.card-gross .card-icon-wrapper {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.card-deductions .card-icon-wrapper {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.card-net .card-icon-wrapper {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.card-processed .card-icon-wrapper {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
}

.card-pending .card-icon-wrapper {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.card-details {
  flex: 1;
}

.card-title {
  font-size: 10px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-amount {
  font-size: 22px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.card-amount.update-animation {
  animation: valueUpdate 0.5s ease-out;
}

@keyframes valueUpdate {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
  }

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

.costing-table-section {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.table-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 0;
  border-bottom: none;
  flex-wrap: wrap;
  gap: 15px;
}

.table-section-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.action-controls {
  display: flex;
  gap: 8px;
}

.control-btn {
  padding: 8px 16px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
}

.control-btn.active-filter {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
  font-weight: 700;
}

.table-scroll-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  flex: 1;
}

.table-scroll-wrapper::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(34, 211, 238, 0.1);
  border-radius: 10px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.4);
  border-radius: 10px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 211, 238, 0.6);
}

.costing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.costing-table thead {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.2),
      rgba(167, 139, 250, 0.2));
  position: sticky;
  top: 0;
  z-index: 100;
}

.costing-table th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
}

.costing-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.costing-table tbody tr:hover {
  background: rgba(34, 211, 238, 0.1);
}

.costing-table tbody tr.highlight-processed {
  animation: rowHighlight 2s ease-in-out;
}

@keyframes rowHighlight {

  0%,
  100% {
    background: transparent;
  }

  50% {
    background: linear-gradient(90deg,
        rgba(34, 197, 94, 0.15) 0%,
        rgba(34, 197, 94, 0.25) 100%);
  }
}

.costing-table td {
  padding: 12px 10px;
  color: rgba(229, 231, 235, 0.9);
  white-space: nowrap;
}

.employee-info-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.employee-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.3);
  object-fit: cover;
}

.employee-display-name {
  font-weight: 600;
  color: white;
}

.amount-cell {
  text-align: right;
  font-weight: 600;
  font-family: "Courier New", monospace;
}

.amount-positive {
  color: #059669;
}

.amount-negative {
  color: #dc2626;
}

.amount-neutral {
  color: #374151;
}

.status-label {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-processed {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
}

.status-pending {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.date-cell-text {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.update-animation {
  animation: valueUpdate 0.5s ease-out;
}

.card-amount.update-animation {
  animation: valueUpdate 0.5s ease-out;
}

.employee-info-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.employee-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.employee-display-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 13px;
}

.amount-cell {
  font-weight: 600;
  font-size: 13px;
}

.amount-positive {
  color: #22c55e;
}

.amount-negative {
  color: #ef4444;
}

.amount-neutral {
  color: #64748b;
}

.status-label {
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}

.status-label.status-processed {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
}

.status-label.status-pending {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.date-cell-text {
  font-weight: 600;
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 1400px) {
  .summary-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .summary-cards-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header-main {
    flex-direction: column;
    text-align: center;
  }

  .table-section-header {
    flex-direction: column;
    gap: 14px;
  }
}

/* ESS CSS Start */

.portal-wrapper-main {
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  padding: 25px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 96vh;
}

.portal-header-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
  padding: 20px;
  border-bottom: none;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.1),
      rgba(167, 139, 250, 0.1));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  flex-wrap: wrap;
}

.header-logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(var(--accent), var(--accent-2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

.header-text-info {
  flex: 1;
}

.header-text-info h1 {
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.auto-process-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.2);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {

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

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.header-time-section {
  text-align: right;
}

.time-label-text {
  font-size: 10px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.7);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.time-display-value {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

/* Status Dashboard */
.status-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 0;
}

.status-metric-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  transition: all 0.3s ease;
}

.status-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
  border-color: rgba(34, 211, 238, 0.3);
}

.metric-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-submitted .metric-icon-wrapper {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.metric-reviewing .metric-icon-wrapper {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.metric-approved .metric-icon-wrapper {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.metric-rejected .metric-icon-wrapper {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.metric-pending .metric-icon-wrapper {
  background: linear-gradient(135deg, #a78bfa 0%, #9333ea 100%);
  color: white;
}

.metric-details-content {
  flex: 1;
}

.metric-label-heading {
  font-size: 10px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.metric-count-number {
  font-size: 22px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.metric-count-number.count-animate {
  animation: countUpdate 0.5s ease-out;
}

@keyframes countUpdate {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

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

.main-layout-container {
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  gap: 18px;
}

/* Employee Panel */
.employee-side-panel {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  border-radius: 16px;
  padding: 18px;
  box-shadow: none;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.panel-title-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
}

.panel-title-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.user-profile-info,
.manager-profile-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: none;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.user-avatar-img,
.manager-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.manager-avatar-img {
  border-color: #22c55e;
}

.user-name-display,
.manager-name-display {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.user-id-display,
.manager-role-display {
  font-size: 10px;
  color: rgba(229, 231, 235, 0.7);
  font-weight: 600;
}

.request-submit-form {
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: none;
  border: 1px solid rgba(34, 211, 238, 0.2);
  backdrop-filter: blur(10px);
}

.form-heading-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}

.input-field-group {
  margin-bottom: 12px;
}

.field-label-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.7);
  margin-bottom: 5px;
}

.input-select-control,
.input-textarea-control {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: white;
  background: rgba(15, 23, 42, 0.5);
  transition: all 0.3s ease;
}

.input-select-control:focus,
.input-textarea-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.input-textarea-control {
  resize: vertical;
}

.form-submit-button {
  width: 100%;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: black;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.3);
}

.form-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.5);
}

.employee-requests-log,
.completed-requests-section {
  margin-top: 16px;
}

.employee-requests-log h3,
.completed-requests-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.requests-log-list,
.completed-requests-list {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.requests-log-list::-webkit-scrollbar,
.completed-requests-list::-webkit-scrollbar {
  width: 5px;
}

.requests-log-list::-webkit-scrollbar-track,
.completed-requests-list::-webkit-scrollbar-track {
  background: rgba(34, 211, 238, 0.1);
  border-radius: 10px;
}

.requests-log-list::-webkit-scrollbar-thumb,
.completed-requests-list::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.4);
  border-radius: 10px;
}

.log-empty-message {
  text-align: center;
  padding: 30px 15px;
  color: rgba(229, 231, 235, 0.6);
  font-size: 13px;
  font-weight: 600;
}

.request-log-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  box-shadow: none;
  border: 1px solid rgba(34, 211, 238, 0.2);
  animation: slideLeft 0.4s ease-out;
}

@keyframes slideLeft {
  from {
    transform: translateX(-15px);
    opacity: 0;
  }

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

.log-item-type {
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}

.log-item-reason {
  font-size: 11px;
  color: rgba(229, 231, 235, 0.7);
  margin-bottom: 4px;
}

.log-item-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-submitted {
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.status-reviewing {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-approved {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-rejected {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Workflow Center Panel */
.workflow-center-panel {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.workflow-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
}

.workflow-visualization {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.workflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: all 0.5s ease;
}

.workflow-node.node-active {
  opacity: 1;
  transform: scale(1.05);
}

.node-icon-circle {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.5s ease;
}

.workflow-node.node-active .node-icon-circle {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.6);
  animation: nodeGlow 1.5s infinite;
}

@keyframes nodeGlow {

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

  50% {
    transform: scale(1.06);
  }
}

.node-title-text {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.workflow-node.node-active .node-title-text {
  color: white;
  font-weight: 700;
}

.flow-connector-arrow {
  width: 2px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.animated-request-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.floating-request-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  max-width: 240px;
  animation: floatCard 2s ease-in-out infinite;
  border: 1px solid rgba(34, 211, 238, 0.3);
  backdrop-filter: blur(10px);
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.card-header-text {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.card-body-text {
  font-size: 11px;
  color: rgba(229, 231, 235, 0.8);
  margin-bottom: 6px;
}

.card-status-badge {
  display: inline-block;
  padding: 3px 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: black;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.current-activity-log {
  background: rgba(34, 211, 238, 0.1);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.activity-log-title {
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.activity-items-list {
  max-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-items-list::-webkit-scrollbar {
  width: 4px;
}

.activity-items-list::-webkit-scrollbar-track {
  background: rgba(34, 211, 238, 0.1);
}

.activity-items-list::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.4);
  border-radius: 10px;
}

.activity-log-entry {
  background: rgba(34, 211, 238, 0.15);
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 10px;
  color: white;
  animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

/* Approval Panel */
.approval-side-panel {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  border-radius: 16px;
  padding: 18px;
  box-shadow: none;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.completed-item-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  border-radius: 8px;
  border-left: 3px solid #22c55e;
  box-shadow: none;
  border: 1px solid rgba(34, 211, 238, 0.2);
  animation: slideRight 0.4s ease-out;
}

.completed-item-card.status-rejected {
  border-left-color: #ef4444;
}

@keyframes slideRight {
  from {
    transform: translateX(15px);
    opacity: 0;
  }

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

.completed-item-type {
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.completed-item-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1400px) {
  .status-dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-layout-container {
    grid-template-columns: 1fr;
  }
}

/*ESS CSS End */

/* Visitior management CSS */
.visitor-system-wrapper {
  height: calc(95vh - 40px);
  display: flex;
  flex-direction: column;
}

/* Login Screen */
.login-screen-auto {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.login-card-animated {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.1),
      rgba(167, 139, 250, 0.1));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 24px;
  padding: 40px;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.login-logo-circle {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    transform: scale(1.05);
  }
}

.login-card-animated h1 {
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.login-status-section {
  margin: 20px 0;
}

.spinner-loader {
  width: 45px;
  height: 45px;
  border: 4px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.login-status-section p {
  font-size: 15px;
  color: rgba(229, 231, 235, 0.8);
  font-weight: 600;
}

.mobile-number-display {
  margin-top: 18px;
  padding: 10px 18px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.2),
      rgba(167, 139, 250, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}

/* Main Dashboard - Full Screen */
.main-dashboard-screen {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: slideUp 0.6s ease-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dashboard-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.3);
  flex-shrink: 0;
}

.header-left-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-app {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4);
}

.header-info-text h2 {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.auto-badge-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 211, 238, 0.2);
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.pulse-dot-auto {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.user-info-logged {
  text-align: right;
}

.user-name-logged {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.user-code-logged {
  display: block;
  font-size: 11px;
  color: rgba(229, 231, 235, 0.7);
  font-weight: 600;
}

.dashboard-grid-layout {
  display: grid;
  grid-template-columns: 320px 200px 1fr;
  gap: 14px;
  margin-bottom: 12px;
  flex-shrink: 0;
  height: 526px;
}

/* Mobile Device Panel */
.mobile-device-panel,
.workflow-steps-panel,
.results-qr-panel {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.1);
  overflow: hidden;
}

.mobile-device-panel h3,
.workflow-steps-panel h3,
.results-qr-panel h3 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.mobile-phone-frame {
  width: 100%;
  max-width: 295px;
  background: #1e293b;
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.mobile-camera-notch {
  width: 90px;
  height: 18px;
  background: #0f172a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 3px;
}

.mobile-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 4px 10px;
  color: white;
  font-size: 10px;
  font-weight: 600;
}

.status-icons-right {
  display: flex;
  gap: 5px;
}

.mobile-app-top-bar {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 10px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: black;
  font-size: 13px;
  font-weight: 700;
}

.mobile-content-area {
  padding: 10px 8px;
  max-height: 26vh;
  overflow-y: auto;
}

.mobile-content-area::-webkit-scrollbar {
  width: 3px;
}

.mobile-content-area::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.mobile-field-item {
  margin-bottom: 8px;
}

.mobile-field-item label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.7);
  margin-bottom: 3px;
  text-transform: uppercase;
}

.field-value-mobile {
  padding: 6px 8px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 7px;
  font-size: 11px;
  color: #1e293b;
  font-weight: 600;
  min-height: 30px;
  display: flex;
  align-items: center;
  animation: fieldSlide 0.4s ease-out;
}

@keyframes fieldSlide {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }

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

.mobile-submit-btn {
  width: 100%;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: black;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.3);
  transition: transform 0.2s;
}

.mobile-progress-area {
  background: #1e293b;
  padding: 8px 10px;
}

.progress-bar-mobile {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill-mobile {
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  width: 0%;
  transition: width 0.5s ease;
}

.progress-text-mobile {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-align: center;
}

.mobile-nav-buttons {
  background: #0f172a;
  padding: 8px;
  border-radius: 0 0 18px 18px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-btn-back,
.nav-btn-home,
.nav-btn-recent {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

/* Workflow Steps */
.steps-container-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
  margin-bottom: 12px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.4;
  transition: all 0.5s ease;
}

.step-item.active {
  opacity: 1;
  transform: scale(1.08);
}

.step-circle {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: rgba(229, 231, 235, 0.6);
  transition: all 0.5s ease;
  border: 2px solid rgba(34, 211, 238, 0.2);
}

.step-item.active .step-circle {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.6);
}

.step-item span {
  font-size: 10px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.7);
}

.step-item.active span {
  color: white;
  font-weight: 700;
}

.step-connector {
  width: 2px;
  height: 18px;
  background: #e2e8f0;
}

.current-status-display {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 10px;
  color: rgba(229, 231, 235, 0.7);
  font-weight: 600;
}

/* Results Compact */
.results-compact-list {
  max-height: 500px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 3px;
}

.results-compact-list::-webkit-scrollbar {
  width: 4px;
}

.results-compact-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.empty-message-compact {
  text-align: center;
  padding: 25px 12px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.result-card-compact {
  background: white;
  padding: 8px;
  border-radius: 8px;
  border-left: 3px solid;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  animation: slideRight 0.5s ease-out;
}

@keyframes slideRight {
  from {
    transform: translateX(15px);
    opacity: 0;
  }

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

.result-card-compact.approved {
  border-left-color: #22c55e;
}

.result-card-compact.declined {
  border-left-color: #ef4444;
}

.result-header-compact {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.result-name-compact {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
}

.result-badge-compact {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-approved {
  background: #dcfce7;
  color: #166534;
}

.badge-declined {
  background: #fee2e2;
  color: #991b1b;
}

.result-info-compact {
  font-size: 9px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 6px;
}

.qr-display-compact {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0 auto;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  padding: 4px;
}

/* Bottom Section - Fits remaining space */
.bottom-section-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
  flex: 1;
  min-height: 0;
}

.visitor-list-panel,
.chart-panel {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.visitor-list-panel h3,
.chart-panel h3 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.chart-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chart-panel canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

.visitor-table-wrapper {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.visitor-table-wrapper::-webkit-scrollbar {
  width: 4px;
}

.visitor-table-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.visitor-table-compact {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.visitor-table-compact thead {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: sticky;
  top: 0;
  z-index: 10;
}

.visitor-table-compact th {
  padding: 7px 8px;
  text-align: left;
  color: black;
  font-weight: 700;
  font-size: 9px;
  text-transform: uppercase;
}

.visitor-table-compact td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  color: white;
  font-weight: 600;
}

.no-data-text {
  text-align: center;
  padding: 18px;
  color: #94a3b8;
}

.status-badge-table {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

#purposePieChart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

@media (max-width: 1600px) {
  .dashboard-grid-layout {
    grid-template-columns: 300px 180px 1fr;
  }
}

/*last Thank YOU Slide */

/* ============================================
   THANK YOU SLIDE - COMPLETE CSS
   Business Card Style - Logos Always Colorful
   Version: 2.0 - No Grayscale Filter
   ============================================ */

/* ============================================
   MAIN WRAPPER - BUSINESS CARD STYLE
   ============================================ */

.thankyou-businesscard-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
  overflow: hidden;
}

/* Subtle background pattern */
.thankyou-businesscard-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ============================================
   MAIN BUSINESS CARD CONTAINER
   ============================================ */

.thankyou-businesscard-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1380px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: cardSlideIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 3px solid #e5e7eb;
}

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }

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

/* ============================================
   CARD HEADER: COMPANY LOGOS & TITLE
   ============================================ */

.thankyou-card-header {
  background: white;
  padding: 40px 50px 30px;
  text-align: center;
  border-bottom: 2px solid #e5e7eb;
}

.thankyou-company-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 25px;
}

/* Company Brand Logos - Always in Full Color */
.company-brand-logo {
  height: 60px;
  object-fit: contain;
  filter: none;
  -webkit-filter: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-brand-logo:hover {
  transform: scale(1.08) translateY(-3px);
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.2));
}

.thankyou-card-main-title {
  font-size: 36px;
  font-weight: 800;
  color: #1a202c;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

/* ============================================
   BIOMETRIC SYSTEMS SECTION
   ============================================ */

.thankyou-card-biometric {
  background: #f9fafb;
  padding: 40px 50px;
  border-bottom: 2px solid #e5e7eb;
}

.thankyou-biometric-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 35px 0;
}

.thankyou-biometric-logos-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ============================================
   BIOMETRIC LOGO ITEMS - ALWAYS COLORFUL
   ============================================ */

.thankyou-biometric-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: itemEntrance 0.6s ease-out forwards;
}

/* Shimmer effect */
.thankyou-biometric-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(14, 165, 233, 0.1),
      transparent);
  transition: left 0.6s ease;
}

.thankyou-biometric-item:hover::before {
  left: 100%;
}

.thankyou-biometric-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.2);
  border-color: #0ea5e9;
}

/* ============================================
   BIOMETRIC LOGOS - ALWAYS IN FULL COLOR
   ============================================ */

.biometric-brand-logo {
  width: 100%;
  height: 70px;
  object-fit: contain;
  filter: none;
  -webkit-filter: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 8px;
}

.thankyou-biometric-item:hover .biometric-brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 6px rgba(14, 165, 233, 0.15));
}

.biometric-tagline {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  margin-top: 5px;
  transition: color 0.3s ease;
}

.thankyou-biometric-item:hover .biometric-tagline {
  color: #0ea5e9;
}

/* ============================================
   BIOMAX TEXT LOGO - ALWAYS COLORFUL
   ============================================ */

.biomax-logo-text {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
  filter: none;
  transition: transform 0.4s ease;
}

.thankyou-biometric-item:hover .biomax-logo-text {
  transform: scale(1.05);
}

.biomax-bio {
  color: #000;
}

.biomax-max {
  color: #22c55e;
}

/* ============================================
   AUTOMATIC ANIMATION CLASSES
   ============================================ */

.thankyou-biometric-item.auto-active {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
  border-color: #0ea5e9;
  background: linear-gradient(135deg,
      rgba(14, 165, 233, 0.05),
      rgba(6, 182, 212, 0.05));
}

.thankyou-biometric-item.auto-active::before {
  left: 100%;
}

.thankyou-biometric-item.auto-active .biometric-brand-logo {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.4));
  animation: logoGlowEffect 0.8s ease-in-out;
}

@keyframes logoGlowEffect {

  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.6));
  }
}

.thankyou-biometric-item.auto-active .biometric-tagline {
  color: #0ea5e9;
  font-weight: 700;
}

.thankyou-biometric-item.auto-active .biomax-logo-text {
  transform: scale(1.1);
}

/* Manual hover state */
.thankyou-biometric-item.manual-hover {
  transform: translateY(-12px) scale(1.06);
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.35);
  border-color: #06b6d4;
  z-index: 10;
}

.thankyou-biometric-item.manual-hover .biometric-brand-logo {
  transform: scale(1.12);
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.5));
}

.thankyou-biometric-item.manual-hover .biometric-tagline {
  color: #06b6d4;
  font-weight: 700;
}

/* ============================================
   CONTACT INFORMATION BANNER
   ============================================ */

.thankyou-card-contact-banner {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  padding: 30px 50px;
}

.thankyou-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.thankyou-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.thankyou-contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   FOOTER: SOCIAL & COPYRIGHT
   ============================================ */

.thankyou-card-footer {
  background: #f9fafb;
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thankyou-social-icons {
  display: flex;
  gap: 12px;
}

.thankyou-social-link {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.thankyou-social-link:hover {
  transform: translateY(-5px) rotate(360deg) scale(1.15);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

.thankyou-social-link svg {
  color: white;
}

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

.thankyou-copyright-info p {
  margin: 0;
}

/* ============================================
   FLOATING THANK YOU BADGE
   ============================================ */

.thankyou-floating-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
  animation: floatBadge 3s ease-in-out infinite;
  z-index: 20;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.thankyou-floating-badge svg {
  color: white;
}

.badge-thank-you-text {
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   ENTRANCE ANIMATIONS
   ============================================ */

.thankyou-biometric-item:nth-child(1) {
  animation-delay: 0.1s;
}

.thankyou-biometric-item:nth-child(2) {
  animation-delay: 0.2s;
}

.thankyou-biometric-item:nth-child(3) {
  animation-delay: 0.3s;
}

.thankyou-biometric-item:nth-child(4) {
  animation-delay: 0.4s;
}

.thankyou-biometric-item:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes itemEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .thankyou-biometric-logos-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .thankyou-contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .thankyou-businesscard-wrapper {
    padding: 20px;
  }

  .thankyou-card-header,
  .thankyou-card-biometric,
  .thankyou-card-contact-banner,
  .thankyou-card-footer {
    padding: 30px 25px;
  }

  .thankyou-company-logos {
    flex-direction: column;
    gap: 20px;
  }

  .thankyou-card-main-title {
    font-size: 24px;
  }

  .thankyou-biometric-heading {
    font-size: 20px;
  }

  .thankyou-biometric-logos-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .thankyou-card-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .thankyou-floating-badge {
    width: 80px;
    height: 80px;
  }

  .badge-thank-you-text {
    font-size: 11px;
  }

  .thankyou-contact-detail {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .thankyou-businesscard-wrapper {
    padding: 15px;
  }

  .thankyou-businesscard-container {
    border-radius: 10px;
  }

  .thankyou-card-header,
  .thankyou-card-biometric,
  .thankyou-card-contact-banner,
  .thankyou-card-footer {
    padding: 20px 15px;
  }

  .thankyou-biometric-logos-row {
    grid-template-columns: 1fr;
  }

  .thankyou-card-main-title {
    font-size: 20px;
  }

  .thankyou-biometric-heading {
    font-size: 18px;
  }

  .company-brand-logo {
    height: 50px;
  }

  .biometric-brand-logo {
    height: 60px;
  }

  .thankyou-floating-badge {
    width: 70px;
    height: 70px;
    top: 15px;
    right: 15px;
  }

  .thankyou-floating-badge svg {
    width: 30px;
    height: 30px;
  }

  .badge-thank-you-text {
    font-size: 10px;
  }
}

/* ============================================
   SMOOTH TRANSITIONS
   ============================================ */

.thankyou-biometric-item,
.biometric-brand-logo,
.biometric-tagline,
.thankyou-social-link,
.company-brand-logo,
.biomax-logo-text {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================ */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.thankyou-biometric-item:focus-within,
.thankyou-social-link:focus,
.company-brand-logo:focus {
  outline: 3px solid #0ea5e9;
  outline-offset: 3px;
  border-radius: 12px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .thankyou-businesscard-wrapper {
    background: white;
    padding: 0;
  }

  .thankyou-businesscard-wrapper::before {
    display: none;
  }

  .thankyou-businesscard-container {
    box-shadow: none;
    border: 1px solid #000;
    max-width: 100%;
  }

  .thankyou-floating-badge {
    display: none;
  }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

.thankyou-businesscard-container::-webkit-scrollbar {
  width: 8px;
}

.thankyou-businesscard-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.thankyou-businesscard-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  border-radius: 10px;
}

.thankyou-businesscard-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0284c7, #0891b2);
}

/* ============================================
   LOADING STATE (OPTIONAL)
   ============================================ */

.thankyou-businesscard-container.loading {
  opacity: 0.7;
  pointer-events: none;
}

.thankyou-businesscard-container.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0ea5e9;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Menu Button & Menu Styles */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.2),
      rgba(167, 139, 250, 0.2));
  border: 2px solid rgba(34, 211, 238, 0.5);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.menu-toggle:hover {
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.3),
      rgba(167, 139, 250, 0.3));
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide Menu Panel - Full Screen Centered */
.slide-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.95),
      rgba(30, 41, 59, 0.92));
  backdrop-filter: blur(12px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
  animation: slideMenuOpen 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  overflow-y: auto;
  pointer-events: auto;
}

.slide-menu[hidden] {
  animation: slideMenuClose 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes slideMenuOpen {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    backdrop-filter: blur(12px);
    transform: scale(1);
  }
}

@keyframes slideMenuClose {
  from {
    opacity: 1;
    backdrop-filter: blur(12px);
    transform: scale(1);
  }

  to {
    opacity: 0;
    backdrop-filter: blur(0px);
    transform: scale(0.95);
  }
}

.slide-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.2);
  background: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  animation: slideHeaderDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-menu[hidden] .slide-menu-header {
  animation: slideHeaderUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-menu-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.menu-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotateIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-close:hover {
  color: var(--accent);
  transform: scale(1.1) rotate(90deg);
}

/* Menu Navigation - Centered and Full Screen */
.slide-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.slide-menu-item {
  padding: 18px 40px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  animation: slideItemIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-menu-item:nth-child(1) {
  animation-delay: 0.1s;
}

.slide-menu-item:nth-child(2) {
  animation-delay: 0.15s;
}

.slide-menu-item:nth-child(3) {
  animation-delay: 0.2s;
}

.slide-menu-item:nth-child(4) {
  animation-delay: 0.25s;
}

.slide-menu-item:nth-child(5) {
  animation-delay: 0.3s;
}

.slide-menu-item:nth-child(6) {
  animation-delay: 0.35s;
}

.slide-menu-item:nth-child(7) {
  animation-delay: 0.4s;
}

.slide-menu-item:nth-child(8) {
  animation-delay: 0.45s;
}

.slide-menu-item:nth-child(9) {
  animation-delay: 0.5s;
}

.slide-menu[hidden] .slide-menu-item {
  animation: slideItemOut 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-menu-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center,
      rgba(34, 211, 238, 0.2),
      transparent);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.slide-menu-item:hover {
  background: rgba(34, 211, 238, 0.15);
  border-bottom-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.slide-menu-item:hover::before {
  transform: scale(1);
}

.slide-menu-item.active {
  background: rgba(34, 211, 238, 0.2);
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

/* Custom Page Styles */
.custom-page-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg,
      rgba(30, 41, 59, 0.5),
      rgba(15, 23, 42, 0.5));
}

.custom-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInDown 0.8s ease;
}

.custom-header h1 {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px 0;
}

.custom-header p {
  font-size: 18px;
  color: rgba(229, 231, 235, 0.7);
  margin: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 1200px;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.feature-card {
  padding: 30px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.05),
      rgba(167, 139, 250, 0.05));
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(34, 211, 238, 0.1) 0%,
      transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.15),
      rgba(167, 139, 250, 0.1));
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  color: var(--accent);
  margin-bottom: 15px;
  animation: pulse 2s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
  color: var(--accent-2);
  animation: bounce 0.6s ease;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 15px 0 10px 0;
  color: var(--text);
}

.feature-card p {
  font-size: 13px;
  color: rgba(229, 231, 235, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Menu Animation Keyframes */
@keyframes slideHeaderDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

@keyframes slideHeaderUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-90deg);
  }

  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}

@keyframes slideItemIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes slideItemOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

/* Additional Pages Styling */
.additional-pages {
  background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
  color: var(--text);
}

.page-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.1);
  height: 100vh;
}

.page-content {
  max-width: 1200px;
  width: 100%;
  animation: fadeInUp 0.8s ease;
}

.page-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 18px;
  color: rgba(229, 231, 235, 0.7);
  margin: 0 0 40px 0;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-item {
  padding: 30px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.15),
      rgba(167, 139, 250, 0.1));
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.benefit-item h3 {
  font-size: 20px;
  margin: 15px 0 10px 0;
  color: var(--accent);
}

.benefit-item p {
  font-size: 14px;
  color: rgba(229, 231, 235, 0.6);
  margin: 0;
}

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.pricing-card {
  padding: 40px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.05),
      rgba(167, 139, 250, 0.05));
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(34, 211, 238, 0.15);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.1),
      rgba(167, 139, 250, 0.08));
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent);
  color: var(--bg-start);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}

.plan-price {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 5px;
}

.plan-price span {
  font-size: 16px;
  opacity: 0.7;
}

.plan-description {
  font-size: 14px;
  color: rgba(229, 231, 235, 0.6);
  margin-bottom: 25px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(34, 211, 238, 0.1);
  font-size: 14px;
}

.plan-features li:before {
  content: "✓ ";
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
}

.plan-button {
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-button:hover {
  background: var(--accent);
  color: var(--bg-start);
}

.plan-button.featured-button {
  background: var(--accent);
  color: var(--bg-start);
}

.plan-button.featured-button:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.08),
      rgba(167, 139, 250, 0.08));
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.stars {
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 14px;
  color: rgba(229, 231, 235, 0.8);
  margin: 15px 0;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(34, 211, 238, 0.1);
}

.author-avatar {
  font-size: 32px;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--accent);
}

.author-title {
  font-size: 12px;
  color: rgba(229, 231, 235, 0.6);
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.contact-form h3,
.contact-info h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: var(--bg-start);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  color: var(--accent);
  margin-bottom: 5px;
}

.info-item p {
  font-size: 14px;
  color: rgba(229, 231, 235, 0.8);
  margin: 0;
  line-height: 1.6;
}

/* Footer */
/* Footer heading underline effect */
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
}

/* Footer link arrow effect */
.footer-link::before {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  color: #3b82f6;
  font-size: 12px;
  transition: all 0.25s ease;
}

.footer-link:hover::before {
  opacity: 1;
  left: 0;
}

/* Contact icon hover effect */
.contact-item:hover .contact-icon {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
  transform: scale(1.05);
}

/* Bottom footer link underline */
.footer-bottom-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #60a5fa;
  transition: width 0.25s ease;
}

.footer-bottom-link:hover::after {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .circle-right,
  .circle-left {
    width: 200px;
    height: 200px;
  }
}



/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================ */

/* Desktop Large (1400px+) */
@media (max-width: 1400px) {
  .slide {
    padding: 20px;
  }

  .slide .content {
    padding: 0 20px;
  }

  .attendance-container,
  .dashboard-wrapper,
  .portal-wrapper-main,
  .visitor-system-wrapper {
    flex-direction: column;
    gap: 20px;
    width: 100% !important;
  }

  .machine-section,
  .data-section,
  .employee-side-panel,
  .workflow-center-panel,
  .approval-side-panel {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Tablet Large (1024px) */
@media (max-width: 1024px) {
  .slide {
    padding: 15px;
  }

  .slide h2 {
    font-size: clamp(36px, 8vw, 56px);
  }

  .slide p {
    font-size: clamp(16px, 3vw, 22px);
  }

  .slide .content {
    padding: 0 15px;
  }

  .attendance-container,
  .dashboard-wrapper,
  .portal-wrapper-main,
  .visitor-system-wrapper {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
  }

  .machine-section,
  .data-section,
  .employee-side-panel,
  .workflow-center-panel,
  .approval-side-panel {
    width: 100% !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid,
  .pricing-cards,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  .topbar {
    padding: 12px 15px;
    font-size: 13px;
    gap: 10px;
  }

  .brand {
    font-size: 15px;
  }

  .subtitle {
    font-size: 11px;
  }

  .slide {
    padding: 12px;
    overflow-y: auto;
  }

  .slide h2 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .slide p {
    font-size: clamp(14px, 2.5vw, 18px);
  }

  .slide .content {
    padding: 0 12px;
  }

  .cta {
    padding: 14px 24px;
    font-size: 15px;
  }

  .tag {
    top: 20px;
    right: 20px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .nav {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .nav.prev {
    left: 15px;
  }

  .nav.next {
    right: 15px;
  }

  .attendance-container,
  .dashboard-wrapper,
  .portal-wrapper-main,
  .visitor-system-wrapper {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
  }

  .machine-section,
  .data-section,
  .employee-side-panel,
  .workflow-center-panel,
  .approval-side-panel {
    width: 100% !important;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .summary-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .benefits-grid,
  .pricing-cards,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header-main {
    flex-direction: column;
    gap: 10px;
  }

  .costing-table-section {
    padding: 12px 0;
  }

  .page-content h1 {
    font-size: 32px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}

/* Mobile Large (640px) */
@media (max-width: 640px) {
  .topbar {
    padding: 10px 12px;
    font-size: 12px;
    gap: 8px;
    flex-direction: column;
  }

  .brand {
    font-size: 13px;
  }

  .subtitle {
    font-size: 10px;
  }

  .slide {
    padding: 10px;
    overflow-y: auto;
  }

  .slide h2 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .slide p {
    font-size: clamp(13px, 2vw, 16px);
  }

  .slide .content {
    padding: 0 10px;
  }

  .cta {
    padding: 12px 20px;
    font-size: 14px;
  }

  .tag {
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .nav {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .nav.prev {
    left: 10px;
  }

  .nav.next {
    right: 10px;
  }

  .biometric-machine {
    max-width: 280px;
  }

  .machine-screen {
    height: 180px;
  }

  .summary-cards-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .costing-table {
    font-size: 12px;
  }

  .costing-table th,
  .costing-table td {
    padding: 8px 4px;
  }

  .page-content h1 {
    font-size: 28px;
  }

  .page-subtitle {
    font-size: 14px;
  }

  .contact-wrapper {
    gap: 20px;
  }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {

  html,
  body {
    font-size: 14px;
  }

  .topbar {
    padding: 8px 10px;
    font-size: 11px;
  }

  .brand {
    font-size: 12px;
  }

  .subtitle {
    font-size: 9px;
  }

  .slide {
    padding: 8px;
    overflow-y: auto;
  }

  .slide h2 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .slide p {
    font-size: clamp(12px, 1.8vw, 14px);
  }

  .slide .content {
    padding: 0 8px;
  }

  .cta {
    padding: 10px 18px;
    font-size: 13px;
    width: 90%;
  }

  .tag {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .nav {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .nav.prev {
    left: 8px;
  }

  .nav.next {
    right: 8px;
  }

  .details {
    margin: 20px auto 60px;
  }

  .detail-card {
    padding: 14px;
  }

  .page-content h1 {
    font-size: 22px;
  }

  .page-subtitle {
    font-size: 12px;
  }

  .contact-wrapper {
    gap: 15px;
    grid-template-columns: 1fr;
  }

  .costing-table {
    font-size: 11px;
  }

  .costing-table th,
  .costing-table td {
    padding: 6px 3px;
  }

  .dashboard-wrapper {
    padding: 15px 10px;
  }

  .summary-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
  }

  .card-amount {
    font-size: 18px;
  }

  .table-scroll-wrapper {
    max-height: 250px;
  }
}

/* ============================================
   ANIMATED BUBBLES STYLES
   ============================================ */
.animated-bubbles-container {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 280px;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
}

.bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.2),
      rgba(167, 139, 250, 0.2));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(34, 211, 238, 0.3);
  padding: 16px;
  text-align: center;
  transform: scale(0) translateY(50px);
  opacity: 0;
  will-change: transform, opacity;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.1);
}

.bubble-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.bubble-icon svg {
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5));
}

.bubble-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bubble-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bubble-value {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bubble color variations */
.bubble-punchin {
  border-color: rgba(34, 211, 238, 0.5);
}

.bubble-punchin .bubble-icon {
  color: #22d3ee;
}

.bubble-punchout {
  border-color: rgba(251, 113, 133, 0.5);
}

.bubble-punchout .bubble-icon {
  color: #fb7185;
}

.bubble-punchout .bubble-value {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bubble-present {
  border-color: rgba(34, 197, 94, 0.5);
}

.bubble-present .bubble-icon {
  color: #22c55e;
}

.bubble-present .bubble-value {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bubble-total {
  border-color: rgba(167, 139, 250, 0.5);
}

.bubble-total .bubble-icon {
  color: #a78bfa;
}

.bubble-total .bubble-value {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hover effects */
.bubble:hover {
  transform: scale(1.1) translateY(-10px);
  box-shadow: 0 16px 48px rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.6);
}

.bubble-punchout:hover {
  box-shadow: 0 16px 48px rgba(251, 113, 133, 0.2);
  border-color: rgba(251, 113, 133, 0.6);
}

.bubble-present:hover {
  box-shadow: 0 16px 48px rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.6);
}

.bubble-total:hover {
  box-shadow: 0 16px 48px rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.6);
}

/* Animation states */
.bubble.show {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.animated-bubbles-container.visible {
  opacity: 1;
}

/* Pulse animation for bubbles */
@keyframes bubblePulse {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.1);
  }

  50% {
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.3);
  }
}

.bubble.pulse {
  animation: bubblePulse 2s ease-in-out infinite;
}

/* Float animation */
@keyframes bubbleFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.bubble.show {
  animation: bubbleFloat 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1200px) {
  .animated-bubbles-container {
    right: 2%;
    width: 240px;
    gap: 16px;
  }

  .bubble {
    width: 110px;
    height: 110px;
    gap: 10px;
  }

  .bubble-icon {
    width: 42px;
    height: 42px;
  }

  .bubble-label {
    font-size: 11px;
  }

  .bubble-value {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .animated-bubbles-container {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    margin-top: 30px;
    gap: 12px;
  }

  .bubble {
    width: 100px;
    height: 100px;
  }

  .bubble-value {
    font-size: 20px;
  }
}

/* Thank You Slide - Logo Styling */
.thankyou-logo-section {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  animation: slideDown 600ms ease both;
}

.thankyou-logo {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(14, 165, 233, 0.2));
}


@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

/* ================================================
   SCROLL DOWN INDICATOR
   ================================================ */

.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 100;
  animation: fadeInBounce 1.5s ease-out;
}

.scroll-down-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0ea5e9;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

.scroll-down-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
  animation: bounce 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.scroll-down-arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(14, 165, 233, 0.6);
}

.scroll-down-arrow svg {
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Animations */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scroll-down-indicator {
    bottom: 20px;
  }

  .scroll-down-text {
    font-size: 0.85rem;
  }

  .scroll-down-arrow {
    width: 45px;
    height: 45px;
  }

  .scroll-down-arrow svg {
    width: 28px;
    height: 28px;
  }
}

/* ============================================
   MODERN HERO SECTION
   ============================================ */
/* Pulse dot animation */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22d3ee;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Card animations */
.glass-card-main {
  animation: floatMain 6s ease-in-out infinite;
}

.card-float-1 {
  animation: float 5s ease-in-out infinite 1s;
}

.card-float-2 {
  animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatMain {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, -60%);
  }
}

/* Bar animations */
.bar-1 {
  animation: barGrow 2s infinite alternate;
}

.bar-2 {
  animation: barGrow 2.5s infinite alternate-reverse;
}

.bar-3 {
  animation: barGrow 3s infinite alternate;
}

.bar-4 {
  animation: barGrow 2.2s infinite alternate-reverse;
}

@keyframes barGrow {
  0% {
    transform: scaleY(0.8);
  }

  100% {
    transform: scaleY(1.1);
  }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE STYLES
   Mobile-First Approach
   ============================================ */

/* Tablet and Below (max-width: 1024px) */
@media (max-width: 1024px) {

  /* Navbar adjustments */
  .navbar-container {
    width: 95%;
    padding: 0 10px;
  }

  .navbar-menu {
    gap: 15px;
  }

  .nav-item {
    font-size: 14px;
    padding: 6px 10px;
  }

  /* Attendance Section */
  .attendance-container {
    flex-direction: column !important;
    gap: 20px;
    padding: 15px !important;
  }

  .machine-section,
  .data-section {
    width: 100% !important;
    max-width: 100% !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Payroll Dashboard */
  .dashboard-wrapper {
    padding: 15px !important;
  }

  .summary-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .costing-table-section {
    overflow-x: auto;
  }

  .table-scroll-wrapper {
    overflow-x: auto;
  }

  .costing-table {
    font-size: 12px;
  }

  .costing-table th,
  .costing-table td {
    padding: 8px 6px !important;
  }

  /* Employee Portal */
  .portal-wrapper-main {
    width: 95vw !important;
  }

  .main-layout-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .employee-side-panel,
  .workflow-center-panel,
  .approval-side-panel {
    max-width: 100%;
  }

  /* Visitor Management */
  .visitor-system-wrapper {
    width: 95vw !important;
  }

  .dashboard-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  /* Canteen */
  .counters-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .canteen-table {
    font-size: 13px;
  }

  /* Live Headcount */
  .dashboard-container {
    width: 95vw !important;
    padding: 15px !important;
  }

  /* Safety Officers */
  .slide-safety .stats-bar {
    flex-direction: column;
    gap: 10px;
  }

  .stat-card {
    max-width: 100%;
  }

  .status-table {
    font-size: 12px;
  }

  .status-table th,
  .status-table td {
    padding: 10px 6px !important;
  }
}

/* Mobile and Small Tablets (max-width: 768px) */
@media (max-width: 768px) {

  /* Hide desktop navbar, show mobile menu button if needed */
  .navbar {
    padding: 10px 0;
  }

  .navbar-container {
    width: 100%;
    padding: 0 15px;
  }

  .brand-link {
    font-size: 18px;
  }

  .navbar-menu {
    gap: 10px;
  }

  .nav-item {
    font-size: 13px;
    padding: 5px 8px;
  }

  /* Carousel adjustments */
  .carousel {
    height: calc(100vh - 50px);
  }

  .viewport,
  .slides,
  .slide {
    height: calc(100vh - 50px);
    min-height: calc(100vh - 50px);
  }

  /* Attendance Section */
  .attendance-container {
    padding: 10px !important;
  }

  .biometric-machine {
    max-width: 100%;
    margin: 0 auto;
  }

  .machine-screen {
    height: 200px !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .stat-card {
    padding: 10px !important;
  }

  .stat-value {
    font-size: 24px !important;
  }

  .punch-feed {
    max-height: 300px !important;
  }

  /* Payroll Section */
  .dashboard-header-main {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .dashboard-header-main h1 {
    font-size: 20px !important;
  }

  .summary-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .card-amount {
    font-size: 20px !important;
  }

  .table-section-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .action-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .control-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Employee Portal */
  .portal-header-top {
    padding: 15px !important;
  }

  .portal-header-top h1 {
    font-size: 18px !important;
  }

  .status-dashboard-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .metric-count-number {
    font-size: 24px !important;
  }

  .main-layout-container {
    padding: 10px !important;
  }

  /* Visitor Management */
  .mobile-phone-frame {
    width: 100% !important;
    max-width: 350px;
    margin: 0 auto;
  }

  .workflow-steps-panel {
    display: none;
    /* Hide on mobile to save space */
  }

  .bottom-section-grid {
    grid-template-columns: 1fr !important;
  }

  /* Canteen */
  .canteen-card {
    padding: 15px !important;
  }

  .counters-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .counter-card {
    padding: 12px !important;
  }

  .counter-value {
    font-size: 28px !important;
  }

  .canteen-table {
    font-size: 11px;
  }

  .canteen-table th,
  .canteen-table td {
    padding: 6px 4px !important;
  }

  /* Live Headcount */
  .header-section {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .dashboard-title {
    font-size: 20px !important;
  }

  .data-row,
  .total-row {
    padding: 12px !important;
  }

  .count-number {
    font-size: 20px !important;
  }

  /* Safety Officers */
  .slide-safety .header {
    padding: 10px 15px !important;
  }

  .header-title {
    font-size: 1.5rem !important;
  }

  .slide-safety .stats-bar {
    flex-direction: column;
    padding: 0 10px;
  }

  .stat-card {
    padding: 12px 15px !important;
  }

  .stat-value {
    font-size: 1.4rem !important;
  }

  .status-table {
    font-size: 11px;
  }

  .status-table th,
  .status-table td {
    padding: 8px 4px !important;
  }

  /* Thank You Section */
  .thankyou-businesscard-container {
    padding: 20px !important;
    margin: 20px !important;
  }

  .thankyou-card-main-title {
    font-size: 18px !important;
  }

  .thankyou-biometric-logos-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .biometric-brand-logo {
    max-height: 40px !important;
  }

  .thankyou-contact-grid {
    flex-direction: column;
    gap: 12px;
  }

  /* Clients Section */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  /* Contact Section */
  .contact-wrapper {
    flex-direction: column !important;
  }

  .contact-form,
  .contact-info {
    width: 100% !important;
    max-width: 100%;
  }

  /* Hero Section */
  .hero-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 28px !important;
  }

  .hero-description {
    font-size: 14px !important;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-stats {
    justify-content: center;
  }

  .visual-card-stack {
    display: none;
    /* Hide decorative elements on mobile */
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
    text-align: center;
  }

  .footer-section {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Mobile Only (max-width: 480px) */
@media (max-width: 480px) {

  /* Extra small mobile adjustments */
  .navbar {
    padding: 8px 0;
  }

  .brand-link {
    font-size: 16px;
  }

  .navbar-menu {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
  }

  .nav-item {
    font-size: 11px;
    padding: 4px 6px;
  }

  /* Carousel */
  .nav.prev,
  .nav.next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .nav.prev {
    left: 10px;
  }

  .nav.next {
    right: 10px;
  }

  .dots {
    bottom: 20px;
    gap: 8px;
  }

  .dots button {
    width: 10px;
    height: 10px;
  }

  /* Attendance */
  .header-text h1 {
    font-size: 18px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-label {
    font-size: 11px !important;
  }

  .stat-value {
    font-size: 20px !important;
  }

  /* Payroll */
  .dashboard-header-main h1 {
    font-size: 18px !important;
  }

  .card-title {
    font-size: 11px !important;
  }

  .card-amount {
    font-size: 18px !important;
  }

  /* Employee Portal */
  .portal-header-top h1 {
    font-size: 16px !important;
  }

  .status-dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .metric-label-heading {
    font-size: 11px !important;
  }

  .metric-count-number {
    font-size: 20px !important;
  }

  /* Visitor Management */
  .mobile-phone-frame {
    max-width: 300px;
  }

  .mobile-field-item label {
    font-size: 11px !important;
  }

  /* Canteen */
  .dashboard-header h2 {
    font-size: 18px !important;
  }

  .counter-label {
    font-size: 12px !important;
  }

  .counter-value {
    font-size: 24px !important;
  }

  /* Live Headcount */
  .dashboard-title {
    font-size: 18px !important;
  }

  .category-name {
    font-size: 13px !important;
  }

  .count-number {
    font-size: 18px !important;
  }

  /* Safety Officers */
  .header-title {
    font-size: 1.2rem !important;
  }

  .stat-label {
    font-size: 0.7rem !important;
  }

  .stat-value {
    font-size: 1.2rem !important;
  }

  /* Thank You */
  .thankyou-card-main-title {
    font-size: 16px !important;
  }

  .thankyou-biometric-logos-row {
    grid-template-columns: 1fr !important;
  }

  /* Clients */
  .clients-grid {
    grid-template-columns: 1fr !important;
  }

  .page-subtitle {
    font-size: 14px !important;
  }

  /* Hero */
  .hero-title {
    font-size: 24px !important;
  }

  .hero-description {
    font-size: 13px !important;
  }

  .stat-number {
    font-size: 20px !important;
  }

  .stat-label {
    font-size: 11px !important;
  }
}

/* Landscape Mobile (max-height: 500px and orientation: landscape) */
@media (max-height: 500px) and (orientation: landscape) {

  .carousel,
  .viewport,
  .slides,
  .slide {
    height: auto;
    min-height: 100vh;
  }

  .slide {
    padding: 20px 10px !important;
  }

  .nav.prev,
  .nav.next {
    top: auto;
    bottom: 20px;
  }

  .nav.prev {
    left: 10px;
  }

  .nav.next {
    right: 10px;
  }

  .dots {
    display: none;
  }
}