/* static/css/styles.css */

/* Set the base font size to 16px (previously 18px) */
html {
  font-size: 16px;
}

body, button, input, select, textarea {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

/* Navbar styling for a light navbar with dark text */
#cf-nav {
  background-color: #ffffff;
  border-bottom: 2px solid #ddd;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#cf-nav .navbar-brand {
  font-weight: 600;
  font-size: 1.1em; /* Reduced from 1.3em */
  color: #003865 !important;
}

#cf-nav .navbar-brand img {
  /* Reduce logo height from 44px to 40px */
  height: 40px;
  margin-right: 8px;
}

#cf-nav .nav-link {
  color: #333 !important;
  font-size: 1em; /* Reduced from 1.1em */
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

#cf-nav .nav-link:hover {
  color: #003865 !important;
}

/* Main content container */
#main-content {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
  margin-top: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

/* Shift card styling */
.shift-card {
  background: #fff;
  border: 2px solid #003865;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
  font-size: 1em; /* Reduced from 1.1em */
}

.shift-card:hover {
  transform: translateY(-2px);
}

/* Table styling */
.table tbody tr:hover {
  background-color: #eef2f7;
}

/* Buttons */
.btn {
  font-size: 1em; /* Reduced from 1.1em */
}

/* Footer styling */
#cf-footer {
  background-color: #003865;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 1em; /* Reduced from 1.1em */
}

/* Timeline/Published Roster styles */
.timeline-container {
  max-width: 100%;
}

.day-row {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 10px;
}

.day-label {
  margin-bottom: 6px;
  font-size: 1em; /* Reduced from 1.1em */
}

.day-track {
  position: relative;
  height: 40px;
  background: #eee;
  border: 1px solid #ccc;
  overflow: hidden;
}

.shift-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  color: #fff;
  font-size: 0.85em; /* Reduced from 0.9-0.95em */
  padding: 2px 4px;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
}

