/* -------------------------
   Global Styles
-------------------------- */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #f5f6fa;
    color: #333;
}

a {
    text-decoration: none;
}

/* -------------------------
   Navbar (Header) - Slimmer
-------------------------- */
.navbar {
    background: #0a74da;
    padding: 4px 8px;          /* smaller padding */
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* lighter shadow */
}

.navbar a {
    color: white;
    margin: 0 8px;             /* closer links */
    font-weight: 600;
    font-size: 13px;           /* smaller font */
}

.navbar a:hover {
    color: #ffd700;
    text-decoration: underline;
}


/* -------------------------
   Content Area
-------------------------- */
.content {
    text-align: center;
    padding: 40px;
}

.content img {
    width: 60%;
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* -------------------------
   Product Scroll Section
-------------------------- */
.product-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scroll-behavior: smooth;
}

.product-card {
    flex: 0 0 auto;
    width: 250px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.price {
    font-weight: bold;
    color: #0a74da;
    font-size: 16px;
}

.product-container::-webkit-scrollbar {
    height: 10px;
}

.product-container::-webkit-scrollbar-thumb {
    background-color: #0a74da;
    border-radius: 10px;
}

/* -------------------------
   Footer - Slimmer
-------------------------- */
footer {
    background: #0a74da;
    color: white;
    text-align: center;
    padding: 3px 0;            /* reduced padding */
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 11px;           /* smaller font */
    letter-spacing: 0.4px;
}

/* -------------------------
   Login Page
-------------------------- */
.login-container {
  width: 360px;
  margin: 8% auto;
  background-color: #ffffff;
  padding: 35px 45px;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-align: center;
}

.login-container h2 {
  margin-bottom: 25px;
  color: #0a74da;
  font-weight: 700;
}

.login-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-container input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.login-container input:focus {
  border-color: #0a74da;
  box-shadow: 0 0 5px rgba(10, 116, 218, 0.3);
}

.button-group {
  display: flex;
  justify-content: space-between;
}

.btn-primary, .btn-secondary {
  flex: 1;
  padding: 10px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #0a74da;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #333;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

/* -------------------------
   Utility / Responsive
-------------------------- */
@media (max-width: 600px) {
  .login-container {
    width: 90%;
    margin-top: 25%;
  }
  .product-card {
    width: 180px;
  }
  .content img {
    width: 90%;
  }
}


.search-filter-container {
  max-width: 1000px;
  margin: 15px auto;
  padding: 0 12px;
}

/* Search */
.search-box {
  position: relative;
  margin-bottom: 12px;
}

.search-box input {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border-radius: 25px;
  border: 1px solid #ccc;
}

.clear-search {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
  color: #777;
}

/* Filter button stays same as before */

.cta {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: white;
  text-align: center;
  border-radius: var(--radius);
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: white;
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
}
