

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--light-text-primary, #110b08);
  overflow-x: hidden;

  background: transparent;
  background-size: 400% 400%;
  animation: gradientMove 18s ease infinite, pageFade 0.8s ease;
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


.bg-pattern {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(#f1c9a5 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.12;
  z-index: -1;
}


#confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  animation: fall linear forwards;
}

@keyframes fall {
  from { transform: translateY(-10vh) rotate(0deg); }
  to   { transform: translateY(110vh) rotate(720deg); }
}








































@keyframes floatFood {
  0%   { transform: translateY(0)     translateX(0)    rotate(0deg); }
  50%  { transform: translateY(-40px) translateX(25px) rotate(180deg); }
  100% { transform: translateY(0)     translateX(0)    rotate(360deg); }
}



.page-header {
  text-align: center;
  padding: 30px 20px 0;
  position: relative;
  z-index: 2;
}


.back-btn {
  height: 46px;
  padding: 0 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(47, 122, 79, 0.15);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  font-family: 'Fredoka', cursive;
  font-size: 16px;
  font-weight: 600;
  color: #2f7a4f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-btn:hover {
  transform: translateX(-5px) scale(1.05);
  background: white;
  box-shadow: 0 12px 35px rgba(47, 122, 79, 0.2);
}

.back-btn:hover {
  transform: translateX(-5px) scale(1.05);
  background: white;
  box-shadow: 0 12px 35px rgba(47, 122, 79, 0.2);
}

.page-header h1 {
  font-family: 'Fredoka', cursive;
  font-size: 44px;
  margin-top: 0;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.header-emoji {
  display: inline-block;
  animation: emojiWave 2.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
  
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

@keyframes emojiWave {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-10deg) scale(1.1); }
  75% { transform: rotate(10deg) scale(1.1); }
}

.page-header .subtitle {
  font-size: 16px;
  color: var(--light-accent, #c0651a);
  margin-bottom: 0;
}



.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px 60px;
  position: relative;
  z-index: 2;
}

form {
  width: 100%;
  max-width: 1300px;
}


.step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 10px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(90,61,43,0.15);
  transition: all 0.3s ease;
}

.step-dot.active {
  width: 32px;
  border-radius: 10px;
  background: transparent;
}



.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 16px;
}

@media (max-width: 1000px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}



.form-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 36px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.35s ease, box-shadow 0.35s ease;

  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

@media (hover: hover) and (pointer: fine) {
  .form-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 16px 48px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.8),
      0 0 0 1px rgba(47,122,79,0.08);
  }
}


.card-title {
  font-family: 'Fredoka', cursive;
  font-size: 20px;
  color: #2f7a4f;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: transparent;
  border-radius: 2px;
  margin-left: 8px;
}



.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  animation: fieldSlideIn 0.5s ease backwards;
}

.field:nth-child(1) { animation-delay: 0.05s; }
.field:nth-child(2) { animation-delay: 0.1s; }
.field:nth-child(3) { animation-delay: 0.15s; }
.field:nth-child(4) { animation-delay: 0.2s; }
.field:nth-child(5) { animation-delay: 0.25s; }
.field:nth-child(6) { animation-delay: 0.3s; }
.field:nth-child(7) { animation-delay: 0.35s; }
.field:nth-child(8) { animation-delay: 0.4s; }
.field:nth-child(9) { animation-delay: 0.45s; }

@keyframes fieldSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--light-text-primary, #110b08);
  letter-spacing: 0.3px;
}

input, textarea, select {
  padding: 14px 18px;
  border-radius: 16px;
  border: 1.5px solid rgba(90, 61, 43, 0.08);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: rgba(255,255,255,0.8);
  color: var(--light-text-primary, #110b08);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #5fbf8f;
  background: white;
  box-shadow:
    0 0 0 4px rgba(47, 122, 79, 0.08),
    0 4px 14px rgba(47, 122, 79, 0.06);
}

input::placeholder, textarea::placeholder {
  color: #bfa48f;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a3d2b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

input, textarea, select {
  width: 100%;
  max-width: 100%;
}

textarea {
  resize: none;
  height: 80px;
  line-height: 1.5;
}


.expire-row {
  display: flex;
  gap: 10px;
}

.expire-row input {
  flex: 1;
}

.hint {
  font-size: 12px;
  margin-top: 6px;
  color: var(--light-accent, #c0651a);
  opacity: 0.7;
}



.loc-btn {
  width: fit-content;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  font-family: 'Fredoka', cursive;
  font-size: 15px;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #2f7a4f, #5fbf8f);
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
  box-shadow: 0 8px 25px rgba(47,122,79,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
}

.loc-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.4s;
}

.loc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(47,122,79,0.4);
}

.loc-btn:hover::after {
  opacity: 1;
}


#map {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  margin-top: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: none; 
}


.upload-area {
  position: relative;
  border: 2px dashed rgba(47,122,79,0.25);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.4);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.upload-area:hover {
  border-color: #5fbf8f;
  background: rgba(47,122,79,0.04);
}

.upload-area.has-image {
  border-style: solid;
  border-color: rgba(47,122,79,0.3);
  padding: 8px;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.upload-area .upload-icon {
  font-size: 36px;
  margin-bottom: 4px;
}

.upload-area .upload-text {
  font-size: 14px;
  color: var(--light-accent, #c0651a);
}

.upload-area .upload-text span {
  color: #2f7a4f;
  font-weight: 600;
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  border: none;
  box-shadow: none;
  padding: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}


.upload-preview {
  display: none;
  max-width: 100%;
  max-height: 280px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: imageReveal 0.4s ease;
}

@keyframes imageReveal {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}



.post-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 380px;
  max-width: 90%;
  margin: 40px auto 0;
  padding: 18px 32px;
  border-radius: 50px;
  border: none;
  font-family: 'Fredoka', cursive;
  font-size: 20px;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
  color: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 28px rgba(47, 122, 79, 0.35),
    0 2px 6px rgba(47, 122, 79, 0.2);
  transition: all 0.35s ease;
}

.post-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.post-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 16px 40px rgba(47,122,79,0.4),
    0 4px 12px rgba(47,122,79,0.25);
  background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
}

.post-btn:hover::after {
  opacity: 1;
}

.post-btn:active {
  transform: translateY(-1px) scale(0.98);
}


.post-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.post-btn .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.post-btn.loading .spinner {
  display: inline-block;
}

.post-btn.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}



.success {
  display: none;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: successFade 0.6s ease;
}

@keyframes successFade {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.success::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,230,199,0.6), rgba(255,247,237,0.3));
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 3s ease infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.08); opacity: 0.8; }
}

.success h1 {
  font-family: 'Fredoka', cursive;
  font-size: 48px;
  color: #2f7a4f;
  letter-spacing: 1px;
  margin-bottom: 10px;
  animation: popIn 0.5s ease;
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.status {
  font-size: 18px;
  margin-bottom: 15px;
}

.status span {
  background: #e9f8ef;
  padding: 6px 16px;
  border-radius: 20px;
  color: #2f7a4f;
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  color: white;
  font-family: 'Fredoka', cursive;
  letter-spacing: 0.5px;
  margin: 10px 0 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  animation: badgePop 0.4s ease;
}

@keyframes badgePop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.heart {
  font-size: 70px;
  margin: 25px 0;
  animation: heartbeat 1.2s infinite;
}

@keyframes heartbeat {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.12); }
  50%  { transform: scale(1); }
  75%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.expiry {
  font-size: 18px;
  margin-top: 5px;
  font-weight: 500;
}

#expiryTimer {
  color: #e67e22;
  font-weight: 600;
}

.thanks {
  font-family: 'Fredoka', cursive;
  font-size: 24px;
  line-height: 1.5;
  margin-top: 10px;
  color: var(--light-text-primary, #110b08);
}

.redirect-text {
  margin-top: 20px;
  font-size: 16px;
  color: #7a4f3a;
}

#countdown {
  font-weight: 700;
  color: #2f7a4f;
}



.form-card::-webkit-scrollbar {
  width: 8px;
}

.form-card::-webkit-scrollbar-track {
  background: rgba(47,122,79,0.05);
  border-radius: 10px;
  margin: 16px 0;
}

.form-card::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
}

.form-card::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.form-card {
  scrollbar-width: thin;
  scrollbar-color: #5fbf8f rgba(47,122,79,0.05);
}


::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #fff7ec;
}

::-webkit-scrollbar-thumb {
  background: #ffd6a5;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffc078;
}



@media (max-width: 1000px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-card {
    max-height: none;
    padding: 28px 24px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .post-btn {
    width: 100%;
    font-size: 18px;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .page-header { padding: 20px 15px 0; }
  .page-header h1 { font-size: 28px; }
  .page-header .back-btn { top: 20px; left: 15px; width: 40px; height: 40px; }
  .form-card { padding: 24px 18px; border-radius: 20px; height: auto !important; }
  .card-title { font-size: 18px; }
  .success::before { width: 280px !important; height: 280px !important; }
  .success h1 { font-size: 32px !important; }
  .thanks { font-size: 18px !important; }

  .loc-btn {
    width: 100%;
    justify-content: center;
  }

  .upload-area {
    min-height: 140px;
    padding: 20px 14px;
  }

  #map {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-header h1 { font-size: 24px; }
  .form-card { padding: 18px 12px; border-radius: 18px; }
  .card-title { font-size: 16px; }

  label {
    font-size: 13px;
  }

  input, textarea, select {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 14px;
  }

  select {
    padding-right: 36px;
    background-position: right 12px center;
  }

  .loc-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .post-btn {
    font-size: 16px;
    padding: 14px;
    margin-top: 24px !important;
  }

  .upload-area {
    min-height: 120px;
    padding: 16px 10px;
  }

  .upload-preview {
    max-height: 180px;
  }

  .location-section {
    padding: 12px;
  }

  .saved-addresses-grid {
    max-height: 180px;
  }

  .addr-mini-card {
    padding: 10px 12px;
  }
}


.location-section {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.3);
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    color: #2f7a4f;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.location-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.location-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1.5px;
    background: transparent;
}

.location-divider span {
    position: relative;
    background: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    color: var(--light-accent, #c0651a);
    border: 1px solid rgba(90, 61, 43, 0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


.saved-addresses-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 8px;
}

.addr-mini-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 14px 18px;
    border-radius: 16px;
    border: 1.5px solid rgba(90, 61, 43, 0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.addr-mini-card:hover {
    transform: translateX(4px);
    background: #fff;
    border-color: #5fbf8f;
    box-shadow: 0 4px 15px rgba(47, 122, 79, 0.1);
}

.addr-mini-card.selected {
    background: #f0faf4;
    border-color: #2f7a4f;
    box-shadow: 0 6px 20px rgba(47, 122, 79, 0.15);
}

.addr-label {
    font-weight: 700;
    font-size: 14px;
    color: #2f7a4f;
    margin-bottom: 4px;
}

.addr-text {
    font-size: 12px;
    color: var(--light-accent, #c0651a);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.loading-addresses, .no-addresses {
    font-size: 13px;
    color: var(--light-accent, #c0651a);
    font-style: italic;
    padding: 10px;
}


body.dark .page-header h1 { color: #D4AF37 !important; }
body.dark .page-header .subtitle { color: #e0d0a0 !important; }
body.dark .form-card { 
    background: rgba(23, 23, 23, 0.85) !important; 
    border-color: rgba(212, 175, 55, 0.2) !important; 
}
body.dark .card-title { color: #D4AF37 !important; }
body.dark label { color: #e0d0a0 !important; }
body.dark input, body.dark textarea, body.dark select {
    background: #111 !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
    color: #f1e5ac !important;
}
body.dark .location-section {
    background: rgba(30, 30, 30, 0.5) !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
}

body.dark .section-label {
    color: #D4AF37 !important;
}

body.dark .location-divider span {
    background: #1a1a1a !important;
    color: #e0d0a0 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

body.dark .addr-mini-card {
    background: rgba(45, 45, 45, 0.8) !important;
    border-color: rgba(212, 175, 55, 0.1) !important;
}

body.dark .addr-mini-card:hover {
    background: rgba(55, 55, 55, 0.95) !important;
    border-color: #D4AF37 !important;
}

body.dark .addr-mini-card.selected {
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: #D4AF37 !important;
}

body.dark .addr-label {
    color: #FFD700 !important;
}

body.dark .addr-text {
    color: #e0d0a0 !important;
}

@media (max-width: 768px) {
  .page-header .back-btn {
    left: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
  }

  .form-card {
    padding: 24px 18px;
    height: auto !important;
  }

  .page-header h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .page-header .back-btn {
    left: 12px;
    top: 12px;
  }

  .form-card {
    padding: 18px 12px;
  }

  .page-header h1 {
    font-size: 24px;
  }
}


.nav-left {
  position: fixed;
  top: 25px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 5000;
}

.nav-right {
  position: fixed;
  top: 25px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 5000;
}

.listings-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1.5px solid rgba(47, 122, 79, 0.15);
  border-radius: 50px;
  font-family: 'Fredoka', cursive;
  font-size: 15px;
  font-weight: 600;
  color: #2f7a4f;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.listings-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: white;
  box-shadow: 0 12px 35px rgba(47, 122, 79, 0.2);
  color: #1a5c37;
}

.listings-btn .btn-icon {
  font-size: 18px;
}


.account-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

.account-menu:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.account-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-info span {
  font-weight: 600;
  color: var(--light-text-primary, #110b08);
  font-size: 14px;
}

.account-info img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #2f7a4f;
}

/* Account dropdown menu */
.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 16px;
  display: none;
  z-index: 9999;
}

.account-dropdown.active {
  display: block;
  animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 8px;
}

.menu-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #2f7a4f;
}

.user-meta span {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--light-text-primary, #110b08);
}

.user-meta small {
  font-size: 12px;
  color: var(--light-accent, #c0651a);
}

.menu-item {
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--light-text-primary, #110b08);
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: rgba(47, 122, 79, 0.06);
}

.account-dropdown .logout-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 12px;
  background: rgba(231, 76, 60, 0.08);
  color: #e74c3c;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.account-dropdown .logout-btn:hover {
  background: rgba(231, 76, 60, 0.15);
}

body.dark .listings-btn, 
body.dark .account-menu {
  background: rgba(23, 23, 23, 0.85) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
  color: #D4AF37 !important;
}

body.dark .account-info span {
  color: #e0d0a0 !important;
}

body.dark .account-dropdown {
  background: rgba(30, 30, 30, 0.95) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
}

body.dark .menu-header {
  border-bottom-color: rgba(255,255,255,0.08);
}

body.dark .user-meta span {
  color: #e0d0a0 !important;
}

body.dark .user-meta small {
  color: #aaa !important;
}

body.dark .menu-item {
  color: #e0d0a0 !important;
}

body.dark .menu-item:hover {
  background: rgba(212, 175, 55, 0.1) !important;
}

/* Mobile nav adjustments */
@media (max-width: 768px) {
  .nav-left {
    top: 12px !important;
    left: 12px !important;
  }

  .nav-right {
    top: 12px !important;
    right: 12px !important;
    gap: 10px !important;
  }

  .listings-btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }

  .listings-btn .btn-text {
    display: none;
  }

  .back-btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
    height: auto !important;
  }

  .account-menu {
    padding: 6px 12px !important;
  }

  .account-info span {
    display: none;
  }

  .account-info img {
    width: 28px;
    height: 28px;
  }

  .account-dropdown {
    min-width: 220px;
    right: -10px;
  }
}

@media (max-width: 480px) {
  .nav-left {
    top: 10px !important;
    left: 10px !important;
  }

  .nav-right {
    top: 10px !important;
    right: 10px !important;
    gap: 8px !important;
  }

  .back-btn {
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .listings-btn {
    height: 38px !important;
    padding: 0 10px !important;
  }

  .account-menu {
    padding: 5px 10px !important;
  }

  .account-dropdown {
    min-width: 200px;
    padding: 12px !important;
  }
}

/* Hide number input spinners for quantity, price, mrp */
input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type="number"] {
  -moz-appearance: textfield;
}
