:root {
  --accent: #1bbb5c;
  --bg: #ffffff;
  --text: #222;
  --muted: #666;
  --card: #fff;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --gap: 16px;
  --radius: 10px;
  --dark-bg: #121212;
  --dark-card: #1e1e1e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  background: linear-gradient(180deg, var(--accent), #1bbb5c);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  background: #000;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 6px;
  font-size: 1.2rem;
}

.brand-text .title {
  font-weight: 700;
  font-size: 1.4rem;
}

.brand-text .tagline {
  font-size: 13px;
  color: #222;
}

.top-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.nav-list a:hover, .nav-list a.active {
  background-color: rgba(0,0,0,0.1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 22px;
  padding: 6px;
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 3px auto;
  padding: 0 16px;
  min-height: calc(100vh - 200px);
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../../hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 20px;
  border-radius: 0px;

  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero .hero-sub {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.btn {
  background: transparent;
  border: 1px solid #ccc;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
  color: #000;
}

.btn.small {
  padding: 6px 10px;
  font-size: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;

}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.section-description {
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 800px;
}

.section-title i {
  color: var(--accent);
}

.locator-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
}

.map-area {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 8px;
  min-height: 500px;
  position: relative;
  box-shadow: var(--shadow);
}

#map {
  height: 100%;
  width: 100%;
  border-radius: 6px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  font-size: 14px;
}

.offline-banner {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #ffcc00;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  color: #000;
  z-index: 10;
}

.station-list {
  background: transparent;
}

.filters {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 500px;
  overflow: auto;
}

.card {
  background: var(--card);
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card.small {
  padding: 10px;
}

.station-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 8px;
}

.station-card .left {
  flex: 1;
}

.station-card .right {
  text-align: right;
}

.station-card .meta {
  font-size: 13px;
  color: var(--muted);
}

.route-form .row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.route-form input[type=text], 
.route-form input[type=search], 
.search-row input,
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  width: 100%;
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chart {
  min-height: 160px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 50;
}

.bn-btn {
  background: transparent;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 8px 4px;
  color: var(--muted);
  transition: color 0.3s;
  text-decoration: none;
}

.bn-btn.active {
  color: var(--accent);
}

.bn-btn i {
  font-size: 18px;
}

.footer-dark {
  background: #000;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-section p, .footer-section a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer-section a:hover {
  color: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #333;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #000;
}

.profile-info h2 {
  margin-bottom: 5px;
}

.profile-info p {
  color: var(--muted);
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Conversion section styles */
.conversion-section {

  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 40px;
}

.conversion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.conversion-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.conversion-image img {
  width: 100%;
  height: auto;
  display: block;
}

.conversion-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text);
}

.conversion-content p {
  color: var(--muted);
  margin-bottom: 25px;
  line-height: 1.7;
}

/* Form controls */
.form-control {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  width: 100%;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

/* Status badges */
.status-available { color: #28a745; }
.status-low { color: #ffc107; }
.status-empty { color: #dc3545; }
.status-maintenance { color: #6c757d; }

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

/* Responsive styles */
@media (max-width: 900px) {
  .locator-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-list {
    display: none;
    position: absolute;
    right: 12px;
    top: 64px;
    background-color: #000;
    padding: 8px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
    width: 200px;
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .fleet-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .hero-sub {
    font-size: 1rem;
  }
  
  .conversion-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .conversion-section {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .quick-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .tab-nav {
    flex-direction: column;
  }
  
  .tab-btn {
    text-align: left;
  }
  
  .station-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .station-card .right {
    text-align: left;
    width: 100%;
    margin-top: 10px;
  }
}