.menu-bar {
    display: flex;
    gap: 12px;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.attendance-item {
    padding: 10px 12px;
    border-bottom: 1px solid #eaeaea;
}

body {
    background: #f4f6f9;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    margin-top: 70px;
}

.dashboard-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

h1 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* DATE + MENU GROUPING */
.control-panel {
    background: #ffffff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* MENU */
.menu-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* CARD GRID */
.location-block {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.location-title {
    font-size: 15px;
    font-weight: 700;
}

.total-count {
    font-size: 12px;
    color: #6b7280;
}

/* STATS */
.stat-card {
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
}

.stat-count {
    font-size: 20px;
    font-weight: 700;
}

.stat-label {
    font-size: 12px;
}

/* COLORS */
.present {
    background: #198754;
    color: #fff;
}

.remote {
    background: #0d6efd;
    color: #fff;
}

.leave {
    background: #ffc107;
    color: #000;
}

.notin {
    background: #dc3545;
    color: #fff;
}

/* ATTENDANCE LIST */
.attendance-item {
    padding: 10px 14px;
    font-size: 13px;
    border-bottom: 1px solid #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 18px;
    }

    .menu-bar {
        flex-direction: column;
    }

    .stat-count {
        font-size: 18px;
    }
}

/* Tabs */
.shift-tabs {
  gap: 12px;
}

.shift-tabs .nav-link {
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  background: #f1f3f5;
  color: #495057;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.shift-tabs .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #4facfe, #458b8f);
  box-shadow: 0 6px 15px rgba(79, 172, 254, 0.35);
}

.shift-tabs .nav-link[data-shift="night"].active {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Badge */
.shift-tabs .badge {
  background: rgb(32 165 31 / 25%);
  color: #000000;
  font-weight: 600;
  border-radius: 12px;
}

/* Panels Animation */
.shift-panel {
  animation: fadeSlide 0.35s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
