:root {
  --primary-color: #2A5C82;
  --secondary-color: #E74C3C;
  --accent-color: #F1C40F;
  --dark-color: #2C3E50;
  --light-color: #F8F9FA;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark-color);
  background-color: var(--light-color);
}

/* Navbar Styling */
.navbar {
  background: var(--dark-color) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: bold;
}

/* Hero Section (Homepage) */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  padding: 4rem 0 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Auction Card Styling (Homepage) */
.auction-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 0.5rem;
}

.auction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
}

/* Section Header */
.section-header {
  font-weight: 700;
  letter-spacing: -0.05rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  font-size: 1.75rem;
}

.section-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

/* Process Step */
.process-step {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.process-step:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
footer {
  background: var(--dark-color);
  color: white;
  padding: 2rem 0 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

/* Button Styling */
.btn-auction {
  background: var(--secondary-color);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-auction:hover {
  background: #C0392B;
  color: white;
  transform: translateY(-2px);
}

/* Form Feedback Styling */
.valid-feedback {
  display: none;
}

.is-valid + .valid-feedback {
  display: block;
}

.is-invalid + .invalid-feedback {
  display: block;
}

/* Card Styling */
.card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Container Spacing for Login and Signup Pages */
.login-container,
.signup-container {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

  /* Sidebar styles */
    .sidebar {
      background-color: #343a40;
      color: #fff;
      min-height: 100vh;
      padding: 1rem;
    }
    .sidebar h4 {
      color: #fff;
    }
    .sidebar .nav-link {
      color: #fff;
      margin: 0.5rem 0;
      font-size: 1rem;
    }
    .sidebar .nav-link:hover {
      color: #adb5bd;
    }
    /* Main content styling */
    .main-content {
      padding: 1rem;
    }
    .auction-card {
      margin-bottom: 1.5rem;
    }
    /* Auction button customization */
    .btn-auction {
      background-color: #007bff;
      border-color: #007bff;
      color: #fff;
    }
    .btn-auction:hover {
      background-color: #0069d9;
      border-color: #0062cc;
    }
    /* Pagination styling */
    .pagination .page-link {
      color: #007bff;
    }
    .pagination .active .page-link {
      background-color: #007bff;
      border-color: #007bff;
    }
    /* Updated bid visual cue */
    .bid-updated {
      background-color: #d4edda;
      transition: background-color 0.5s ease;
    }