/* Prevent zoom and pinch gestures on iOS and all devices */
html {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-touch-callout: none;
}

/* Additional zoom prevention for body */
body {
  touch-action: manipulation;
  -webkit-touch-callout: none;
}

/* Allow interactive elements to work properly */
button, input, textarea, select, a, [role="button"], [onclick] {
  touch-action: manipulation;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Allow text selection for input fields and text areas */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], textarea, [contenteditable] {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  touch-action: manipulation;
}

/* Split Screen Login Layout */
.login-split-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.login-left {
  flex: 1;
  background: #0099FF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.payment-image-container {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.payment-image {
  max-width: 80%;
  height: auto;
  max-height: 70vh;
  width: auto;
}

.login-right {
  flex: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-form-container {
  width: 100%;
  max-width: 400px;
}

/* Mobile responsive - stack vertically on small screens */
@media (max-width: 768px) {
  .login-split-container {
    flex-direction: column;
  }
  
  .login-left {
    flex: none;
    height: 250px;
    padding: 0px;
  }
  
  .login-right {
    flex: 1;
    padding: 20px 20px;
  }
  
  .payment-image {
    max-width: 90% !important;
    max-height: 250px !important;
    width: auto !important;
    height: auto !important;
  }
}

body {
  background: #000;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

html {
  height: -webkit-fill-available;
}

/* Allow text selection in input fields */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  touch-action: manipulation;
  font-size: 16px !important; /* Prevents zoom on iOS */
}
.container {
  max-width: 400px;
  margin: 0 auto 0 auto;
  box-sizing: border-box;
}

/* Responsive container adjustments */
@media (max-width: 480px) {
  .container {
    max-width: 90%;
  }
}

h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
form label {
  display: block;
  font-size: 15px;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}
input[type="text"],
input[type="password"],
textarea {
  padding: 16px;
  font-size: 15px;
  border-radius: 12px;
  border: 2px solid #444;
  background: #000;
  color: #fff;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: #D9D9D9;
  box-shadow: 0 0 0 2px rgba(217, 217, 217, 0.2);
}

textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
.button-row {
  display: flex;
  gap: 24px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  width: 100%;
}

/* Make buttons in button-row equal width and span full container */
.button-row button,
.button-row a {
  flex: 1;
  min-width: 0;
  text-align: center;
}

/* Responsive button row */
@media (max-width: 480px) {
  .button-row {
    gap: 16px;
    margin-top: 2rem;
    width: 100%;
  }
  
  .button-row button,
  .button-row a {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .button-row {
    gap: 12px;
    margin-top: 1.5rem;
    width: 100%;
  }
  
  .button-row button,
  .button-row a {
    flex: 1;
    min-width: 0;
  }
}
button.primary, a.primary {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 30px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  height: 54px; /* Match input height: 16px padding top + 16px padding bottom + font size + border */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
button.primary:hover, a.primary:hover {
  background: #eee;
}
a.secondary, button.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 30px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px; /* Match input height: 16px padding top + 16px padding bottom + font size + border */
  box-sizing: border-box;
}
a.secondary:hover, button.secondary:hover {
  background: #222;
}

.send-btn {
  margin-left: 12px;
  margin-right: 16px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.send-btn:hover {
  background: #eee;
} 
/* Menu Icon */
.menu-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
  transition: opacity 0.2s ease;
}

.hamburger-line {
  width: 20px;
  height: 3px;
  background: #ffffff;
  border-radius: 0;
}

.menu-x {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding-left: 5px;
}

/* Menu Icon States */
.menu-icon.active .hamburger-lines {
  opacity: 0;
}

.menu-icon.active .menu-x {
  opacity: 1;
}

/* Full Screen Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(30px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20vh;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}



/* Menu Items */
.menu-items {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-item {
  color: #CCCCCC;
  text-decoration: none;
  font-size: 40px;
  font-weight: 700;
  transition: color 0.2s ease;
  padding: 10px 20px;
  border-radius: 8px;
  width: 160px;
  text-align: left;
}

.menu-item:hover {
  color: #41B3FF;
}

.menu-item.logout {
  color: #CCCCCC;
  font-size: 40px;
  font-weight: 700;
}

.menu-item.logout:hover {
  color: #41B3FF;
}

/* Legacy logout-bottom styles (kept for other pages) */
.logout-bottom {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding-bottom: 25px;
  gap: 16px;
}
.delete-btn {
  background: #ff4444;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 48px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.delete-btn:hover {
  background: #cc3333;
} 
.welcome-top {
  position: fixed;
  width: 100%;
  max-width: 340px; /* Match container content width (400px - 48px padding) */
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(7px);
  z-index: 101;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 20px;
  box-sizing: border-box;
}
.summary-stats {
  display: flex;
  justify-content: flex-start;
  align-items: end;
  width: 100%;
  max-width: 300px;
  gap: 40px;
}

.stat-item {
  text-align: start;
  flex: 1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1;
}

/* Special styling for take home value */
#take-home {
  font-size: 50px;
  color: #ffffff;
}

/* Special styling for total revenue value */
#total-revenue {
  color: #CCCCCC;
}

.stat-label {
  font-size: 14px;
  color: #ffffff;
  font-weight: 400;
  margin: 0;
  line-height: 1;
} 
.logout-bottom .secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 15px 48px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.logout-bottom .primary {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 15px 48px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.logout-bottom .secondary:hover {
  background: rgba(255,255,255,0.1);
}

.logout-bottom .primary:hover {
  background: #eee;
} 
.chat-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  z-index: 101;
  padding-left: 0;
}
.chat-top-container {
  max-width: 400px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 16px;
}

.chat-bottom-container {
    max-width: 400px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 16px;
}

.back-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition: background 0.2s;
}
.back-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Admin user list styles */
.admin-user-item {
  border: 2px solid #4D4D4D;
  border-radius: 30px;
  padding: 20px;
  margin: 15px auto;
  max-width: 600px;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.admin-user-details {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.8;
}

.admin-user-details div {
  margin-bottom: 12px;
}

.admin-user-details strong {
  color: #fff;
  font-weight: normal;
}

.admin-delete-btn {
  background: #cc3333;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 48px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  margin-top: 0px;
  margin-bottom: 0px;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}

/* Station Management Styles */
.station-management-section {
  margin: 20px 0 0 0;
  padding: 0;
  background: transparent;
  border: none;
  width: 100%;
}

.station-header h3 {
  margin: 0 0 15px 0;
  color: #fff;
  font-size: 16px;
  font-weight: normal;
}

.station-columns {
  display: flex;
  margin-bottom: 10px;
  font-weight: normal;
  color: #fff;
  font-size: 15px;
}

.station-column {
  flex: 1;
  padding: 0;
}

.station-row {
  margin-bottom: 10px;
}

.station-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.station-id-input,
.station-title-input {
  background: #333;
  border: 1px solid #555;
  border-radius: 4px;
  padding: 8px 12px;
  color: white;
  font-size: 15px;
  transition: border-color 0.2s ease;
  flex: 1;
  min-width: 0;
}

.station-id-input:focus,
.station-title-input:focus {
  outline: none;
  border-color: #0099FF;
  box-shadow: 0 0 0 2px rgba(0, 153, 255, 0.2);
}

.station-separator {
  color: #666;
  font-weight: bold;
  flex-shrink: 0;
}

.btn-remove-station {
  background: #ff4444;
  border: none;
  border-radius: 4px;
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.btn-remove-station:hover {
  background: #ff6666;
}

.add-station-btn {
  margin-top: 15px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.add-station-btn:hover {
  background: transparent;
}

.add-station-btn span {
  color: #ccc;
  font-weight: normal;
  font-size: 15px;
}

.add-station-btn:hover span {
  color: #fff;
}

.admin-user-actions {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #333;
}

.btn-delete-user {
  background: #ff4444;
  border: none;
  border-radius: 4px;
  color: white;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.btn-delete-user:hover {
  background: #ff6666;
}

.admin-delete-btn:hover {
  background: #aa2222;
}

/* Station list styles */
.station-section {
  margin: 2rem 0;
}

/* Date Range Panel Styles */
.date-range-panel {
  border: none;
  border-radius: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.date-range-label {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.date-inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.date-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.date-input-group label {
  font-size: 10px;
  color: #D9D9D9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-input {
  background: #1E1E1E;
  border: 1px solid #1E1E1E;
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  
  /* iOS Safari specific styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  
  /* Remove default iOS Safari styling */
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  
  /* Ensure consistent font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Remove default iOS Safari shadows and highlights */
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  
  /* Remove default iOS Safari focus styles */
  -webkit-tap-highlight-color: transparent;
  
  /* Ensure consistent text color */
  -webkit-text-fill-color: #ffffff;
}

/* Remove border radius on touching corners and adjust borders for connected appearance */
.date-input-group:first-child .date-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  
  /* iOS Safari specific */
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 0;
}

.date-input-group:last-child .date-input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
  
  /* iOS Safari specific */
  -webkit-border-top-left-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-bottomleft: 0;
}

/* Add black border where inputs touch */
.date-input-group:first-child .date-input {
  border-right: 1px solid #000;
  
  /* iOS Safari specific */
  -webkit-border-right: 1px solid #000;
  -moz-border-right: 1px solid #000;
}

.date-input:focus {
  outline: none;
  border-color: #009FFD;
  box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.2);
  
  /* iOS Safari focus overrides */
  -webkit-box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.2);
  -moz-box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.2);
}

/* iOS Safari date input calendar icon styling */
.date-input::-webkit-calendar-picker-indicator {
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  filter: invert(1) brightness(0.8);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.date-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.date-input::-webkit-calendar-picker-indicator:focus {
  opacity: 1;
  outline: none;
}

/* Firefox date input calendar icon styling */
.date-input::-moz-calendar-picker-indicator {
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  filter: invert(1) brightness(0.8);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.date-input::-moz-calendar-picker-indicator:hover {
  opacity: 1;
}

.date-input::-moz-calendar-picker-indicator:focus {
  opacity: 1;
  outline: none;
}

/* Responsive breakpoints for date range panel */
@media (max-width: 480px) {
  .date-range-panel {
    gap: 16px;
    width: 100%; /* Use full width of welcome-top container */
  }
  
  .date-inputs {
    flex-direction: row; /* Keep side by side on mobile */
    width: 100%;
  }
  
  .date-input-group {
    flex: 1; /* Each input group takes equal space */
    min-width: 0;
  }
  
  .date-input {
    font-size: 16px; /* Prevents zoom on iOS */
    width: 100%;
    /* Prevent zoom on focus */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  .welcome-top {
    max-width: calc(100% - 32px); /* Account for container padding on mobile */
  }
}

/* Prevent pinch and zoom on all devices */
html, body {
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* iOS Home Screen App Status Bar Styling */
@supports (-webkit-touch-callout: none) {
  /* When added to home screen, ensure status bar area is black */
  body {
    background-color: #000000;
  }
  
  /* Ensure the top area matches the app theme */
  .welcome-top {
    background: rgba(0,0,0,0.9) !important;
  }
  
  /* iOS status bar area padding */
  .container {
    padding-top: env(safe-area-inset-top);
  }
  
  /* Login and Signup screens - make status bar area blue */
  .login-split-container {
    padding-top: env(safe-area-inset-top);
  }
  
  .login-left {
    /* Extend blue background to cover iOS status bar area */
    background: #0099FF;
    padding-top: calc(40px + env(safe-area-inset-top));
    margin-top: calc(-1 * env(safe-area-inset-top));
  }
  
  /* Ensure the body background is blue for login/signup screens */
  body.login-page,
  body.signup-page {
    background-color: #0099FF;
  }
}

/* iOS Safari specific overrides */
@supports (-webkit-touch-callout: none) {
  .date-input {
    /* Ensure consistent appearance on iOS Safari */
    -webkit-appearance: none;
    appearance: none;
    
    /* Remove default iOS Safari styling */
    background: #1E1E1E;
    border: 1px solid #1E1E1E;
    
    /* Ensure proper text rendering */
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    
    /* Remove default iOS Safari shadows */
    -webkit-box-shadow: none;
    box-shadow: none;
    
    /* Ensure proper border radius */
    -webkit-border-radius: 8px;
    border-radius: 8px;
  }
  
  .date-input:focus {
    /* iOS Safari focus state */
    -webkit-box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.2);
    box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.2);
  }
  
  /* iOS Safari calendar picker styling */
  .date-input::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.8);
    opacity: 0.7;
  }
  
  /* iOS Safari specific station-list margin override */
  #station-list {
    margin-top: 150px !important;
    -webkit-margin-top: 150px;
  }
}

@media (max-width: 360px) {
  .date-range-panel {
    padding: 12px;
    gap: 12px;
    width: 100%; /* Use full width of welcome-top container */
  }
  
  .date-inputs {
    flex-direction: row; /* Keep side by side on small mobile */
    width: 100%;
  }
  
  .date-input-group {
    flex: 1; /* Each input group takes equal space */
    min-width: 0;
  }
  
  .welcome-top {
    max-width: calc(100% - 24px); /* Account for container padding on small mobile */
  }
}

@media (max-width: 360px) {
  .date-range-panel {
    padding: 12px;
  }
}

.apply-button {
  background: #009FFD;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.apply-button:hover {
  background: #0088E6;
}

.apply-button:active {
  background: #0077CC;
}

.station-section h2 {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #D9D9D9;
}

.station-card {
  background: #1E1E1E;
  border: 1px solid #4D4D4D;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  margin-left: 30px;
  margin-right: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.station-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.station-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.station-title h3 {
  margin: 0 0 4px 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.station-title h4 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.station-id {
  margin: 0;
  font-size: 10px;
  color: #D9D9D9;
  font-weight: 500;
}

.station-counts {
  display: flex;
  gap: 20px;
}

.count-item {
  text-align: center;
}

.count-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 auto 8px;
}

.count-circle.blue {
  background: #009FFD;
}

.count-circle.grey {
  background: #4D4D4D;
}

.count-number {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1;
}

.count-label {
  font-size: 10px;
  color: #D9D9D9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.station-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.revenue-section, .rents-section {
  text-align: left;
}

.revenue-amount, .rents-number {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1;
}

.revenue-label, .rents-label {
  font-size: 10px;
  color: #D9D9D9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}



#station-list {
  margin-top: 200px;
}

/* Mobile-specific station-list margin override */
@media (max-width: 768px) {
  #station-list {
    margin-top: 200px !important;
  }
}



/* Station management styles */
.station-management {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.station-input {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 2px solid #444;
  background: #000;
  color: #fff;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.station-input:focus {
  outline: none;
  border-color: #D9D9D9;
  box-shadow: 0 0 0 2px rgba(217, 217, 217, 0.2);
}

.station-management button {
  background: #D9D9D9;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.station-management button:hover {
  background: #C4C4C4;
}

/* Password Protection Styles */
.password-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-right: 20px;
  padding-left: 20px;
}

.password-container {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.password-container h1 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.password-container p {
  color: #D9D9D9;
  font-size: 14px;
  margin: 0 0 20px 0;
}

.password-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.password-input {
  background: #2a2a2a;
  border: 1px solid #4D4D4D;
  border-radius: 8px;
  padding: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: border-color 0.2s ease;
}

.password-input:focus {
  outline: none;
  border-color: #009FFD;
  box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.2);
}

.password-error {
  color: #ff4444;
  font-size: 14px;
  margin-bottom: 16px;
  padding: 8px;
  background: rgba(255, 68, 68, 0.1);
  border-radius: 4px;
}

/* Admin page specific styles */
.admin-page {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.admin-page .container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  margin: 0;
}

/* Password Protection Styles - adjusted for admin page */
.admin-page .password-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.admin-page .password-container {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  box-sizing: border-box;
}

.admin-content {
  display: block;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

/* Admin content layout */
.admin-content .home-top {
  margin-bottom: 2rem;
}

.admin-content #user-list {
  flex: 1;
  margin-bottom: 2rem;
  overflow-y: auto;
  max-height: 60vh;
}

.admin-content .button-row {
  margin-top: auto;
} 

/* Remember me checkbox styles */
.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  margin-top: -0.5rem;
}

.remember-me input[type="checkbox"] {
  width: auto;
  margin: 0;
  padding: 0;
  accent-color: #009FFD;
  transform: scale(1.2);
}

.remember-me label {
  color: #D9D9D9;
  font-size: 14px;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.remember-me:hover label {
  color: #ffffff;
} 

/* Pop out button styles for Distributor users */
.pop-out-section {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.pop-out-btn {
  background: #009FFD;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
}

.pop-out-btn:hover {
  background: #007ACC;
  transform: translateY(-1px);
}

.pop-out-btn:disabled {
  background: #666666;
  cursor: not-allowed;
  transform: none;
}

.pop-out-btn.success {
  background: #4CAF50 !important;
}

.pop-out-btn.error {
  background: #f44336 !important;
} 

/* Custom Date Input Styling */
.date-input {
  /* Remove default browser styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  
  /* Custom styling */
  background: #1E1E1E;
  border: 1px solid #4D4D4D;
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.date-input:hover {
  border-color: #009FFD;
  background: #2A2A2A;
}

.date-input:focus {
  outline: none;
  border-color: #009FFD;
  background: #2A2A2A;
  box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.2);
}

/* Custom calendar icon */
.date-input::-webkit-calendar-picker-indicator {
  background: transparent;
  color: transparent;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0.7;
  filter: invert(1) brightness(0.8);
}

.date-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Firefox calendar icon */
.date-input::-moz-calendar-picker-indicator {
  background: transparent;
  color: transparent;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0.7;
  filter: invert(1) brightness(0.8);
}

.date-input::-moz-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Custom date input container */
.date-input-group {
  position: relative;
}

/* Custom calendar dropdown styling */
.date-input::-webkit-datetime-edit {
  color: #ffffff;
  font-size: 14px;
}

.date-input::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

.date-input::-webkit-datetime-edit-text {
  color: #009FFD;
  padding: 0 2px;
}

.date-input::-webkit-datetime-edit-month-field,
.date-input::-webkit-datetime-edit-day-field,
.date-input::-webkit-datetime-edit-year-field {
  color: #ffffff;
  background: transparent;
  border: none;
  outline: none;
}

/* Placeholder styling */
.date-input::-webkit-datetime-edit-month-field:focus,
.date-input::-webkit-datetime-edit-day-field:focus,
.date-input::-webkit-datetime-edit-year-field:focus {
  background: rgba(0, 159, 253, 0.1);
  border-radius: 4px;
} 