/* ===== VARIABLES ===== */
:root {
  --saffron: #e8821a;
  --saffron-dark: #c4650e;
  --gold: #d4a017;
  --cream: #fdf6e3;
  --cream-dark: #f5e6c8;
  --brown: #5c3317;
  --brown-light: #8b5e3c;
  --text: #2d1b0e;
  --text-light: #7a5c42;
  --white: #ffffff;
  --red: #c0392b;
  --shadow: 0 4px 20px rgba(92, 51, 23, 0.12);
  --radius: 16px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Lato", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(92, 51, 23, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
}
.nav-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--saffron);
}
.btn-nav {
  background: var(--saffron);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.hburger-menu {
  display: none;
}
.btn-nav:hover {
  background: var(--saffron-dark) !important;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--saffron);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}
.btn-primary:hover {
  background: var(--saffron-dark);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--saffron);
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--saffron);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--saffron);
  color: var(--white);
}
.btn-small {
  display: inline-block;
  background: var(--saffron);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.btn-small:hover {
  background: var(--saffron-dark);
}
.btn-danger {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-danger:hover {
  opacity: 0.85;
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ===== SECTION LABEL ===== */
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 4rem 4rem;
  background: linear-gradient(135deg, #fff8ee 0%, #fdf0d5 60%, #fae3b0 100%);
  overflow: hidden;
}
.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 1.5rem;
}
.hero-title span {
  color: var(--saffron);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-decor {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}
.c1 {
  width: 420px;
  height: 420px;
  background: var(--gold);
  top: -210px;
  right: -60px;
}
.c2 {
  width: 280px;
  height: 280px;
  background: var(--saffron);
  top: -80px;
  right: 80px;
  opacity: 0.2;
}
.c3 {
  width: 160px;
  height: 160px;
  background: var(--cream-dark);
  top: 60px;
  right: 20px;
  opacity: 0.6;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 4rem 4rem;
  background: var(--white);
}
.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--cream-dark);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
@media (max-width: 600px) {
  .features {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 1rem;
    padding: 2rem 2rem;
  }
  .feature-card {
    padding: 1rem 0.75rem;
    text-align: center;
    border: 1px solid var(--cream-dark);

    margin-bottom: 1rem;
    transition:
      transform 0.2s,
      box-shadow 0.2s;
  }
}
.feat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== ABOUT ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 4rem;
  background: var(--cream);
}
.about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--brown);
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
}
.about-text .btn-primary {
  margin-top: 1rem;
}

.about-image {
  display: flex;
  justify-content: center;
}
.about-img-box {
  position: relative;
  width: 300px;
  height: 300px;
}
.about-img-decor {
  position: absolute;
  inset: 0;
  background: var(--saffron);
  border-radius: 50%;
  opacity: 0.15;
  transform: scale(1.15);
}
.about-img-inner {
  position: absolute;
  inset: 0;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  border: 4px solid var(--gold);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--brown) 0%,
    var(--saffron-dark) 100%
  );
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}
.cta-banner h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--saffron-dark);
}
@media (max-width: 600px) {
  .cta-banner {
    padding: 2.5rem 1rem;
  }
  .cta-banner h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
}
.cta-banner .btn-primary:hover {
  background: var(--cream);
}

/* ===== PRODUCTS PAGE ===== */
.products-page {
  padding: 4rem;
}
.products-header {
  text-align: center;
  margin-bottom: 3rem;
}
.products-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--brown);
}
.products-sub {
  color: var(--text-light);
  margin-top: 0.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(92, 51, 23, 0.18);
}

.product-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--saffron);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-info {
  padding: 1.25rem;
}
.product-name {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.product-desc {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--saffron);
}

.products-add-btn {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 1rem;
  }
  .product-img-wrap {
    height: 160px;
  }
  .product-info {
    padding: 1rem;
  }
}
/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-light);
}
.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.empty-state h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.empty-state p {
  margin-bottom: 1.5rem;
}

/* ===== SHOW PAGE ===== */
.show-page {
  padding: 4rem;
}
.show-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.show-image {
  position: relative;
}
.show-image img {
  width: 100%;
  height: 400px;
  margin: 1.5rem;
  border-radius: 1rem;
  object-fit: cover;
}

.big-badge {
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
}
.show-details {
  padding: 2.5rem 2.5rem 2.5rem 0;
}
.back-link {
  color: var(--saffron);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  text-decoration: underline;
}
.show-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--brown);
  margin-bottom: 0.75rem;
}
.show-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 1.5rem;
}
.show-price span {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}
.show-desc {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.show-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .show-container {
    gap: 0;
  }
  .show-image img {
    height: 250px;
    margin: 0.5rem;
    border-radius: 0.5rem;
  }
  /* .show-details {
    padding: 2rem 2.5rem 2.5rem 0;
  } */
  .back-link {
    display: none;
  }
  .show-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  .show-price {
    font-size: 1.5rem;

    margin-bottom: 1.2rem;
  }
  .show-price span {
    font-size: 0.8rem;
  }
  .show-desc {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
  }
}
/* ===== FORM PAGE ===== */
.form-page {
  padding: 4rem;
  display: flex;
  justify-content: center;
}
.form-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow);
}
.form-container h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 2rem;
}
.sweet-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-weight: 700;
  color: var(--brown);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
}
.form-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: 3rem 2rem;
}
.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.footer-tagline {
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
  .nav-brand {
    display: none;
  }
  .hero {
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  .hero-decor {
    display: none;
  }
  .features {
    padding: 3rem 1.5rem;
  }
  .about {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }
  .about-image {
    display: none;
  }
  .products-page {
    padding: 2rem 1.5rem;
  }
  .show-page {
    padding: 2rem 1.5rem;
  }
  .show-container {
    grid-template-columns: 1fr;
  }
  .show-details {
    padding: 1.5rem;
  }
  .form-page {
    padding: 2rem 1.5rem;
  }
  .form-container {
    padding: 2rem;
  }
}

/* ===== ORDER SECTION (on show page) ===== */
.order-section {
  background: var(--cream);
  padding: 4rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .order-section {
    background: var(--cream);
    width: 100%;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
  }
}
.order-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow);
}
.order-form-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.order-sub {
  color: var(--text-light);
  margin-bottom: 2rem;
}
.total-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  color: var(--brown);
}
.total-display strong {
  color: var(--saffron);
  font-size: 1.3rem;
}

/* ===== ORDER SUCCESS PAGE ===== */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--cream);
}
.success-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
}
.success-icon {
  width: 72px;
  height: 72px;
  background: #27ae60;
  color: white;
  border-radius: 50%;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-box h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 0.75rem;
}
.success-msg {
  color: var(--text-light);
  margin-bottom: 2rem;
}
.order-summary {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.95rem;
}
.summary-row:last-child {
  border-bottom: none;
}
.summary-row span {
  color: var(--text-light);
}
.success-note {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.success-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== STATUS BADGES ===== */
.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-confirmed {
  background: #d1ecf1;
  color: #0c5460;
}
.status-out-for-delivery {
  background: #cce5ff;
  color: #004085;
}
.status-delivered {
  background: #d4edda;
  color: #155724;
}
.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

/* ===== DASHBOARD ===== */
.dashboard-page {
  padding: 4rem;
}
@media (max-width: 600px) {
  .dashboard-page {
    padding: 1rem;
  }
}
.dashboard-header {
  text-align: center;
  margin-bottom: 3rem;
}
.dashboard-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--brown);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--saffron);
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--saffron);
}
.stat-label {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-weight: 600;
}
.orders-table-wrap {
  overflow-x: auto;
}
.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.orders-table th {
  background: var(--brown);
  color: var(--cream);
  padding: 1rem;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.orders-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text);
  font-size: 0.9rem;
  vertical-align: top;
}
.orders-table td small {
  color: var(--text-light);
  font-size: 0.8rem;
}
.orders-table tr:last-child td {
  border-bottom: none;
}
.orders-table tr:hover td {
  background: var(--cream);
}
.status-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.status-select {
  padding: 0.35rem 0.6rem;
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  font-size: 0.8rem;
  background: var(--cream);
  color: var(--text);
  cursor: pointer;
}
@media (max-width: 600px) {
  /* Table layout ko block me badalna taaki cards ban sakein */
  .orders-table,
  .orders-table thead,
  .orders-table tbody,
  .orders-table th,
  .orders-table td,
  .orders-table tr {
    display: block;
  }

  /* Table headers ko chupa dena */
  .orders-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  /* Har row ko ek Card ka look dena */
  .orders-table tr {
    border: 1px solid var(--cream-dark);
    margin-bottom: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow);
  }

  /* Har cell (column) ko design karna aur flex box lagana */
  .orders-table td {
    border: none;
    border-bottom: 1px dashed var(--cream-dark);
    position: relative;
    padding: 0.75rem 0;
    padding-left: 45%; /* Left side me labels ke liye jagah chhodna */
    font-size: 0.88rem;
    text-align: right; /* Content right side me dikhega */
  }

  .orders-table td:last-child {
    border-bottom: none; /* Last cell se border hatana */
  }

  /* CSS Pseudo-element se labels generate karna */
  .orders-table td::before {
    position: absolute;
    top: 0.75rem;
    left: 0;
    width: 40%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: 700;
    color: var(--brown);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }

  /* CSS ke zariye data label set karna (Aapke EJS columns ke sequence ke hisab se) */
  .orders-table td:nth-of-type(1)::before {
    content: "Order #";
  }
  .orders-table td:nth-of-type(2)::before {
    content: "Customer";
  }
  .orders-table td:nth-of-type(3)::before {
    content: "Phone";
  }
  .orders-table td:nth-of-type(4)::before {
    content: "Product";
  }
  .orders-table td:nth-of-type(5)::before {
    content: "Qty (KG)";
  }
  .orders-table td:nth-of-type(6)::before {
    content: "Total";
  }
  .orders-table td:nth-of-type(7)::before {
    content: "Status";
  }
  .orders-table td:nth-of-type(8)::before {
    content: "Date";
  }
  .orders-table td:nth-of-type(9)::before {
    content: "Action";
  }

  /* Mobile par Customer block text ko right side align karna */
  .orders-table td small {
    display: block;
    text-align: right;
  }

  /* Form aur Buttons ko responsive banana */
  .status-form {
    justify-content: flex-end;
    width: 100%;
  }
  .status-select {
    width: auto;
    max-width: 130px;
  }
}
/* ===== ALERT ===== */
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* ===== FLASH MESSAGES ===== */
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease;
  z-index: 999;
}
.flash-success {
  background: #d4edda;
  color: #155724;
  border-bottom: 3px solid #28a745;
}
.flash-error {
  background: #f8d7da;
  color: #721c24;
  border-bottom: 3px solid #dc3545;
}
.flash button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  padding: 0 0.5rem;
}
.flash button:hover {
  opacity: 1;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== IMAGE UPLOAD ===== */
.upload-box {
  position: relative;
  border: 2px dashed var(--saffron);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  transition: border-color 0.2s;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-box:hover {
  border-color: var(--saffron-dark);
  background: var(--cream-dark);
}
.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.upload-placeholder {
  text-align: center;
  padding: 2rem;
  pointer-events: none;
}
.upload-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.upload-placeholder p {
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.upload-placeholder span {
  color: var(--text-light);
  font-size: 0.82rem;
}
.image-preview {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.upload-note {
  color: var(--text-light);
  font-size: 0.82rem;
  margin-top: 0.4rem;
}

#hburger-menu {
  display: none;
}
/* ===== MOBILE NAVBAR MEDIA QUERY ===== */
@media (max-width: 600px) {
  .navbar {
    padding: 1rem; /* Choti screens par padding kam karne ke liye */
  }

  .nav-logo .nav-brand {
    display: block;
    font-size: 1rem;
  }

  #hburger-menu {
    display: block !important;
    cursor: pointer;
    z-index: 101;
  }

  /* Nav links ko dropdown/overlay banana */
  .nav-links {
    display: none; /* By default chupa rahega */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Navbar ke theek niche se shuru hoga */
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(92, 51, 23, 0.1);
    gap: 1.5rem;
    text-align: center;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-links li:has(#hburger-menu) {
    display: none;
  }
}
