*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

/* Global Responsive Typography */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* Global Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Global Grid System */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Global Responsive Utilities */
@media (max-width: 1024px) {
  .hide-tablet {
    display: none;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}


header {
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.nav-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-name {
  font-size: 2rem;
  font-weight: bold;
  color: #FF6600;
  padding: 1rem 0;
  text-align: center;
}

.tab-container {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2px;
  background-color: #f0f2f5;
  border-radius: 9px;
  width: 100%;
  max-width: 600px;
}

.indicator {
  content: "";
  width: 25%;
  height: 36px;
  background: #ffffff;
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 9;
  border: 0.5px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12), 0px 3px 1px rgba(0, 0, 0, 0.04);
  border-radius: 7px;
  transition: all 0.3s ease-out;
}

.tab_label {
  flex: 1 1;
  height: 36px;
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tab_label.active {
  color: #FF6600;
}

.tab_label:hover {
  color: #FF6600;
}

.cmo-container {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.sidebar {
  width: 280px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem 1rem;
  box-shadow: 1px 0 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 100;
}

.sidebar.closed {
  width: 72px;
}

.sidebar.closed .nav-item span {
  display: none;
}

.sidebar-toggle {
  padding: 1.2rem;
  color: #1d1d1f;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.sidebar-toggle:hover {
  opacity: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 1.2rem;
  margin: 0.4rem 0;
  color: #1d1d1f;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #0066cc, #5856d6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item:hover::before {
  opacity: 1;
}

.nav-item:hover {
  background: rgba(0, 102, 204, 0.05);
  color: #0066cc;
  padding-left: 1.5rem;
}

.main-content {
  flex: 1 1;
  padding: 2.5rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.main-content::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cmo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.search-container {
  display: flex;
  gap: 1.2rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  width: 320px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 102, 204, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  padding-right: 5rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--stat-color), 0.08) 0%,
    rgba(var(--stat-color), 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.stat-card h3 {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
  margin: 0;
  padding-right: 3rem;
}

.stat-card p {
  font-size: 1.8rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.stat-card p span {
  font-size: 0.9rem;
  color: #64748b;
}

.stat-icon-wrapper {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(var(--stat-color), 0.1);
  color: rgb(var(--stat-color));
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.1);
  background: rgb(var(--stat-color));
  color: white;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  font-weight: 500;
}

.stat-trend.down {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.additional-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 1.5rem;
  color: #0066cc;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shift-indicator, .count-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.label {
  color: #64748b;
  font-size: 0.9rem;
}

.value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
}

.health-selector {
  margin-top: 1.5rem;
}

.health-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.health-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.health-option span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.health-chart {
  margin-top: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.back-button {
  padding: 0.8rem 1.4rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.3px;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateX(-2px);
}

.health-analytics {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.year-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.year-btn {
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: #64748b;
  font-weight: 500;
  transition: all 0.3s ease;
}

.year-btn.active {
  background: #0066cc;
  color: white;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.chart-container {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.chart-container {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  min-height: 400px;
}

.chart-wrapper {
  height: 350px;
  width: 100%;
}

.chart-container h3 {
  margin-bottom: 1rem;
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f1f1f1;
} 


.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


