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

html, body {
  height: 100%;
}


body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  background: linear-gradient(#ebe0ba, #e2d7a9);
  color: #3e2f2c;
}


.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 70px;
  padding: 0 40px;

  background: #29465b;
  border-bottom: 3px solid #55707f;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}


.search-bar {
  flex: 1;
  max-width: 520px;
  height: 44px;

  margin: 0 60px;

  border: 2px solid #55707f;
  border-radius: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f7eecf;

  color: #333;
  font-size: 14px;

  box-shadow: inset 0 3px 6px rgba(0,0,0,0.12);
}

.search-bar {
  display: flex;
  align-items: center;

  flex: 1;
  max-width: 550px;
  height: 45px;

  margin: 0 70px;

  border: 2px solid #55707f;
  border-radius: 30px;

  background: #f7eecf;

  overflow: hidden;
}

.search-bar input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 20px;

  font-size: 14px;
  background: transparent;
}

.search-bar button {
  height: 100%;
  padding: 0 20px;

  border: none;
  background: #29465b;
  color: #f7eecf;

  cursor: pointer;
  transition: background 0.2s ease;
}

.search-bar button:hover {
  background: #1f3544;
}

.settings {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #f7eecf;

  cursor: pointer;
  transition: opacity 0.2s ease;
}

.settings:hover {
  opacity: 0.75;
}


.container {
  display: flex;
  min-height: calc(100vh - 70px);
  padding: 30px 0 0 30px;
}


.sidebar {
  width: 280px;
  flex-shrink: 0;
  border-radius: 0 25px 25px 0;
  margin: 0 30px 30px 0; /* Added: Bottom margin for spacing */
  padding: 25px 0;
  background: #f7eecf;
  box-shadow: 4px 0 12px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  height: calc(100vh - 70px);
  overflow-y: auto;
}

.sidebar ul {
  list-style: none;
  width: 100%;
}

.sidebar li {
  margin-bottom: 8px;
}

.sidebar a {
  display: block;

  margin: 0 15px;
  padding: 14px 18px;

  border-radius: 12px;

  text-decoration: none;

  color: #2d2321;
  font-size: 18px;
  font-weight: 500;

  transition: all 0.25s ease;
}

.sidebar a:hover {
  background: #e0d8b7;
  transform: translateX(6px);
}


.content {
  flex: 1;
  padding: 50px 60px;
  background: #f7eecf;
  border-radius: 25px;
  margin: 0 30px 30px 0; /* Added: Bottom margin for spacing */
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  animation: fadeIn 0.6s ease-in;
}

.content h1 {
  font-size: 44px;
  margin-bottom: 25px;
  letter-spacing: 1px;
  font-weight: 600;
}

.content p {
  max-width: 700px;

  font-size: 18px;
  line-height: 1.8;

  margin-bottom: 18px;

  color: #3f2f2c;
}



.content img {
  margin-top: 25px;
}



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


.inventory-section {
  padding: 20px;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.item-card {
  text-align: center;
  text-decoration: none;
  color: black;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  transition: 0.2s;
  cursor: pointer;
}

.item-card:hover {
  transform: scale(1.03);
}

.item-card img {
  width: 100%;
  border-radius: 5px;
}


.sidebar-right {
  width: 220px;
  padding: 25px;
  border-left: 1px solid #c9be9a;
  flex-shrink: 0;
}

.sidebar-right ul {
  list-style: none;
  padding: 0;
}

.sidebar-right li {
  margin-bottom: 10px;
}

.sidebar-right a {
  text-decoration: none;
  color: black;
}


.request-form {
  max-width: 760px;
  margin-top: 20px;

  display: flex;
  flex-direction: column;
}


.request-form label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;

  margin-top: 28px;
  margin-bottom: 8px;

  color: #5a4a45;
}



.request-form input,
.request-form textarea,
.request-form select {
  padding: 14px 18px;

  border-radius: 14px;
  border: 1.5px solid #c9be9a;

  background: rgba(255,255,255,0.6);

  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;

  transition: all 0.25s ease;
}

.request-form input:focus,
.request-form textarea:focus,
.request-form select:focus {
  outline: none;
  border-color: #29465b;
  box-shadow: 0 0 0 3px rgba(41, 70, 91, 0.15);
}

.request-form textarea {
  min-height: 140px;
  resize: vertical;
}

.request-form input[type="file"] {
  padding: 12px;
  background: rgba(243, 236, 208, 0.6);
}


.request-form button {
  margin-top: 40px;
  padding: 15px;

  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  border-radius: 30px;
  border: none;

  background: linear-gradient(145deg, #29465b, #1f3544);
  color: #f7eecf;

  cursor: pointer;

  transition: all 0.3s ease;
}

.request-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* Admin inquiry reply styling */
.reply-form {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reply-textarea {
  padding: 12px 16px;
  border: 1.5px solid #c9be9a;
  border-radius: 12px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 15px;
  resize: vertical;
  min-height: 80px;
}

.reply-btn {
  align-self: flex-end;
  padding: 10px 20px;
  background: #29465b;
  color: #f7eecf;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.reply-btn:hover {
  background: #1f3544;
}

/* Inquiry Cards Styling */
.inquiry-card {
  background: rgba(247, 238, 207, 0.9);
  border: 2px solid #c9be9a;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.inquiry-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #c9be9a;
}

.inquiry-info h3 {
  margin: 0 0 5px 0;
  color: #29465b;
  font-size: 18px;
}

.inquiry-info .email {
  color: #3e2f2c;
  margin: 0 0 5px 0;
  font-size: 14px;
}

.inquiry-info .item {
  color: #5a4a45;
  margin: 0;
  font-size: 14px;
  font-style: italic;
}

.inquiry-status {
  text-align: right;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-badge.responded {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.status-badge.seen {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.delete-inquiry-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-inquiry-btn:hover {
  background: #c82333;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Claims Section Styling */
.claim-card {
  background: rgba(247, 238, 207, 0.9);
  border: 2px solid #c9be9a;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.claim-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.claim-header h3 {
  margin: 0 0 10px 0;
  color: #29465b;
  font-size: 18px;
}

.claim-header p {
  margin: 0 0 15px 0;
  color: #3e2f2c;
  font-size: 14px;
}

.claim-content p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.claim-content .claim-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.approve-claim-btn,
.deny-claim-btn {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-block;
}

.approve-claim-btn {
  background: #28a745;
  color: white;
}

.approve-claim-btn:hover {
  background: #218838;
  transform: translateY(-1px);
}

.deny-claim-btn {
  background: #dc3545;
  color: white;
}

.deny-claim-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
}

.inquiry-content {
  margin-top: 15px;
}

.inquiry-content .message {
  background: rgba(255, 255, 255, 0.7);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: 4px solid #29465b;
}

.response-section {
  background: rgba(41, 70, 91, 0.05);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #c9be9a;
}

.response-section .response {
  background: rgba(255, 255, 255, 0.8);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 3px solid #4CAF50;
}

.seen-checkbox {
  margin-top: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
}

.seen-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #3e2f2c;
}

.seen-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}



.thank-you-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 60px;
  margin-top: 40px;
}



.thank-you-text {
  flex: 1;
}

.thank-you-text h1 {
  font-size: 46px;
  color: #5a4a45;
  margin-bottom: 20px;
}

.thank-you-text p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 35px;
  color: #5a4a45;
}



.thank-you-text a {
  display: inline-block;

  padding: 14px 34px;

  border-radius: 30px;

  background: linear-gradient(145deg, #29465b, #1f3544);
  color: #f7eecf;

  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;

  text-decoration: none;

  transition: all 0.3s ease;
}

.thank-you-text a:hover {
  transform: translateY(-3px);
}


.thank-you-image {
  flex: 1;
  text-align: center;
}

.thank-you-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero-section {
  padding: 60px 80px;
  display: flex; /* Makes it a flexbox container */
  align-items: center; /* Vertically centers content */
  gap: 40px; /* Space between text and image */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.hero-text {
  flex: 1; /* allow text block to fill available space */
  display: flex;
  flex-direction: column; /* stack heading and paragraph vertically */
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #3e2f2f;
  /* removed flex: text wrapper handles layout */
  min-width: 300px; /* Prevents text from shrinking too much */
}

.hero-text p {
  max-width: 600px;
  line-height: 1.8;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 40px;
  color: #2d2321;
  /* removed flex: ensure paragraph is full width under heading */
  text-align: left;
  letter-spacing: 0.3px;
}

.hero-section img {
  margin-top: 25px;
  flex: 1; /* Makes image flexible */
  max-width: 100%; /* Responsive */
  height: auto; /* Maintains aspect ratio */
  border-radius: 10px; /* Optional: adds rounded corners */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

.hero-text {
  flex: 1; /* allow text block to fill available space */
  display: flex;
  flex-direction: column; /* stack heading and paragraph vertically */
}

.thank-you-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.thank-you-text p {
  font-size: 18px;
  margin-bottom: 30px;
}

.return-home {
  display: inline-block;
  margin-bottom: 50px;
  text-decoration: none;
  color: #3e2f2f;
  font-weight: bold;
}

.thankyou-image {
  display: block;
  margin: 0 auto;

  border: none;
  box-shadow: none;
  background: none;
}

/*  Inventory Section  */

.inventory-section {
  flex: 1;
  padding: 30px;
}
/* Page title */

.inventory-section h1 {
  font-size: 40px;
  margin-bottom: 20px;
}
/*  Search Bar  */

.inventory-section form {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.inventory-section input[type="text"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: 25px;
  border: 1px solid #c9be9a;
  font-size: 14px;
}

.inventory-section button {
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  background: #29465b;
  color: #f7eecf;
  cursor: pointer;
  font-weight: 500;
}

.inventory-section button:hover {
  background: #1f3544;
}


/* ===== Inventory Grid ===== */

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}


/* ===== Item Card ===== */

.item-card {
  text-decoration: none;
  color: #2d2321;
  background: #fffdf2;

  border-radius: 12px;
  border: 1px solid #e2d7a9;

  padding: 12px;

  text-align: center;

  transition: all 0.25s ease;

  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.item-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}


/* Item Image */

.item-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.item-card img:hover {
  transform: scale(1.05);
}


/* Item Name */

.item-card p {
  font-size: 16px;
  font-weight: 600;
}

/* Claimed Item Styling */
.claimed-item {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

.claimed-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc3545;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.claimed-item .item-card p {
  color: #666;
}

/* ===== Right Sidebar ===== */

.sidebar-right {
  width: 220px;
  padding: 25px;
  border-left: 1px solid #ddd;
}

.sidebar-right ul {
  list-style: none;
  padding: 0;
}

.sidebar-right li {
  margin-bottom: 12px;
}


/* Category Buttons */

.filter-btn {
  width: 100%;
  padding: 10px;

  border-radius: 8px;
  border: 1px solid #c9be9a;

  background: #f7eecf;

  cursor: pointer;
  font-size: 14px;

  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #e0d8b7;
  transform: translateX(4px);
}


/* ===== Responsive Layout ===== */

@media (max-width: 900px) {

  .container {
    flex-direction: column;
  }

  .sidebar-right {
    width: 100%;
    border-left: none;
    border-top: 1px solid #ccc;
    margin-top: 20px;
  }

}

/* Admin button styling */
.admin-btn {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #f7eecf;
  cursor: pointer;
  transition: opacity 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

.admin-btn:hover {
  opacity: 0.75;
}

/* ===== Item Popover/Modal ===== */

.item-popover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.popover-content {
  background: #f7eecf;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 2px solid #55707f;
  background: #29465b;
  color: #f7eecf;
  border-radius: 12px 12px 0 0;
}

.popover-header h2 {
  margin: 0;
  font-size: 24px;
}

.close-btn {
  font-size: 28px;
  cursor: pointer;
  color: #f7eecf;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: #e0d8b7;
}

.popover-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.item-image-large {
  text-align: center;
}

.item-image-large img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.label {
  font-weight: bold;
  color: #29465b;
  min-width: 120px;
  flex-shrink: 0;
}

.value {
  color: #3e2f2c;
  line-height: 1.4;
}

.popover-actions {
  padding: 20px 30px;
  border-top: 1px solid #ddd;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.popover-actions form {
  flex: 1;
  display: flex;
}

.btn-approve,
.btn-decline {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-approve {
  background: #4CAF50;
  color: white;
}

.btn-approve:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-decline {
  background: #f44336;
  color: white;
}

.btn-decline:hover {
  background: #da190b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Responsive popover */
@media (max-width: 768px) {
  .popover-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .popover-header {
    padding: 15px 20px;
  }

  .popover-body {
    padding: 20px;
  }

  .info-row {
    flex-direction: column;
    gap: 5px;
  }

  .label {
    min-width: auto;
  }

  .popover-actions {
    flex-direction: column;
    gap: 10px;
  }
}
/* ===== Admin Login Page ===== */

.admin-login-container {
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* moves login box higher */
  justify-content: center;
  padding-top: 120px; /* controls distance from top */
  padding-left: 20px;
  padding-right: 20px;
}

.login-wrapper {
  background: transparent; /* same color as page */
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  animation: fadeIn 0.6s ease-in;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* floating card effect */
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #29465b;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.login-header p {
  font-size: 16px;
  color: #3e2f2c;
  opacity: 0.8;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #3e2f2c;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  padding: 14px 18px;
  border: 2px solid #29465b;   /* outline color */
  border-radius: 12px;
  background: #f7eecf;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  color: #3e2f2c;
  transition: all 0.3s ease;
  text-align: center;
}

.form-control:focus {
  outline: none;
  border-color: #29465b;
  background-color: #f7eecf;
  box-shadow: 0 0 0 3px rgba(41, 70, 91, 0.15);
}

.form-control::placeholder {
  color: #9b8f72;
  text-align: center;
}

.error-message {
  background: #ffebee;
  border: 1px solid #f44336;
  color: #c62828;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

.login-btn {
  margin-top: 10px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(145deg, #29465b, #1f3544);
  color: #f7eecf;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(41, 70, 91, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

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

/* Responsive Admin Login */

@media (max-width: 480px) {
  .login-wrapper {
    padding: 30px 20px;
    max-width: 100%;
  }

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

  .form-control {
    padding: 12px 16px;
    font-size: 14px;
  }

  .login-btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}
/* ========================= */
/* ADMIN DASHBOARD */
/* ========================= */

body {
  font-family: Georgia, "Times New Roman", serif;
}

/* Page Title */

h1 {
  color: #29465b;
  margin-bottom: 10px;
}

p {
  color: #3e2f2c;
}

/* Section spacing */

.inventory-section,
.claims-section,
.inquiries-section {
  margin-top: 50px;
}

/* ========================= */
/* INVENTORY GRID */
/* ========================= */

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

/* Item Card */

.item-card {
  background: #f7eecf;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

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

/* Item Image */

.item-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

/* Item name */

.item-card p {
  padding: 12px;
  font-weight: 600;
  text-align: center;
}

/* ========================= */
/* CLAIM CARDS */
/* ========================= */

.claim-card {
  background: #f7eecf;
  padding: 20px;
  border-radius: 12px;
  margin-top: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.claim-header h3 {
  color: #29465b;
}

.claim-actions {
  margin-top: 15px;
}

.approve-claim-btn,
.deny-claim-btn {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-right: 10px;
}

.approve-claim-btn {
  background: #2e7d32;
  color: white;
}

.deny-claim-btn {
  background: #c62828;
  color: white;
}

/* ========================= */
/* INQUIRY CARDS */
/* ========================= */

.inquiry-card {
  background: #f7eecf;
  padding: 18px;
  border-radius: 12px;
  margin-top: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
}

.inquiry-info h3 {
  color: #29465b;
}

.email {
  font-size: 14px;
  color: #5d4f3c;
}

.item {
  font-size: 14px;
}

/* Status badges */

.status-badge {
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.status-badge.pending {
  background: #fbc02d;
  color: #333;
}

.status-badge.responded {
  background: #1976d2;
  color: white;
}

.status-badge.seen {
  background: #2e7d32;
  color: white;
}

/* ========================= */
/* REPLY FORM */
/* ========================= */

.reply-textarea {
  width: 100%;
  min-height: 80px;
  border-radius: 8px;
  border: 2px solid #29465b;
  padding: 10px;
  margin-top: 10px;
  font-family: Georgia;
}

.reply-btn {
  margin-top: 10px;
  background: #29465b;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
}

.reply-btn:hover {
  background: #1f3544;
}

/* ========================= */
/* DELETE BUTTON */
/* ========================= */

.delete-inquiry-btn {
  cursor: pointer;
  font-size: 18px;
  color: #c62828;
}

/* ========================= */
/* ITEM POPOVER */
/* ========================= */

.item-popover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

.popover-content {
  background: #f7eecf;
  width: 650px;
  max-width: 90%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Popover header */

.popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #29465b;
  color: white;
  padding: 15px;
}

.close-btn {
  cursor: pointer;
  font-size: 22px;
}

/* Popover body */

.popover-body {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.item-image-large img {
  width: 230px;
  border-radius: 10px;
}

.item-info {
  flex: 1;
}

.info-row {
  display: flex;
  margin-bottom: 8px;
}

.label {
  font-weight: bold;
  width: 140px;
}

/* Popover buttons */

.popover-actions {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  gap: 10px;
}

.btn-approve {
  background: #2e7d32;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.btn-decline {
  background: #c62828;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
}