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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar with exact colors from screenshot */
.top-bar {
  background-color: #001f3f;
  color: white;
  padding: 8px 0;
  font-size: 13px;
}

.top-links {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}

.top-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.top-links a:hover {
  opacity: 0.8;
}

/* Header with white background and proper spacing */
.header {
  background-color: white;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Search bar with dark background and white text */
.search-bar {
  flex: 1;
  display: flex;
  max-width: 500px;
}

.search-bar input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background-color: #f5f5f5;
  font-size: 14px;
  color: #666;
}

.search-bar input::placeholder {
  color: #999;
}

.search-bar button {
  padding: 12px 20px;
  background-color: #001f3f;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header actions with cyan button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2eb8b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.btn-login svg {
  width: 20px;
  height: 20px;
  fill: #2eb8b8;
}

.btn-register {
  background-color: #001f3f;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

.btn-register:hover {
  background-color: #003366;
}

/* Navigation with dark background */
.main-nav {
  background-color: #001f3f;
  padding: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  flex: 1;
}

.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background-color 0.2s;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu li:last-child a {
  border-right: none;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu svg {
  width: 16px;
  height: 16px;
}

/* Main content area */
.main-content {
  padding: 40px 0;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #001f3f;
  border-bottom: 3px solid #001f3f;
  display: inline-block;
  padding-bottom: 5px;
}

/* Vehicle grid with proper spacing */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Vehicle card matching screenshot exactly */
.vehicle-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Discount badge with red arrow shape */
.discount-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #e31e24;
  color: white;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 14px;
  z-index: 10;
  border-radius: 25px 25px 25px 0;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.4);
}

.discount-badge::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid #e31e24;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* Vehicle image with overlay */
.vehicle-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 31, 63, 0.95), transparent);
  padding: 40px 20px 20px;
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

.vehicle-icon {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 4px;
}

.vehicle-name {
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Vehicle info section */
.vehicle-info {
  padding: 20px;
}

.vehicle-title {
  font-size: 18px;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.vehicle-bids {
  color: #666;
  font-size: 13px;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Date display */
.vehicle-dates {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.date-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.date-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.date-value {
  font-size: 14px;
  color: #001f3f;
  font-weight: 600;
}

/* Price display */
.vehicle-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.price-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.price-value {
  font-size: 20px;
  color: #001f3f;
  font-weight: 700;
}

/* Bid button with cyan color */
.btn-bid {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #2eb8b8;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.btn-bid:hover {
  background-color: #26a0a0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.page-btn {
  padding: 10px 16px;
  border: 1px solid #ddd;
  background: white;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.page-btn:hover {
  background-color: #f5f5f5;
}

.page-btn.active {
  background-color: #001f3f;
  color: white;
  border-color: #001f3f;
}

/* Footer with dark background */
.footer {
  background-color: #001f3f;
  color: white;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin-bottom: 8px;
}

.hours {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.address {
  font-size: 12px;
  line-height: 1.6;
}

.note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-bottom: 5px;
}

.legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* Vehicle detail page styles */
.vehicle-detail {
  background-color: #f5f5f5;
  padding: 30px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #001f3f;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

.detail-header {
  margin-bottom: 30px;
}

.detail-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: #666;
}

.badge {
  background-color: #e5e5e5;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
}

.detail-left {
  background: white;
  padding: 30px;
  border-radius: 8px;
}

.discount-badge-large {
  background-color: #e31e24;
  color: white;
  padding: 10px 25px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  border-radius: 25px 25px 25px 0;
  margin-bottom: 20px;
}

/* Image gallery */
.image-gallery {
  margin-bottom: 40px;
}

.main-image {
  position: relative;
  width: 100%;
  height: 450px;
  background-color: #f5f5f5;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.gallery-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.thumbnail-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.thumbnail {
  width: 120px;
  height: 90px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.thumbnail:hover {
  border-color: #2eb8b8;
}

.thumbnail.active {
  border-color: #001f3f;
}

/* Specifications */
.specifications {
  margin-bottom: 40px;
}

.specifications h2 {
  font-size: 20px;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e5e5;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.spec-value {
  font-size: 14px;
  color: #001f3f;
  font-weight: 600;
}

.complemento {
  margin-top: 30px;
}

.complemento h3 {
  font-size: 16px;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 15px;
}

.complemento p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Bid history section */
.bid-history-section {
  margin-bottom: 40px;
}

.bid-history-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e5e5;
}

.bid-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bid-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.bid-user {
  font-weight: 600;
  color: #001f3f;
}

.bid-value {
  font-weight: 700;
  color: #2eb8b8;
  font-size: 16px;
}

.bid-date {
  font-size: 12px;
  color: #666;
}

.no-bids {
  padding: 30px;
  text-align: center;
  color: #999;
  font-style: italic;
}

.observation {
  margin-bottom: 40px;
}

.observation h2 {
  font-size: 20px;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e5e5;
}

.observation p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Bid panel on the right */
.detail-right {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.bid-panel {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bid-status {
  background-color: #001f3f;
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bid-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.bid-info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bid-info-item .label {
  font-size: 12px;
  color: #666;
}

.bid-info-item .value {
  font-size: 14px;
  color: #001f3f;
  font-weight: 600;
}

.bid-dates {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.bid-date-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.bid-date-item .label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.bid-date-item .value {
  font-size: 13px;
  color: #001f3f;
  font-weight: 600;
}

.current-bid {
  text-align: center;
  margin-bottom: 20px;
}

.current-bid h3 {
  font-size: 32px;
  color: #2eb8b8;
  font-weight: 700;
}

/* Bid form */
.bid-form {
  margin-bottom: 20px;
}

.suggested-bids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.suggested-bid {
  padding: 12px;
  background-color: #f5f5f5;
  border: 2px solid #e5e5e5;
  color: #001f3f;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.suggested-bid:hover {
  background-color: #2eb8b8;
  border-color: #2eb8b8;
  color: white;
}

.custom-bid {
  margin-bottom: 20px;
}

.custom-bid label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.custom-bid input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.custom-bid input:focus {
  outline: none;
  border-color: #2eb8b8;
}

.btn-submit-bid {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #2eb8b8;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-submit-bid:hover {
  background-color: #26a0a0;
}

/* Countdown timer */
.countdown {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 4px;
  margin-bottom: 20px;
}

.countdown-icon {
  font-size: 32px;
}

.countdown-text strong {
  display: block;
  font-size: 18px;
  color: #001f3f;
  margin-bottom: 5px;
}

.countdown-text small {
  font-size: 12px;
  color: #666;
}

.current-bid-display {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.current-bid-display h4 {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 500;
}

.current-bid-value {
  font-size: 24px;
  color: #001f3f;
  font-weight: 700;
  margin-bottom: 8px;
}

.current-bid-display small {
  font-size: 11px;
  color: #999;
}

/* Login and Register pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 40px 20px;
}

.auth-box {
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 40px;
}

.auth-logo img {
  height: 60px;
}

.auth-box h1 {
  font-size: 28px;
  color: #001f3f;
  margin-bottom: 10px;
  font-weight: 700;
}

.auth-box p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #2eb8b8;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background-color: #001f3f;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background-color: #003366;
}

.auth-links {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
}

.auth-links a {
  color: #2eb8b8;
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
}

.alert {
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error {
  background-color: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.alert-success {
  background-color: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}

/* Admin dashboard styles */
.admin-header {
  background-color: #001f3f;
  color: white;
  padding: 20px 0;
  margin-bottom: 40px;
}

.admin-header h1 {
  color: white;
  font-size: 24px;
}

.admin-nav {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.admin-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-content {
  padding: 0 0 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-value {
  font-size: 32px;
  color: #001f3f;
  font-weight: 700;
}

.vehicles-table {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vehicles-table table {
  width: 100%;
  border-collapse: collapse;
}

.vehicles-table th {
  background-color: #001f3f;
  color: white;
  padding: 15px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vehicles-table td {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}

.vehicles-table tr:last-child td {
  border-bottom: none;
}

.vehicles-table tr:hover {
  background-color: #f9f9f9;
}

.btn-action {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-right: 5px;
  transition: opacity 0.2s;
}

.btn-action:hover {
  opacity: 0.8;
}

.btn-edit {
  background-color: #2eb8b8;
  color: white;
}

.btn-delete {
  background-color: #e31e24;
  color: white;
}

.btn-add {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2eb8b8;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  transition: background-color 0.2s;
}

.btn-add:hover {
  background-color: #26a0a0;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .search-bar {
    max-width: 100%;
  }

  .nav-menu {
    flex-direction: column;
  }

  .vehicles-grid {
    grid-template-columns: 1fr;
  }

  .detail-content {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Admin Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background-color: #001f3f;
  color: white;
  padding: 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.admin-logo {
  padding: 30px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo h2 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.admin-nav {
  padding: 20px 0;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-left-color: #2eb8b8;
}

/* Admin navigation sections */
.nav-section {
  margin-bottom: 25px;
}

.nav-section h4 {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 20px 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-section a {
  margin-bottom: 2px;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.admin-header {
  background: white;
  padding: 25px 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-header h1 {
  font-size: 28px;
  color: #001f3f;
  margin: 0;
  font-weight: 700;
}

.admin-user {
  color: #666;
  font-size: 14px;
}

.admin-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin: 0 40px 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-header h2 {
  font-size: 20px;
  color: #001f3f;
  margin: 0;
  font-weight: 700;
}

.btn-primary {
  background-color: #2eb8b8;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #26a0a0;
}

.btn-secondary {
  background-color: #666;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #555;
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background-color: #001f3f;
  color: white;
  padding: 15px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
  color: #333;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background-color: #f9f9f9;
}

.table-image {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.badge {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.badge-open {
  background-color: #d4edda;
  color: #155724;
}

.badge-closed {
  background-color: #f8d7da;
  color: #721c24;
}

/* Admin Forms */
.admin-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin: 0 40px 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e5e5e5;
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h3 {
  font-size: 18px;
  color: #001f3f;
  margin-bottom: 20px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2eb8b8;
}

.form-group textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 15px;
  padding-top: 20px;
}

/* Responsive Admin */
@media (max-width: 768px) {
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-header {
    padding: 20px;
  }

  .admin-section,
  .admin-form {
    margin: 0 20px 20px;
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
