/* Reset default browser styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Navy and Gold Color Palette */
:root {
  --navy: #1a2238;
  --navy-dark: #0d1331;
  --gold: #ffd700;
  --gold-light: #fff8dc;
  --white: #fff;
  --gray: #e5e5e5;
  --text: #222;
}

/* Set up the body to center content */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--gold);
  text-align: center;
}

/* Style headings */
h1, h2 {
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(26,34,56,0.15);
}

/* Style paragraphs */
p {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}

/* Style forms */
form {
  background: rgba(255,255,255,0.07);
  border: 2px solid var(--gold);
  padding: 32px 24px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(26,34,56,0.18);
  max-width: 420px;
  width: 100%;
  margin: 24px 0;
  backdrop-filter: blur(2px);
}

/* Style labels */
label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  color: var(--gold);
  text-align: left;
  letter-spacing: 0.5px;
}

/* Style inputs and buttons */
input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  font-size: 16px;
  background: var(--navy-dark);
  color: var(--gold);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px var(--gold-light);
}

/* Style buttons */
button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, var(--gold) 60%, #ffe066 100%);
  color: var(--navy-dark);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,215,0,0.12);
  transition: background 0.3s, color 0.3s, box-shadow 0.2s;
  letter-spacing: 0.5px;
}

button:hover, button:focus {
  background: linear-gradient(90deg, #ffe066 0%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(255,215,0,0.18);
}

/* Responsive adjustments for small screens */
@media (max-width: 500px) {
  form {
    padding: 18px 8px;
  }

  input, button, select, textarea {
    font-size: 15px;
  }

  h1, h2 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.98rem;
  }
}

/* Make all links gold by default */
a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.features-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  align-items: center;
}

.feature-box {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 6px 12px; /* 🔽 Smaller padding */
  width: 100%;
  max-width: 420px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 6px rgba(255, 215, 0, 0.05); /* 🔽 Lighter shadow */
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.feature-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-light);
  text-align: left;
}

.emoji {
  font-size: 0.9rem;/* 🔽 Smaller emoji */
}

.small-note {
  font-size: 0.75rem;
  color: #ccc;
  font-style: italic;
  margin-left: 6px;
  opacity: 0.85;
}

.ready-box {
  background-color: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.ready-box:hover {
  background-color: #c3e6cb;
  transform: translateY(-2px);
}

.dark-green-box {
  background: linear-gradient(135deg, #103d25, #1b5e3c);
  border: 2px solid #3ddc84;
  box-shadow: 0 6px 16px rgba(61, 220, 132, 0.15);
  color: #eaffea;
}

.dark-green-box:hover {
  background: linear-gradient(135deg, #1b5e3c, #2e7d52);
  transform: scale(1.015);
  box-shadow: 0 8px 20px rgba(61, 220, 132, 0.25);
}

.dark-green-box .feature-text {
  color: #eaffea;
}

.dark-green-box .small-note {
  color: #d2ffd2;
}

form.compact-form {
  max-width: 420px;
  padding: 16px 12px;
  font-size: 0.85rem;
}

form.compact-form input,
form.compact-form label,
form.compact-form button {
  font-size: 0.85rem;
}

form.compact-form input {
  padding: 8px;
  margin-bottom: 14px;
}

form.compact-form button {
  padding: 10px;
  font-size: 0.9rem;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.store-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  width: 200px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Fixed Header Styling */
.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--navy-dark);
  color: var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: bold;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  margin-left: 12px;
  filter: brightness(0.9);
  transition: filter 0.2s, transform 0.2s;
}

.social-icons a img:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}

/* Fixed Footer Styling */
.fixed-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--navy-dark);
  color: var(--gold-light);
  text-align: center;
  padding: 8px 12px;
  font-size: 0.75rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

.fixed-footer a {
  color: var(--gold-light);
  margin: 0 6px;
}

.fixed-footer a:hover {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .fixed-header {
    padding: 12px 16px;
  }

  .brand-name {
    font-size: 1.8rem;
    flex: 1;
    text-align: left;
  }

  .social-icons {
    display: flex;
    gap: 12px;
  }

  .social-icons a img {
    width: 28px;
    height: 28px;
    margin: 0;
  }
}

.brand-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-tagline {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-top: 2px;
}

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }
  30% {
    opacity: 1;
    transform: translateX(0);
  }
  70% {
    opacity: 1;
    transform: translateX(15px);
  }
  100% {
    opacity: 0;
    transform: translateX(30px);
  }
}

/* Ensure vertical stacking */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  align-items: center;
}

/* Feature box default */
.feature-box {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 16px 24px;
  width: 100%;
  max-width: 420px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

/* 🔥 Bigger highlight box */
.feature-box.highlight {
  padding: 28px 32px;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1a2238, #2a2d4a);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.18);
  transform: scale(1.02);
}

.feature-box.highlight .emoji {
  font-size: 2rem;
}

.feature-box.highlight .feature-text {
  font-size: 1.2rem;
}

.section-label {
  margin: 52px 0 2px; /* 🔼 space above, 🔽 below */
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  text-align: center;
}

/* ------------------- UPLOAD UI TABLE ------------------- */

#uploadTable {
  width: 100%;
  max-width: 900px;
  margin-top: 20px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
  border: 2px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
  color: var(--gold);
  font-size: 0.9rem;
}

#uploadTable th, #uploadTable td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  text-align: left;
}

#uploadTable th {
  background: rgba(255, 215, 0, 0.15);
  font-weight: 700;
  letter-spacing: 0.6px;
}

/* ------------------- STATUS COLORS ------------------- */

.status-uploading {
  color: #fbc02d; /* amber gold */
  font-weight: 600;
}

.status-completed {
  color: #4caf50;
  font-weight: 700;
}

.status-failed {
  color: #ff5252;
  font-weight: 700;
}

.status-queued {
  color: #ccc;
}

/* ------------------- PROGRESS BAR ------------------- */

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 5px;
  transition: width 0.2s ease-in-out;
}

/* ------------------- RETRY BUTTON ------------------- */

.retry-btn {
  background: rgba(255, 0, 0, 0.25);
  border: 1px solid #ff5252;
  color: #ffcccc;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  margin-left: 5px;
}

.retry-btn:hover {
  background: rgba(255, 0, 0, 0.45);
  color: #fff;
}

/* ------------------- Table Row Hover ------------------- */

#uploadTable tr:hover {
  background: rgba(255, 255, 255, 0.05);
}
