/* ============================================================
   🌐 BASE STYLES
   ============================================================ */

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  margin: 0.2em;
  border: 0.2em;
  padding: 0.2em;
}

.container {
  max-width: 100%;
  margin: 0.3em;
  border: 0.3em;
  padding: 0.3em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

h1, h2, h3 {
  color: #4a90e2;
  font-weight: bold;
}

h1 { font-size: 2em; margin-bottom: 0.5em; }
h2 { font-size: 1.5em; margin: 1em 0 0.5em; }
h3 { font-size: 1.2em; margin: 1.5em 0 0.5em; }


.headerlogo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  width: 100%;
  box-sizing: border-box;
}

.header-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-icons img {
  width: 25px;
  height: 25px;
  transition: transform 0.2s;
}

.header-icons a:hover img {
  transform: scale(1.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3em;
  margin-bottom: 1em;
}

.section-header span {
  font-weight: 700;
  font-size: 1.5em;
  color: #4a90e2;
}

.section-header a {
  font-weight: 700;
  font-size: 1.1em;
  color: #4a90e2;
  text-decoration: none;
}

.seller-summary-box {
  background-color: #f2f0ef;
  padding: 15px;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}



/* ============================================================
LINKS
============================================================ */

.link {
  text-align: center;
}

.link a {
  color: #800020;
  text-decoration: none;
}

.link a:hover {
  text-decoration: underline;
}

.link .link1
{
  color: #800020;
  text-decoration: none;
  text-align: right;
}

.link .link2
{
  color: #800020;
  text-decoration: none;
  text-align: left;
}

@media print {
  .noprint {
    display: none !important;
  }
}



/* ============================================================
FOOTERS
============================================================ */

.site-footer {
  text-align: center;
  padding: 2px 2px 2px 2px;
  font-size: 10px;
  color: #666;
  /* background-color: #f9f9f9; */
}

.site-footer a {
  color: #800020;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}


/* ============================================================
📦 LISTING GRID VIEW
============================================================ */

/* for clickable listing grid*/

.listing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers the boxes horizontally */
  gap: 20px;
  margin-top: 30px;
}

.listinggrid-box {
  background-color: #f2f0ef;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  width: calc(20% - 20px);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listinggrid-box:hover {
  transform: translateY(-5px);
  box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
}

.listinggrid-box h4 {
  margin: 0 0 10px;
  color: #333;
}

.listinggrid-box p {
  margin: 0 0 10px;
  color: #666;
}

@media screen and (max-width: 600px) {
  .listinggrid-box {
    width: 100%; /* Full width on mobile */
  }
}

/* ============================================================
📦 ADMIN DASH NAVIGATION
============================================================ */

.admin-nav {
  font-family: Arial, sans-serif;
  font-size: 12px;
  margin: 10px 0;
  text-align: center;
}

.admin-nav a {
  color: #800020;
  text-decoration: none;
  margin: 0 6px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.admin-nav a:hover {
  background-color: #f2f0ef;
  color: #333;
}

