/* Contact Section Decorations */
.contact-deco {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  pointer-events: none;
  z-index: 1;
}
/* Remove column layout for left deco, use scattered absolute icons instead */
.contact-deco-scatter {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.contact-deco-right {
  right: 0;
  transform: translateX(-9cm);
}

/* Extra far right icon for contact section */
.contact-deco-far-right {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.contact-ani-large {
  width: 180px;
  height: 180px;
  max-width: 220px;
  max-height: 220px;
  opacity: 0.92;
  animation-duration: 7s;
}
@media (max-width: 900px) {
  .contact-deco {
    display: none;
  }
}
.card-sale-icon {
  max-height: 32px;
  max-width: 32px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 0.3em;
  margin-bottom: -0.2em;
  vertical-align: middle;
  background: none;
  border-radius: 6px;
  box-shadow: none;
  pointer-events: none;
}
.sales-slideout-icon.ani6 {
  animation-name: ani-crazy2;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(.5,1.8,.5,1);
  /* optioneel: iets groter voor zichtbaarheid */
  max-width: 130px;
  max-height: 54px;
}
/* Sales slideout icon styling */
.sales-slideout-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
}
.sales-slideout-icon {
  max-height: 48px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-left: 0.5rem;
  margin-top: 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 8px;
  background: none;
}
@media (max-width: 700px) {
  .home-hero {
    background: url('assets/ChatGPT Image Jul 30, 2025, 01_47_46 PM.png') no-repeat center center fixed !important;
    background-size: cover !important;
    background-position: center 50% !important;
    min-height: 100vh;
    height: 100dvh;
    width: 100vw;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 2.5rem;
    padding-bottom: 0;
  }
  .home-hero-overlay {
    background: rgba(0,0,0,0.3); /* optioneel: subtiele overlay voor leesbaarheid */
  }
  #records {
    margin-top: 1.5rem;
  }
}
/* Contact nieuwe stijl */
.contact-fullpage {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  min-height: 400px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 2.5rem 2rem;
}
.contact-collage {
  position: relative;
  width: 280px;
  height: 320px;
  min-width: 150px;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.contact-collage-img {
  width: 240px;
  height: 280px;
  z-index: 2;
}
.contact-collage-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #0003;
  opacity: 0.95;
  z-index: 3;
  transition: transform 0.18s;
}
.contact-collage-icon.icon1 { left: -18px; top: 18px; transform: rotate(-8deg); }
.contact-collage-icon.icon2 { right: -18px; top: 32px; transform: rotate(12deg); }
.contact-collage-icon.icon3 { left: 40px; bottom: -18px; transform: rotate(-6deg); }
.contact-content {
  max-width: 540px;
  background: rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 2rem 2.2rem;
  font-size: 1.18rem;
  color: #f3f3f3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 320px;
}
@media (max-width: 800px) {
  .contact-fullpage {
    flex-direction: column;
    gap: 1.2rem;
    min-height: 0;
    padding: 1.2rem 0.5rem;
    border-radius: 12px;
  }
  .contact-collage {
    width: 160px;
    height: 180px;
    min-width: 80px;
    min-height: 90px;
  }
  .contact-collage-img {
    width: 130px;
    height: 150px;
  }
  .contact-collage-icon {
    width: 32px;
    height: 32px;
  }
  .contact-content {
    padding: 1.2rem 1rem;
    font-size: 1.05rem;
    min-width: 0;
  }
  .contact-icon {
    width: 28px;
    height: 28px;
    padding: 2px;
  }
  .contact-map {
    max-width: 98vw;
    height: 160px;
  }
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.contact-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px #0008) brightness(1.1);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}
.contact-mail {
  color: #ffb703;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-mail:hover {
  color: #e63946;
  text-decoration: underline;
}
.contact-map {
  width: 100%;
  max-width: 400px;
  height: 220px;
  border: none;
  border-radius: 10px;
  margin-top: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
@media (max-width: 800px) {
  .contact-fullpage {
    flex-direction: column;
    gap: 1.5rem;
    min-height: 0;
  }
  .contact-collage {
    width: 140px;
    height: 160px;
    min-width: 80px;
    min-height: 90px;
  }
  .contact-collage-img {
    width: 110px;
    height: 130px;
  }
  .contact-content {
    padding: 1.2rem 1rem;
    font-size: 1.05rem;
  }
  .contact-icon {
    width: 28px;
    height: 28px;
    padding: 2px;
  }
  .contact-map {
    max-width: 98vw;
    height: 160px;
  }
  /* Move ani1 more to the left on mobile */
  .contact-deco-scatter.ani1 {
    left: 3vw !important;
  }
}
/* Utility: lege grid melding */
.empty-grid-message {
  grid-column: 1/-1;
  text-align: center;
  color: #aaa;
  font-size: 1.2em;
  padding: 2em;
}
.empty-admin-message {
  color: #888;
  padding: 1em;
  text-align: center;
}
.empty-sales-message {
  color: #aaa;
  text-align: center;
  padding: 2em;
}
.cart-special-badge {
  color: #ffb703;
  font-size: 0.9em;
  font-weight: 500;
}
.sale-old-price {
  color: #aaa;
  font-size: 0.9em;
  text-decoration: line-through;
  margin-left: 0.3em;
}
.yt-link img {
  width: 28px;
  height: 28px;
  margin-top: 0.5em;
}
/* Maak de kaarten in de sales slider iets smaller */
.sales-slideout-content .record-card,
.sales-slideout-content .specials-card {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
/* YouTube link in record cards */
/* YouTube link in record cards, rechtsboven */
.yt-link-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5em;
}
.yt-link {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
  transition: transform 0.15s;
}
.yt-link img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 6px #0006);
  border-radius: 6px;
  background: #fff;
}
.yt-link:hover {
  transform: scale(1.15) rotate(-7deg);
  filter: drop-shadow(0 0 12px #ff0000cc);
}
/* --- Animated Sidebars --- */
.animated-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 10000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.animated-sidebar-left {
  left: 0;
}
.animated-sidebar-right {
  right: 0;
}
.ani-imgs {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  align-items: center;
  width: 80px;
  height: 90vh;
  justify-content: space-around;
}
.ani {
  width: 60px;
  height: 60px;
  opacity: 0.85;
  filter: drop-shadow(0 2px 8px #0008) brightness(1.1);
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(.5,1.8,.5,1);
}
.ani1 { animation-name: ani-bounce; }
.ani2 { animation-name: ani-rotate; animation-duration: 7s; }
.ani3 { animation-name: ani-crazy; animation-duration: 5.5s; }
.ani4 { animation-name: ani-float; animation-duration: 6.2s; }
.ani5 { animation-name: ani-wobble; animation-duration: 4.7s; }
.ani6 { animation-name: ani-crazy2; animation-duration: 8s; }
.ani8 { animation-name: ani-bounce2; animation-duration: 5.2s; }
.ani11 { animation-name: ani-pulse; animation-duration: 4.5s; }
.ani-special, .ani-special2 { animation-name: ani-special; animation-duration: 3.2s; filter: drop-shadow(0 0 16px #ff0a) brightness(1.3) saturate(1.5); }
.ani-special2 { animation-delay: 1.5s; }
.mirrored { transform: scaleX(-1); }
@keyframes ani-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px) scale(1.1) rotate(-8deg); }
}
@keyframes ani-bounce2 {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-18px) scale(1.08) rotate(7deg); }
  60% { transform: translateY(12px) scale(0.95) rotate(-5deg); }
}
@keyframes ani-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes ani-crazy {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.2) rotate(12deg); }
  40% { transform: scale(0.9) rotate(-10deg); }
  60% { transform: scale(1.1) rotate(8deg); }
  80% { transform: scale(0.95) rotate(-6deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes ani-crazy2 {
  0% { transform: scale(1) translateY(0); }
  25% { transform: scale(1.15) translateY(-18px) rotate(8deg); }
  50% { transform: scale(0.92) translateY(10px) rotate(-7deg); }
  75% { transform: scale(1.08) translateY(-8px) rotate(5deg); }
  100% { transform: scale(1) translateY(0); }
}
@keyframes ani-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px) scale(1.07); }
}
@keyframes ani-wobble {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(8deg); }
  40% { transform: rotate(-6deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-8deg); }
}
@keyframes ani-special {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 16px #ff0a) brightness(1.3) saturate(1.5); }
  20% { transform: scale(1.18) rotate(12deg); filter: drop-shadow(0 0 32px #ff0a) brightness(1.5) saturate(2); }
  50% { transform: scale(0.92) rotate(-10deg); filter: drop-shadow(0 0 8px #ff0a) brightness(1.1) saturate(1.2); }
  80% { transform: scale(1.12) rotate(7deg); filter: drop-shadow(0 0 24px #ff0a) brightness(1.4) saturate(1.7); }
}
@keyframes ani-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.15) rotate(5deg); }
  50% { transform: scale(0.85) rotate(-3deg); }
  75% { transform: scale(1.08) rotate(2deg); }
}
@media (max-width: 1100px) {
  .animated-sidebar { display: none !important; }
}
/* Admin records list table style */
.admin-records-row {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.5em 0.7em;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  color: #222;
  font-size: 1em;
}
.admin-records-header {
  font-weight: bold;
  background: #f0f0f0;
  color: #222;
  border-bottom: 2px solid #bbb;
}
.admin-records-photo {
  width: 48px;
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-records-photo img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.admin-records-artist, .admin-records-title {
  flex: 1 1 120px;
  min-width: 80px;
  padding: 0 0.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-records-sale, .admin-records-saleprice {
  width: 110px;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-records-saleprice input {
  width: 70px;
  padding: 0.2em 0.4em;
  border: 1px solid #bbb;
  border-radius: 3px;
  font-size: 1em;
}
.admin-records-actions {
  display: flex;
  gap: 0.5em;
}
.admin-records-actions button {
  padding: 0.3em 0.8em;
  border-radius: 3px;
  border: none;
  background: #222;
  color: #fff;
  cursor: pointer;
  font-size: 0.95em;
}
.admin-records-actions button:hover {
  background: #e63946;
}
/* Hamburger icon image */
.hamburger-icon-img {
  width: 32px;
  height: 32px;
  display: block;
  cursor: pointer;
  filter: brightness(0) invert(1);
}
/* Admin panel styles */
.admin-panel {
  background: #f8f8f8;
  padding: 2em 0;
}
.admin-record-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: flex-end;
}
.admin-record-form label {
  font-size: 0.95em;
}
.admin-record-form input[type="text"],
.admin-record-form input[type="number"] {
  width: 140px;
  padding: 0.3em 0.5em;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.admin-record-form button {
  padding: 0.5em 1.2em;
  border-radius: 3px;
  border: none;
  background: #222;
  color: #fff;
  cursor: pointer;
  margin-top: 0.5em;
}
.admin-cancel-btn {
  background: #aaa;
  color: #fff;
  display: none;
}
.admin-search-box {
  margin: 1em 0;
}
.admin-search-box input {
  width: 300px;
  padding: 0.4em 0.7em;
  border: 1px solid #bbb;
  border-radius: 3px;
}
#adminRecordsList {
  margin-top: 1.5em;
}
/* Reset & base */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #181818;
  color: #f5f5f5;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
  max-width: 100vw;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 64px;
  background: rgba(24,24,24,0.98);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000; 
  padding: 0 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  overflow: hidden;
  box-sizing: border-box;
}

.navbar-logo {
  height: 60px;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

/* Remove default link styling for logo */
.navbar a {
  text-decoration: none;
  display: inline-block;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  max-width: calc(100vw - 200px);
}

.navbar-cart {
  position: relative;
  margin-left: 1.5rem;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e63946;
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  padding: 2px 6px;
}

.navbar-search {
  margin-left: 2rem;
  position: relative;
  transform: translateX(-1cm);
}

.navbar-search input {
  padding: 6px 32px 6px 12px;
  border-radius: 20px;
  border: none;
  background: #292929;
  color: #fff;
}

.navbar-hamburger {
  display: none;
  cursor: pointer;
  margin-left: 2rem;
  background: none;
  border: none;
  padding: 0;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 1001; 
}

@media (max-width: 700px) {
  .navbar-links {
    display: none;
  }
  .navbar-hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 0.5rem;
    position: absolute;
    right: 0.5rem;
    top: 8px;
    z-index: 101;
    background: none;
    border: none;
    height: 48px;
    align-items: center;
    justify-content: center;
  }
  .navbar-hamburger svg {
    display: block;
    width: 32px;
    height: 32px;
  }
  .navbar {
    position: fixed;
    min-height: 56px;
    height: 56px;
    padding: 0 0.5rem;
    z-index: 1000;
  }
  .hamburger-menu {
    top: 56px;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: calc(100vh - 56px);
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    gap: 1.2rem;
    border-radius: 0 0 12px 12px;
    display: none;
    flex-direction: column;
    background: #222;
    box-shadow: -2px 0 12px rgba(0,0,0,0.18);
    z-index: 200;
    overflow-y: auto;
  }
  .hamburger-menu.open {
    display: flex;
  }
  .hamburger-menu input {
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  .hamburger-menu a,
  .hamburger-menu button {
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    margin: 0.2rem 0;
  }
  .hamburger-menu .navbar-cart {
    margin: 0.5rem 0 1rem 0;
    width: 100%;
    justify-content: flex-start;
  }
  .home-hero {
    background: url('./assets/phone-backswap.jpg') center center/cover no-repeat;
    height: 100vh;
    min-height: 320px;
  }
  .home-hero-title {
    font-size: 2rem;
  }
  .home-hero-subtitle {
    font-size: 1.1rem;
  }
  .section {
    padding: 2rem 0.5rem 1rem 0.5rem;
  }
  .about-img {
    width: 100%;
    max-width: 100vw;
  }
  .cart-modal {
    right: 0.5rem;
    min-width: 90vw;
    padding: 1rem 0.5rem;
    top: 56px;
    border-radius: 12px;
  }
  .sales-slideout {
    width: 100vw;
    max-width: 100vw;
    right: 0;
    left: 0;
    top: 3vw;
    height: 94vh;
    border-radius: 12px;
  }
  .sales-slideout-content {
    padding: 1rem 0.5rem;
    gap: 1.2rem;
  }
  .sales-slideout-header {
    padding: 1rem 1rem 0.7rem 1rem;
    font-size: 1.1rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  .login-modal-content {
    min-width: 0;
    width: 95vw;
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
  .main-content,
  section,
  #home,
  #records,
  #specials,
  #about,
  #contact {
    margin-top: 56px;
  }
}

/* Hamburger menu (mobile) */
.hamburger-menu {
  display: none;
  position: fixed;
  top: 64px;
  right: 0;
  width: 80vw;
  max-width: 340px;
  height: calc(100vh - 64px);
  background: #222;
  box-shadow: -2px 0 12px rgba(0,0,0,0.18);
  z-index: 200;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 2rem;
  overflow-y: auto;
}

.hamburger-menu.open {
  display: flex;
}

.hamburger-menu input {
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Home fullscreen */
.home-hero {
  width: 100vw;
  height: 100vh;
  background: url('./assets/Home img.png') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24,24,24,0.45);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  text-align: center; /* Center align for better logo positioning */
  color: #fff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.home-hero-logo {
  margin-bottom: 2rem;
  margin-top: 0; /* Reset margin for better centering */
}

.hero-logo-img {
  max-width: 400px;
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8))
          drop-shadow(0 5px 15px rgba(0, 0, 0, 0.6))
          drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo-img:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.9))
          drop-shadow(0 8px 20px rgba(0, 0, 0, 0.7))
          drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.home-hero-title {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px #000;
}

.home-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  margin-left: 1rem; /* Add some indent to align with logo */
  text-shadow: 0 2px 8px #000;
  max-width: 600px; /* Limit width for better readability */
}

/* Section layouts */
.section {
  padding: 4rem 2rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #e63946;
  letter-spacing: 1px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* Record Card */
.record-card {
  background: #232323;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
}

.record-card:hover {
  transform: translateY(-4px) scale(1.03);
}

.record-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #181818;
  display: block;
  margin: 0 auto;
}

.record-card-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.record-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.record-artist {
  color: #aaa;
  font-size: 0.95rem;
}

.record-price {
  color: #e63946;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.record-add {
  margin-top: auto;
  background: #e63946;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.15s;
}

.record-add:hover {
  background: #b71c1c;
}

/* My Account Modal Specific Styling */
#myAccountModal {
  align-items: center;
  justify-content: center;
}

#myAccountModal .login-modal-content {
  max-width: 600px;
  min-width: 480px;
  background: linear-gradient(135deg, #232323 0%, #2a2a2a 100%);
  border: 1px solid #333;
  margin: 0;
  position: relative;
}

#myAccountModal h2 {
  margin-bottom: 1.5rem;
  color: #e63946;
  font-size: 1.5rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

#myAccountModal form {
  gap: 1.2rem;
}

#myAccountModal .register-row {
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
}

#myAccountModal label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Submit button styling */
#myAccountModal button[type="submit"] {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(135deg, #e63946 0%, #d32f2f 100%);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

#myAccountModal button[type="submit"]:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

/* Error message styling */
#myAccountError {
  color: #e63946;
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 4px;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
}

/* My Account Modal Mobile Responsive */
@media (max-width: 600px) {
  #myAccountModal .login-modal-content {
    min-width: 0;
    width: 95vw;
    max-width: 95vw;
    margin: 1rem;
    padding: 1.5rem 1rem;
  }
}

/* My Account Button Styling */
#myAccountBtn {
  line-height: 1.2;
  text-align: center;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#myAccountBtn small {
  font-weight: normal;
  margin-top: 2px;
}

/* Specials */
.specials-card {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.specials-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* About/News */

.about-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  padding: 2.5rem 2rem;
  margin-top: 2rem;
}


.about-collage {
  position: relative;
  width: 340px;
  height: 480px; /* 2x zo hoog */
  min-width: 220px;
  min-height: 320px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Collage centraal in de box */
  margin-left: auto;
  margin-right: auto;
}
.about-collage-img {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  opacity: 0.85;
  transition: transform 0.18s;
}
.about-collage-img1 {
  width: 110px;
  height: 110px;
  left: -40px;
  top: 60px;
  z-index: 5;
  transform: rotate(-14deg);
}
.about-collage-img2 {
  width: 90px;
  height: 90px;
  left: 200px;
  top: -30px;
  z-index: 6;
  transform: rotate(18deg);
}
.about-collage-img3 {
  width: 80px;
  height: 80px;
  left: 275px; /* nog 5px verder naar rechts */
  top: 260px;
  z-index: 7;
  transform: rotate(-10deg);
}
.about-img-main {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 570px;
  transform: translate(-50%, -50%);
  border-radius: 50% 40% 60% 50%/50% 60% 40% 50%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 1.5px 8px rgba(255,255,255,0.08) inset;
  border: 4px solid #fff2;
  z-index: 3;
  background: #232323;
  object-fit: cover;
}

@media (max-width: 800px) {
  .about-collage {
    width: 220px;
    height: 280px; /* 2x zo hoog als origineel */
    min-width: 120px;
    min-height: 160px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-collage-img1 {
    width: 60px; height: 60px; left: -20px; top: 60px; z-index: 5;
  }
  .about-collage-img2 {
    width: 48px; height: 48px; left: 120px; top: -20px; z-index: 6;
  }
  .about-collage-img3 {
    width: 40px; height: 40px; left: 195px; top: 180px; z-index: 7;
  }
  .about-img-main {
    left: 50%;
    top: 60%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    z-index: 3;
  }
}

.about-content {
  max-width: 540px;
  background: rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 2rem 2.2rem;
  font-size: 1.18rem;
  color: #f3f3f3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  line-height: 1.7;
}

@media (max-width: 800px) {
  .about-section {
    flex-direction: column;
    padding: 1.2rem 0.5rem;
  }
  .about-content {
    padding: 1.2rem 1rem;
    font-size: 1.05rem;
  }
  .about-img {
    width: 220px;
    margin-bottom: 1.2rem;
  }
}

/* Contact */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-address {
  font-size: 1.1rem;
  color: #fff;
  white-space: pre-line;
}

.contact-phone {
  color: #e63946;
  font-weight: bold;
  font-size: 1.2rem;
}

.contact-map {
  width: 100%;
  max-width: 400px;
  height: 220px;
  border: none;
  border-radius: 10px;
  margin-top: 1rem;
}

/* Cart Modal */
.cart-modal-content {
  max-width: 500px;
  min-width: 400px;
}

.cart-items-list {
  max-height: 400px;
  overflow-y: auto;
  margin: 1.5rem 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #333;
  background: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #333;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cart-item-title {
  font-weight: bold;
  color: #fff;
  font-size: 0.95rem;
}

.cart-item-artist {
  color: #aaa;
  font-size: 0.85rem;
}

.cart-item-price {
  color: #e63946;
  font-weight: bold;
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-quantity-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 4px;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-quantity-btn:hover {
  background: #e63946;
}

.cart-quantity-btn:disabled {
  background: #555;
  cursor: not-allowed;
  opacity: 0.5;
}

.cart-quantity {
  min-width: 30px;
  text-align: center;
  font-weight: bold;
  color: #fff;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #e63946;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.cart-item-remove:hover {
  background: #e63946;
  color: #fff;
}

.cart-total {
  border-top: 2px solid #333;
  padding-top: 1rem;
  margin-top: 1rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.cart-total-row span:last-child {
  color: #e63946;
  font-size: 1.3rem;
}

.cart-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cart-actions button {
  flex: 1;
}

.cart-error {
  color: #e63946;
  margin-top: 1rem;
  text-align: center;
  display: none;
}

.cart-empty {
  text-align: center;
  color: #aaa;
  padding: 2rem;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .cart-modal-content {
    min-width: 0;
    width: 95vw;
    max-width: 95vw;
  }
  
  .cart-item {
    padding: 0.8rem;
    gap: 0.8rem;
  }
  
  .cart-item img {
    width: 50px;
    height: 50px;
  }
  
  .cart-actions {
    flex-direction: column;
  }
}

/* Sales badge */
.sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffb703;
  color: #181818;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 2;
}

/* Sales Slideout */
.sales-slideout {
  position: fixed;
  top: 5vh;
  right: 2vw;
  width: 400px;
  max-width: 95vw;
  height: 90vh;
  background: #232323;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.28), -2px 0 16px rgba(0,0,0,0.18);
  z-index: 2500;
  border-radius: 18px;
  transform: translateX(110%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.sales-slideout.open {
  transform: translateX(0);
}

.sales-slideout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem 1rem 1.5rem;
  border-bottom: 1px solid #292929;
  font-size: 1.3rem;
  font-weight: bold;
  background: #1a1a1a;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.sales-slideout-close {
  background: none;
  border: none;
  color: #e63946;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.sales-slideout-content {
  padding: 2rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 700px) {
  .sales-slideout {
    width: 100vw;
    max-width: 100vw;
    right: 0;
    left: 0;
    top: 3vw;
    height: 94vh;
    border-radius: 12px;
    z-index: 2500;
  }
  .sales-slideout-close {
    /* Zorg dat de sluitknop goed zichtbaar en klikbaar is */
    font-size: 2.2rem;
    padding: 0 0.5rem;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
    background: none;
    border: none;
    color: #e63946;
    cursor: pointer;
    position: relative;
    z-index: 2501;
  }
}

/* Login Modal */
.login-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
}

.login-modal.open {
  display: flex;
}

.login-modal-content {
  background: #232323;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.28);
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 90vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-modal-content label {
  margin-top: 0.7rem;
  font-size: 1rem;
  color: #e63946;
}

.login-modal-content input[type="text"],
.login-modal-content input[type="password"],
.login-modal-content input[type="email"] {
  width: 100%;
  padding: 0.6rem 1rem;
  margin-top: 0.3rem;
  border-radius: 7px;
  border: 1px solid #444;
  background: #292929;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.login-modal-content input[type="text"]:hover,
.login-modal-content input[type="password"]:hover,
.login-modal-content input[type="email"]:hover {
  border-color: #555;
  background: #333;
}

/* Register Form Layout */
.register-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.register-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.register-col:last-child {
  flex: 0.6; /* App/Apartment field can be smaller */
}

/* Ensure inputs inside register columns fill their containers */
.register-col input {
  width: 100%;
  box-sizing: border-box;
}

/* Special styling for postal/city/country row */
.register-row:last-of-type .register-col {
  flex: 1;
}

.register-row:last-of-type .register-col:first-child {
  flex: 0.8; /* Postal code smaller */
}

/* Input focus states */
.login-modal-content input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.3);
  background: #333;
  border-color: #e63946;
  transform: translateY(-1px);
}

/* Disabled input styling */
.login-modal-content input:disabled {
  background: #1a1a1a;
  color: #888;
  cursor: not-allowed;
  border-color: #222;
}

/* Form field group styling */
.register-col label {
  transition: color 0.2s ease;
}

.register-col:hover label {
  color: #ffb703;
}

/* Modal animation improvements */
.login-modal.open .login-modal-content {
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #e63946;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 600px) {
  .login-modal-content {
    min-width: 0;
    width: 95vw;
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .section {
    padding: 3rem 1rem 1rem 1rem;
  }
  .about-section {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 700px) {
  .navbar-links {
    display: none;
  }
  .navbar-hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 0.5rem;
    position: absolute;
    right: 0.5rem;
    top: 8px;
    z-index: 101;
    background: none;
    border: none;
    height: 48px;
    align-items: center;
    justify-content: center;
  }
  .navbar-hamburger svg {
    display: block;
    width: 32px;
    height: 32px;
  }
  .section {
    padding: 2rem 0.5rem 1rem 0.5rem;
  }
  
  /* Mobile logo styling */
  .home-hero-content {
    text-align: center; /* Center on mobile */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .home-hero-logo {
    margin-top: 0; /* Reset margin for mobile centering */
    margin-bottom: 1.5rem;
  }
  
  .hero-logo-img {
    max-width: 280px; /* Smaller on mobile */
    width: 85%;
  }
  
  .home-hero-title {
    font-size: 2rem;
  }
  .home-hero-subtitle {
    font-size: 1.1rem;
    margin-left: 0; /* Remove indent on mobile */
    text-align: center;
  }
}

@media (max-width: 500px) {
  .home-hero {
    height: 60vh;
  }
  .about-img {
    width: 100%;
    max-width: 100vw;
  }
  .cart-modal {
    right: 0.5rem;
    min-width: 90vw;
    padding: 1rem 0.5rem;
  }
}

/* Zorg dat modals en slideouts niet buiten het scherm vallen */
.cart-modal,
.sales-slideout,
.login-modal-content {
  max-width: 98vw;
  box-sizing: border-box;
}

/* Navbar login status */
#loginStatus, #loginStatusMobile {
  margin-left: 1rem;
  color: #ffb703;
  font-weight: bold;
  display: inline-block;
  word-break: break-all;
}
#loginStatusMobile {
  margin: 0 0 1rem 1rem;
  display: block;
}

/* Navbar buttons (Sales, Login) */
#openSalesBtn,
#loginBtn,
#openSalesBtnMobile,
#loginBtnMobile {
  margin-left: 1rem;
  width: auto;
}
@media (max-width: 700px) {
  #openSalesBtnMobile,
  #loginBtnMobile {
    margin: 1rem 0;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Hamburger menu cart */
#mobileCartBtn {
  width: 100%;
  margin-bottom: 1rem;
  justify-content: flex-start;
}

/* Login modal error */
#loginError {
  color: #e63946;
  margin-top: 1rem;
  display: none;
}
#registerError, #addressError {
  color: #e63946;
  margin-top: 1rem;
  display: none;
}

/* Verberg het winkelwagen-icoon overal */
.navbar-cart,
#cartBtn,
#mobileCartBtn {
  display: none !important;
}

/* Zorg dat de content niet onder de navbar valt */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #181818;
  color: #f5f5f5;
  min-height: 100vh;
}

.main-content,
section,
#home,
#records,
#specials,
#about,
#contact {
  margin-top: 64px;
}

/* Tablet Styles (900px and below) */
@media (max-width: 900px) {
  .main-content,
  section,
  #home,
  #records,
  #specials,
  #about,
  #contact {
    margin-top: 64px;
  }
}

/* Toon het cart-icoon in de navbar op desktop */
#cartBtnNav {
  display: flex !important;
  align-items: center;
  margin-left: 1.5rem;
  cursor: pointer;
}

/* Verberg het cart-icoon in het hamburgermenu op desktop */
@media (min-width: 701px) {
  #mobileCartBtn {
    display: none !important;
  }
}

/* In het hamburgermenu (mobile) bovenaan tonen */
@media (max-width: 700px) {
  #cartBtnNav {
    display: none !important;
  }
  #mobileCartBtn {
    display: flex !important;
    align-items: center;
    margin: 0.5rem 0 1rem 0;
    width: 100%;
    justify-content: flex-start;
    order: 2;
  }
  .hamburger-menu {
    flex-direction: column;
  }
  /* Zet het cart icoon bovenaan in het menu */
  #mobileCartBtn {
    order: 0;
    margin-bottom: 1.2rem;
  }
  /* Optioneel: zet de zoekbalk, cart en login bovenaan */
  #mobileSearchInput {
    order: -2;
  }
  #loginBtnMobile, #registerBtnMobile {
    order: 1;
  }
}

/* Clear Storage Page Styles */
.clear-storage-container {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #f0f0f0;
  color: #333333;
}

.clear-storage-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  color: #333333;
}

.clear-storage-content h1 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.clear-storage-content p {
  color: #555555;
  line-height: 1.6;
}

.clear-button-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding: 15px;
  background: #e8f4f8;
  border-radius: 8px;
}

.clear-test-btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  color: white;
  min-width: 120px;
}

.clear-btn-red { background: #ff6b6b; }
.clear-btn-teal { background: #4ecdc4; }
.clear-btn-blue { background: #45b7d1; }
.clear-btn-yellow { background: #f7b731; }
.clear-btn-orange { background: #ff8c42; }
.clear-btn-green { background: #27ae60; }
.clear-btn-purple { background: #6c5ce7; }

.clear-btn-large {
  font-size: 16px;
}

.clear-output {
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.clear-output h3 {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 10px;
}

.clear-output ul {
  color: #555555;
  padding-left: 20px;
}

.clear-output li {
  margin-bottom: 5px;
}

.clear-output strong {
  color: #2c3e50;
}

/* Responsive Styles for New Features */

/* Admin Panel Buttons Styling */
#openUserManagementBtn {
  margin-bottom: 1.5rem;
}

#openClearStorageBtn {
  margin-bottom: 1.5rem;
  margin-left: 10px;
}

#registerBtn {
  margin-top: 1.5rem;
}

/* Admin User Panel Styling */
#adminUserPanel h1 {
  margin-bottom: 2rem;
}

/* Mobile My Account Button Visibility */
#myAccountBtnMobile {
  display: none;
}

/* Tablet Styles (900px and below) */
@media (max-width: 900px) {
  /* Navbar spacing adjustments */
  .navbar {
    padding: 0 1rem;
  }
  
  .navbar-links {
    gap: 0.8rem;
    max-width: calc(100vw - 150px);
  }
  
  .navbar-links button {
    font-size: 0.8rem;
    padding: 6px 8px;
  }
  
  .navbar-links a {
    font-size: 0.85rem;
  }
  
  /* My Account Button */
  #myAccountBtn {
    font-size: 0.75rem;
    min-height: 35px;
    padding: 6px 8px;
    max-width: 100px;
  }
  
  #myAccountBtn small {
    font-size: 0.65rem;
    margin-top: 1px;
  }
  
  /* Clear Storage Button */
  #clearStorageBtn {
    font-size: 0.6rem;
    padding: 4px 6px;
  }
  
  /* Tablet logo styling */
  .hero-logo-img {
    max-width: 350px; /* Medium size for tablet */
    width: 80%;
  }
  
  .home-hero-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .home-hero-logo {
    margin-top: 0; /* Reset margin for tablet centering */
  }
  
  .home-hero-subtitle {
    font-size: 1.3rem;
    max-width: 500px;
  }
  
  /* Admin Panel Buttons */
  #openUserManagementBtn, #openClearStorageBtn {
    font-size: 0.9rem;
    padding: 10px 15px;
    margin-bottom: 1rem;
  }
  
  /* Clear Storage Page */
  .clear-storage-container {
    padding: 20px;
    margin: 15px;
  }
  
  .clear-button-row {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }
  
  .clear-test-btn {
    font-size: 13px;
    padding: 12px;
    min-width: 100px;
  }
  
  /* My Account Modal Tablet */
  #myAccountModal .login-modal-content {
    min-width: 400px;
    max-width: 500px;
  }
  
  .register-row {
    gap: 0.8rem;
  }
  
  .register-col:last-child {
    flex: 0.5;
  }
  
  .clear-btn-large {
    font-size: 15px;
  }
}

/* Mobile Styles (700px and below) */
@media (max-width: 700px) {
  /* Navbar adjustments for mobile */
  .navbar {
    padding: 0 0.5rem;
    height: 56px;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .navbar-links {
    display: none;
  }
  
  .navbar-logo {
    height: 45px;
    max-width: 140px;
  }
  
  .navbar-hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 0.5rem;
    position: absolute;
    right: 0.5rem;
    top: 8px;
    z-index: 101;
    background: none;
    border: none;
    height: 48px;
    align-items: center;
    justify-content: center;
  }
  
  /* My Account Button Mobile */
  #myAccountBtn {
    font-size: 0.7rem;
    min-height: 32px;
    padding: 4px 6px;
    line-height: 1.1;
    max-width: 80px;
  }
  
  #myAccountBtn small {
    font-size: 0.6rem;
    margin-top: 0px;
  }
  
  /* Clear Storage Button Mobile */
  #clearStorageBtn {
    font-size: 0.55rem;
    padding: 3px 4px;
    margin-left: 3px;
  }
  
  /* Mobile hamburger menu additions */
  .hamburger-menu {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    width: 100vw;
    left: 0;
    right: 0;
  }
  
  .hamburger-menu #myAccountBtnMobile {
    display: block;
    width: calc(100% - 20px);
    margin: 0.5rem 10px;
    text-align: center;
    font-size: 0.85rem;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .hamburger-menu #myAccountBtnMobile small {
    display: block;
    font-size: 0.7rem;
    margin-top: 3px;
    opacity: 0.8;
  }
  
  /* Admin Panel Mobile */
  .admin-panel {
    padding: 15px;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  #openUserManagementBtn, #openClearStorageBtn {
    width: 100%;
    margin-bottom: 0.8rem;
    margin-left: 0;
    font-size: 0.8rem;
    padding: 10px;
    box-sizing: border-box;
  }
  
  /* Clear Storage Page Mobile */
  .clear-storage-container {
    padding: 15px;
    margin: 10px;
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
  }
  
  .clear-storage-content h1 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .clear-button-row {
    padding: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .clear-test-btn {
    font-size: 12px;
    padding: 10px;
    min-width: 80px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .clear-btn-large {
    font-size: 14px;
  }
  
  /* My Account Modal Mobile */
  .login-modal-content {
    margin: 10px;
    padding: 20px;
    max-height: 90vh;
    max-width: calc(100vw - 20px);
    overflow-y: auto;
    box-sizing: border-box;
  }
  
  /* Mobile responsive register form */
  #myAccountModal .login-modal-content {
    min-width: 0;
    max-width: calc(100vw - 20px);
  }
  
  .register-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .register-col {
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    flex: none;
  }
  
  #myAccountModal h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  #myAccountModal form {
    gap: 1rem;
  }
  
  /* Admin User Management Page Mobile */
  #adminUserPanel {
    padding: 15px;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  #adminUserPanel h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  #adminUserPanel h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  /* User management table responsiveness */
  #adminUsersList {
    overflow-x: auto;
    max-width: 100%;
  }
  
  /* User edit buttons stacking */
  .user-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .user-actions button {
    width: 100%;
    font-size: 0.8rem;
    padding: 8px;
    box-sizing: border-box;
  }
  
  /* Cart Modal Mobile Improvements */
  .cart-modal-content {
    margin: 10px;
    max-height: 85vh;
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
  }
  
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
  }
  
  .cart-item img {
    width: 50px;
    height: 50px;
    align-self: center;
  }
  
  .cart-item-info {
    text-align: center;
    width: 100%;
  }
  
  .cart-item-controls {
    justify-content: center;
    width: 100%;
  }
  
  .cart-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .cart-actions button {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Small Mobile Styles (500px and below) */
@media (max-width: 500px) {
  /* Navbar ultra compact */
  .navbar {
    padding: 0 0.3rem;
    height: 52px;
  }
  
  .navbar-logo {
    height: 40px;
    max-width: 120px;
  }
  
  /* Extra small adjustments */
  #myAccountBtn {
    font-size: 0.65rem;
    min-height: 28px;
    padding: 3px 5px;
    max-width: 70px;
  }
  
  #myAccountBtn small {
    font-size: 0.55rem;
  }
  
  #clearStorageBtn {
    font-size: 0.5rem;
    padding: 2px 3px;
  }
  
  /* Mobile menu ultra compact */
  .hamburger-menu #myAccountBtnMobile {
    font-size: 0.8rem;
    padding: 8px;
    margin: 0.3rem 5px;
    width: calc(100% - 10px);
  }
  
  .hamburger-menu #myAccountBtnMobile small {
    font-size: 0.65rem;
  }
  
  /* Ultra compact admin and storage */
  .clear-storage-container {
    padding: 8px;
    margin: 5px;
    max-width: calc(100vw - 10px);
  }
  
  .clear-storage-content h1 {
    font-size: 1.1rem;
  }
  
  .clear-test-btn {
    font-size: 11px;
    padding: 8px;
    min-width: 60px;
  }
  
  .clear-btn-large {
    font-size: 12px;
  }
  
  /* Admin buttons stack vertically on very small screens */
  #openUserManagementBtn, #openClearStorageBtn {
    font-size: 0.75rem;
    padding: 8px;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Ultra compact modals */
  .login-modal-content {
    margin: 5px;
    padding: 15px;
    max-width: calc(100vw - 10px);
    min-width: 0;
  }
  
  /* Ultra compact grid */
  .grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .section {
    padding: 1.5rem 0.5rem 0.5rem 0.5rem;
  }
}

/* Inline styles moved to CSS */
#myAccountBtn {
  display: none;
}

#clearStorageBtn {
  display: none;
  font-size: 0.8em;
}

#openUserManagementBtn {
  margin-bottom: 1.5rem;
}

.contact-fullpage {
  position: relative;
}

/* Contact decoration positioning */
.contact-deco-left-1 {
  left: 2vw;
  top: 12%;
}

.contact-deco-left-2 {
  left: 5vw;
  top: 25%;
}

.contact-deco-left-3 {
  left: 7vw;
  top: 60%;
}

.contact-deco-left-4 {
  left: 10vw;
  top: 50%;
}

.contact-deco-right-1 {
  right: 8vw;
  top: 70%;
}

.contact-deco-right-2 {
  right: 6vw;
  top: 25%;
}

.contact-deco-right-3 {
  right: 12vw;
  top: 45%;
}

.contact-deco-right-4 {
  right: 15vw;
  top: 15%;
}

/* Order Preview and Shipping Calculator Styling */
.order-preview {
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  margin: 10px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.order-preview h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.4em;
  text-align: center;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.order-items {
  margin-bottom: 25px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 8px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #e74c3c;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.order-item-info {
  flex: 1;
}

.order-item-info strong {
  color: #2c3e50;
  font-size: 1.05em;
}

.order-item-info small {
  color: #7f8c8d;
  font-size: 0.9em;
}

.order-item-price {
  font-weight: bold;
  color: #27ae60;
  font-size: 1.1em;
}

.order-shipping {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #3498db;
}

.order-shipping h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.shipping-address {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 0.95em;
  color: #495057;
  line-height: 1.4;
}

.free-shipping {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
  animation: pulse-green 2s infinite;
}

.shipping-info {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.9; }
}

.order-totals {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #27ae60;
  margin-bottom: 20px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ecf0f1;
}

.total-row:last-child {
  border-bottom: none;
}

.free-shipping-row {
  color: #27ae60;
  font-weight: bold;
}

.total-final {
  font-size: 1.2em;
  color: #2c3e50;
  border-top: 2px solid #3498db;
  padding-top: 12px;
  margin-top: 8px;
}

.order-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.order-confirm-btn {
  background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
  color: white !important;
  font-weight: bold;
  padding: 12px 25px;
  font-size: 1.05em;
  transition: all 0.3s ease;
}

.order-confirm-btn:hover {
  background: linear-gradient(135deg, #229954, #27ae60) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.order-success {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  border-radius: 12px;
  margin: 20px 0;
}

.order-success h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: white;
}

.order-number {
  background: rgba(255,255,255,0.2);
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.order-summary {
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.order-summary p {
  margin-bottom: 8px;
}

/* Mobile responsiveness for order preview */
@media (max-width: 768px) {
  .order-preview {
    padding: 15px;
    margin: 5px 0;
  }
  
  .order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .order-item-price {
    align-self: flex-end;
    font-size: 1.2em;
  }
  
  .order-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .order-confirm-btn, .admin-cancel-btn {
    width: 100%;
    text-align: center;
  }
}

/* Admin Orders Management Styling */
.admin-orders-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.order-stat-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border-left: 4px solid #3498db;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.order-stat-card:hover {
  transform: translateY(-5px);
}

.order-stat-card h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.order-stat-card span {
  font-size: 1.8em;
  font-weight: bold;
  color: #27ae60;
}

.admin-orders-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.admin-search-box {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-search-box input[type="text"] {
  flex: 1;
  min-width: 300px;
  padding: 12px 15px;
  border: 2px solid #bdc3c7;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.admin-search-box input[type="text"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.admin-search-box select {
  padding: 12px 15px;
  border: 2px solid #bdc3c7;
  border-radius: 8px;
  font-size: 1em;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
  min-width: 150px;
}

.admin-search-box select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#adminOrdersList {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.admin-order-item {
  padding: 20px;
  border-bottom: 1px solid #ecf0f1;
  transition: background-color 0.3s ease;
}

.admin-order-item:hover {
  background-color: #f8f9fa;
}

.admin-order-item:last-child {
  border-bottom: none;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.order-id {
  font-weight: bold;
  color: #2c3e50;
  font-size: 1.1em;
}

.order-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
}

.status-pending {
  background: #f39c12;
  color: white;
}

.status-confirmed {
  background: #3498db;
  color: white;
}

.status-shipped {
  background: #9b59b6;
  color: white;
}

.status-delivered {
  background: #27ae60;
  color: white;
}

.status-cancelled {
  background: #e74c3c;
  color: white;
}

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

.order-customer, .order-items-preview, .order-shipping-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
}

.order-customer h5, .order-items-preview h5, .order-shipping-info h5 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1em;
}

.order-total-price {
  font-size: 1.3em;
  font-weight: bold;
  color: #27ae60;
  text-align: right;
}

.order-actions-admin {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 15px;
}

.order-actions-admin button {
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.update-status-btn {
  background: #3498db;
  color: white;
}

.update-status-btn:hover {
  background: #2980b9;
}

.print-label-btn {
  background: #9b59b6;
  color: white;
}

.print-label-btn:hover {
  background: #8e44ad;
}

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

.delete-order-btn:hover {
  background: #c0392b;
}

/* Mobile responsiveness for admin orders */
@media (max-width: 768px) {
  .admin-orders-stats {
    grid-template-columns: 1fr;
  }
  
  .admin-orders-actions {
    flex-direction: column;
  }
  
  .admin-search-box {
    flex-direction: column;
  }
  
  .admin-search-box input[type="text"] {
    min-width: 100%;
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .order-details {
    grid-template-columns: 1fr;
  }
  
  .order-actions-admin {
    justify-content: stretch;
    flex-direction: column;
  }
  
  .order-actions-admin button {
    width: 100%;
  }
}

/* Orders Page Specific Styles */
.orders-page-body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.order-select {
  padding: 10px;
  border: 2px solid #bdc3c7;
  border-radius: 6px;
}

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

.orders-header {
  background: white;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.orders-header h1 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 2.5em;
}

.orders-header p {
  color: #7f8c8d;
  font-size: 1.1em;
}

.back-button {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.orders-content {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.stat-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border-left: 5px solid #3498db;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #27ae60;
  margin-bottom: 10px;
}

.stat-label {
  color: #7f8c8d;
  font-size: 0.9em;
}

.orders-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.orders-filters {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  margin-bottom: 30px;
  align-items: end;
}

.filter-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.orders-list {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
}

.order-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.order-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.order-id {
  font-size: 1.3em;
  font-weight: bold;
  color: #2c3e50;
}

.order-date {
  color: #7f8c8d;
  font-size: 0.9em;
}

.order-status {
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
}

.status-pending { background: #f39c12; color: white; }
.status-confirmed { background: #3498db; color: white; }
.status-shipped { background: #9b59b6; color: white; }
.status-delivered { background: #27ae60; color: white; }
.status-cancelled { background: #e74c3c; color: white; }

.order-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  margin-bottom: 20px;
}

.detail-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.detail-section h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.order-total {
  text-align: right;
  font-size: 1.4em;
  font-weight: bold;
  color: #27ae60;
  margin-bottom: 20px;
}

.order-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary { background: #3498db; color: white; }
.btn-success { background: #27ae60; color: white; }
.btn-warning { background: #f39c12; color: white; }
.btn-danger { background: #e74c3c; color: white; }
.btn-secondary { background: #95a5a6; color: white; }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* List View Styling */
.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.orders-table th {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 15px 12px;
  text-align: left;
  font-weight: bold;
  font-size: 0.9em;
}

.orders-table td {
  padding: 12px;
  border-bottom: 1px solid #ecf0f1;
  vertical-align: middle;
}

.orders-table tr:hover {
  background: #f8f9fa;
}

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

.table-order-id {
  font-weight: bold;
  color: #2c3e50;
}

.table-customer {
  font-size: 0.9em;
}

.table-customer strong {
  display: block;
  margin-bottom: 2px;
}

.table-customer small {
  color: #7f8c8d;
}

.table-items {
  font-size: 0.8em;
  max-width: 200px;
}

.table-items-count {
  font-weight: bold;
  color: #27ae60;
  margin-bottom: 5px;
}

.table-total {
  font-weight: bold;
  color: #27ae60;
  font-size: 1.1em;
}

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

.table-actions .btn {
  padding: 6px 10px;
  font-size: 0.8em;
  min-width: auto;
}

.view-hidden {
  display: none !important;
}

.orders-search-input {
  padding: 10px;
  border: 2px solid #bdc3c7;
  border-radius: 6px;
  flex: 1;
  min-width: 250px;
}

.orders-filter-select {
  padding: 10px;
  border: 2px solid #bdc3c7;
  border-radius: 6px;
}

.orders-count-text {
  color: #7f8c8d;
}

/* Orders Page Responsive Design */
@media (max-width: 768px) {
  .orders-filters {
    grid-template-columns: 1fr;
  }
  
  .order-details {
    grid-template-columns: 1fr;
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .order-actions {
    justify-content: stretch;
    flex-direction: column;
  }
  
  .orders-table {
    font-size: 0.8em;
  }
  
  .orders-table th,
  .orders-table td {
    padding: 8px 6px;
  }
  
  .table-actions {
    flex-direction: column;
  }
  
  .table-actions .btn {
    font-size: 0.7em;
    padding: 4px 8px;
  }
}

/* Simplified Admin Order Management Link */
.admin-orders-actions .admin-btn {
  font-size: 18px;
  padding: 15px 25px;
  text-decoration: none;
  display: inline-block;
}

.admin-access-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.info-modal.open {
  display: flex;
}
.info-modal-content {
  background: #222;
  border-radius: 12px;
  padding: 32px 24px;
  max-width: 350px;
  width: 90vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  text-align: center;
  position: relative;
  color: #f5f5f5;
  border: 2px solid #e63946;
}
.info-modal-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.info-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: #e63946;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
}
#itemInfoTitle {
  font-size: 1.3em;
  margin-bottom: 8px;
  color: #ffd700;
}
#itemInfoArtist {
  font-size: 1em;
  color: #f5f5f5;
  margin-bottom: 8px;
}
#itemInfoPrice {
  font-weight: bold;
  margin-bottom: 8px;
  color: #e63946;
}
#itemInfoDesc {
  font-size: 0.95em;
  color: #f5f5f5;
}

@media (max-width: 900px) {
  .admin-access {
    display: none !important;
  }
}
