/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
/* @import "simple_calendar"; */
/* @import "tailwindcss"; */

body {

  font-family: "Work Sans", sans-serif;
}

.logo{
  width: 120px;
  /* height: 100px; */
}
.heading {
  font-size: 24px;
  font-weight: 500;
}

.rentam-content-wrapper {
  padding: 18px;
  background: none;
}
.vendor-form-wrapper {
  padding: 18px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  width: fit-content;
  form {
    padding: 10px;
    input, select {
      width: 100%;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      background-color: rgba(255, 191, 244, 0.258);
      padding: 8px;
      border-radius: 12px;
      margin: 10px 0px;
    }

    textarea {
      background-color: rgba(255, 191, 244, 0.258);
      margin: 10px 0px;
      height: 150px;
      width: 100%;
    }
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.05);  padding: 18px;

  .tabs-toggle {
    /* width: 60%; */
    display: flex;
    padding: 10px;
    justify-content: space-between;
  }

  .toggle-option {
    padding: 10px;
    
  }
}

.center-tabs-toggle {
  width: 100%;
  padding: 10px 0px;
  display: flex;
  justify-content: center;
}

/* RENTAL CARD */
.rental {
  /* margin: 40px 10px; */
  padding: 24px;
  background: #FBFBFB;;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  font-family: system-ui, -apple-system, sans-serif;
}

/* LABELS */
.rental label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

/* INPUT WRAPPER SPACING */
.rental .mb-4 {
  margin-bottom: 16px;
}

/* INPUT FIELDS */
.rental input[type="date"],
.rental input[type="number"],
.rental input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s ease;
}

/* FOCUS STATE */
.rental input:focus {
  outline: none;
  border-color: #250603;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* BUTTON */
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #250603;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

/* BUTTON HOVER */
.submit-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

/* BUTTON CLICK */
.submit-btn:active {
  transform: scale(0.98);
}

.cart {
margin: 18px 0px;
  padding: 18px;
  background: white;
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.05);  
}

.checkout-btn {
  width: 100% !important;
  padding: 10px;
  background: black;
  color: #F6F6F6;
  text-align: center;
  border-radius: 12px;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: white;
  border: 1px solid #f1f5f9;
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 8px 24px rgba(0,0,0,.05);
  margin-bottom: 16px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.899);
  color: #F6F6F6;
border: none;
  cursor: pointer;
}

.quantity {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

.cart-item-remove-btn {
  background: rgba(255, 0, 0, 0.149);
  padding: 5px;
  border-radius: 12px;
  margin-top: 10px;
}

.cart-item-image {
  width: 100px;
  height: 100px;
}

/* IMAGE */
.product-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;

}

.product-image img {
  width: 100%;
  border-radius: 12px;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* CONTENT */
.product-content {
  width: 100%;
  padding-top: 5px;
  border: none;
}

/* HEADER */
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.product-title h1 {
  font-size: 21px;
  font-weight: 500;
  margin: 0;
}

#product_tabs {
  width: 100%;
  /* height: 70vh; */
  display: block;
}



/* PRICE */
.product-price {
  text-align: right;
}

.price, .item-price{
  font-size: 19px;
  font-weight: 700;
  color: #E14C1F  ;
}



.per-day {
  font-size: 13px;
  color: #71717a;
}

/* DESCRIPTION */
/* .product-description {
  margin-top: 28px;
} */
 .product-loco-wrapper {
    /* background-color: red; */
    padding: 5px 0px;
    display: flex;
    align-items: center;
    img {
      margin-right: 5px;
      width: 15px;
    }
    .location {
      color: #6D6D6D;
    }
 }
.product-description {

  h3 {
    font-weight: 500;
    font-size: 14px;

    }
  p {
    font-size: 14px;
    font-weight: normal;
  }
  /* margin-bottom: 8px; */
}

.product-description p {
  color: #52525b;
  line-height: 1.6;
}

/* META */
.product-meta {
  /* display: flex;
  justify-content: space-between;
  flex-wrap: wrap; */
  margin-top: 8px;
  
}
.meta-item {
  margin-right: 8px;
  display: flex;
  align-items: center;
    padding-bottom: 10px;

 
}

.meta-item .label {
  display: block;
  color: #250603;
  font-size: 13px;
  font-weight: 500;
}

.meta-item .value {
  font-size: 13px;
  margin-left: 18px;
  color: #6D6D6D;
  /* text-decoration: underline; */
  /* color: #a1a1aa; */
}

/* BUTTON */
.btn-primary {
  display: block;
  width: 100%;
  background: #250603;
  color: #fafafa;

  padding: 8px 18px;
  border-radius: 50px;
  text-align: center;
  margin-top: 18px;
  transition: 0.2s;

}

/* .btn-primary:hover {
  background: #250603;
  color: #fafafa;
} */
.image-upload label{
  border: 1px solid #E14C1F;
  display: flex;
 
  width: 100%;
  padding: 18px;
  border-radius: 12px;

  img {
    margin-right: 8px;
  }
}
/* ACTION LINKS */
.actions {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
    padding-bottom: 8px;

}

.actions a {
  color: #52525b;
  text-decoration: none;
}

.actions a:hover {
  text-decoration: underline;
}

/* container */
.tabs-toggle {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  
}


/* options */
.toggle-option {
  padding: 10px ;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #71717a;
  transition: all 0.2s ease;
  h3 {
    /* font-weight: 400; */
    font-size: 9px;
  }
}

/* active state */
.toggle-option.active {
  background: #FFE6DE ;
    color: #250603;

  /* color: white; */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
}

.toggle-option.active img {
  opacity: 1;
  filter: brightness(0) invert(1);
}
/* hover */
.toggle-option:hover {
  color: #250603;
}

/* RENTAL FORM */
.rental {
  /* margin-top: 40px; */
  padding: 20px;
  border-top: 1px solid #eee;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #71717a;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  outline: none;
}

.form-group input:focus {
  border-color: #250603;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* SUBMIT */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: #250603;
  color: white;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-submit:hover {
  background: #000;
}

/* CALENDAR */

.simple-calendar {
  background: white;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #eee;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.simple-calendar table {
  width: 100%;
  border-collapse: collapse;
}

.simple-calendar th,
.simple-calendar td {
  border: 1px solid #f1f5f9;
  padding: 10px;
  text-align: center;
}

.calendar-day {
  font-size: 12px;
}

.event {
  margin-top: 4px;
  font-size: 11px;
  background: #1D9B84;
  color: white;
  padding: 2px 6px;
  border-radius: 6px;
}

.per-day {
  color: #E14C1F ;
}
.rentals-page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
}
.heading {
  text-align: center;
}
/* LIST */

.rentals-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rental-row {
  display: flex;
  align-items: center;
  gap: 20px;

  background: white;
  padding: 18px;
  border-radius: 20px;

  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 8px 24px rgba(0,0,0,.05);
}

.rental-image {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f4f4f5;
}

.rental-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-content {
  flex: 1;
}

.rental-content h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.rental-meta {
  display: flex;
  gap: 20px;
  color: #71717a;
  font-size: 14px;
}

.rental-status {
  min-width: 120px;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.status-pill.pending {
  background: #fef3c7;
}

.status-pill.confirmed {
  background: #dcfce7;
}

.status-pill.active {
  background: #dbeafe;
}

.status-pill.completed {
  background: #e4e4e7;
}

.status-pill.cancelled {
  background: #fee2e2;
}

.btn-view {
  text-decoration: none;
  background: #250603;
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.rental-show {
  max-width: 900px;
  margin: 40px auto;
}

.rental-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    0 1px 2px rgba(0,0,0,.05),
    0 12px 32px rgba(0,0,0,.05);
}

.rental-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.rental-header h1 {
  margin: 0;
}

.status-badge {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.status-badge.pending {
  background: #fef3c7;
}

.status-badge.confirmed {
  background: #dcfce7;
}

.status-badge.cancelled {
  background: #fee2e2;
}

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

.rental-product img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.product-details h2 {
  margin-top: 0;
}

.earnings {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.stat-card {
  background: white;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.stat-card h2 {
  font-size: 14px;
  color: #71717a;
}

.stat-card p {
  font-size: 28px;
  font-weight: 700;
}

.earnings-list {
  background: white;
  padding: 20px;
  border-radius: 24px;
}

.earn-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f4f4f5;
}

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


.requests {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.request-card {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 20px;
  border-radius: 12px;
  background: #FBFBFB;;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

  transition: transform 0.15s ease, box-shadow 0.15s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }

  .left {
    display: flex;
    flex-direction: column;
    gap: 6px;

    h3 {
      margin: 0;
      font-size: 16px;
      font-weight: 600;
      color: #250603;
    }

    p {
      margin: 0;
      font-size: 13px;
      color: #666;
    }

    .user {
      font-size: 12px;
      color: #888;
    }
  }

  .right {
    display: flex;
    align-items: center;
    gap: 10px;

    .status {
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      text-transform: capitalize;

      &.pending {
        background: #fff4d6;
        color: #b26a00;
      }

      &.accepted {
        background: #e6f7ed;
        color: #E14C1F;
      }

      &.declined {
        background: #ffe6e6;
        color: #c62828;
      }
    }

    form {
      display: inline-block;
    }

    .btn-accept,
    .btn-decline {
      padding: 6px 10px;
      border-radius: 8px;
      border: none;
      font-size: 12px;
      cursor: pointer;
      transition: opacity 0.15s ease;
    }

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

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

    .btn-accept:hover,
    .btn-decline:hover {
      opacity: 0.85;
    }
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  padding: 20px;
}

.product-card {
  /* background: #FBFBFB; */
  /* border: 1px solid #e9e9e9; */
  border-radius: 14px;
  padding: 16px;

  display: flex;
  flex-wrap: wrap;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); */
  transition: all 0.2s ease;

  p:nth-of-type(2),
  p:nth-of-type(3) {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f7f7f7;
    font-size: 12px;
    color: #444;
  }

  p:nth-of-type(3) {
    background: #eef7ff;
    color: #1e6fb8;
    font-weight: 600;
  }
}

.stat {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f6f6f6;
  font-size: 12px;

  .label {
    color: #777;
  }

  .value {
    font-weight: 600;
    color: #250603;
  }
}

.mobile-nav-wrapper {
 display: none;
}

.profile-tabs-toggle-wrapper {
  padding: 10px 0px;
  overflow-x: scroll;
    .toggle-option {
      margin-right: 5px;
      width: fit-content ;
    }
}

 #items-categories-wrapper, #notity-wrapper {
    .tabs-toggle {
      background: none;
      border: none;
    }
    .toggle-option {
      display: flex;
      justify-content: center;
      align-items: center;
      width: fit-content;
      padding: 5px 10px;
      text-align: center;
      font-size: 9px;
    }
  }

.index-items-wrapper {
  display: flex;
  justify-content: space-between;
  height: 100vh;
  overflow-y: scroll;
}

.item-ratings {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  color: #333;
  .rating-price {
    font-size: 14px;
    color: #E14C1F;
    font-weight: 600;
  }
}
.item-card {
  width: 180px;
  border-radius: 12px;
  margin: 0px 8px;
  height: fit-content;
}
.item-image {
  height: 240px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.item-card-details {
  padding: 10px;
}

.add-item-btn {
  background-color: #250603;
  padding: 10px 18px;
  border-radius: 12px;
  color: #fafafa;
  text-align: center;

}
.item-title {
  font-weight:500;
}

.item-location {
  font-weight: 300;
  font-size: 14px;
}

.messages-links-wrapper {
  width: 100%;
}

.messages-links {
  display: flex;
  /* background-color: red; */
  width: 100%;
  padding: 10px;
  margin: 10px;

  a {
  display: inline-block;
  width: fit-content;
  background: #e14c1f37;
  padding: 10px ;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  border-radius: 50px;
  margin-right: 18px;
  }

}



@media (max-width: 768px) {

    .simple-calendar {
    overflow-x: auto
  }

  .simple-calendar table {
    min-width: 700px;
  }
}

@media (max-width: 520px) {
   .rental {
    position: fixed;
    bottom: 105px;
    width: 90%;
    z-index: 10;
    padding: 0;
    left: 50%;
    background: none;
    transform: translateX(-50%);

      border: none;
    form {
      display: flex;

      input {
        width: 50%;
        margin: 2px;
      }
      #date_range{
        border: 1px solid #E14C1F;
      }
    }
  }
  .review-form-card { 
    margin: 0 10px;
  }
  .add-item-btn {
    width: 100%;
  }
  #product_tabs {

    padding: 0px 10px;
  }
  /* .center-tabs-toggle {
    .tabs-toggle {
      position: fixed;
      background-color: #F6F6F6;
      z-index: 333;
      bottom: 120px;
      padding: 8px;
    }
    .toggle-option {
      border-radius: 50px;
    }
  } */

  .logo {
    display: none;
  }

  #main-nav {
    display: none;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 222;
    background: transparent;
    .tabs-toggle {
      padding: 0;
    }
  }

  .mobile-nav-wrapper {
     display: block;
    position: fixed;
    width: 95%;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 222;
    padding: 10px;
    border-radius: 50px;
    background: #FFE6DE;
    .tabs-toggle {
      width: 100%;

      justify-content: space-between;
    }

    img {
      height: 18px;
    }
    .toggle-option.active {
      background-color: #E14C1F;
      color: #fafafa;
    }
  }
  .tabs-toggle {
    gap: 0;
  }

  .rental-row, .rental-product {
    flex-wrap: wrap;
  }

  .rental-product img, .product-details  {
    width: 100%;
  }

  .rental-meta {
    font-size: 8px;
  }

  .btn-view, .status-pill.confirmed, .status-pill.pending, .status-pill.cancelled{
    font-weight: 500;
    padding: 3px 10px;
    font-size: 10px;
  }

  .rental-status {
    min-width: auto;
  }

  .rentals-page {
    padding: 0;
    margin: 0;
  }

  .product-card {
   align-items: center;
   padding: 0;
  }

  .products-grid {
    grid-template-columns: auto;
    padding: 0;

  }

  .product-image {
    width: 100%;
    padding: 0;
    height: 54vh !important;
  }

  .product-content {
    width: 100%;
    padding: 10px;
  }

  .request-card {
    flex-wrap: wrap;
    .right {
      margin-top: 10px;
    }
  }

  .requests {
    padding: 0;
    height: 100vh;
    overflow-y: scroll;
  }

  .simple-calendar nav {
    display: flex;
    justify-content: space-between !important;
    padding: 10px;
  }

  .stats-grid {
    grid-template-columns:auto;
  }
  .index-items-wrapper {
    flex-wrap: wrap;
    height: auto;
  }
  .item-card {
    width: 48%;
    height: fit-content;
    margin: 5px 2px !important;

  }

 .search-form {
  /* flex-wrap: wrap;
  display: block; */
  input {
    width: 100%;
  }
 }
}














.rentals-grid {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.rental-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  padding: 16px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
}

.rental-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;

  h3 {
    margin: 0;
    font-size: 16px;
  }
}

.rental-details {
  p {
    margin: 6px 0;
    color: #555;
    font-size: 14px;
  }
}

.status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;

  &.pending {
    background: #fff3cd;
    color: #856404;
  }

  &.confirmed {
    background: #d4edda;
    color: #155724;
  }

  &.cancelled {
    background: #f8d7da;
    color: #721c24;
  }
}


#app-loader {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.app-logo {
  width: 140px;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

#notifications-nav-links {
  .toggle-option {
    /* width: 200px;; */
    border-radius: 99px;
    text-align: center;
    padding: 8px;
    color: #250603;
    /* background-color: #FFE6DE; */
  }
  .toggle-option{
    display: flex;
  
  }
  .toggle-option.active {
    background-color: #E14C1F ;
    color: #fafafa;
  }
}

.notification {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  transition: 0.2s ease;
  border: 1px solid #eee;
}

.notification:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.notification.unread {
  border-left: 4px solid #E14C1F;
  background: #FFE6DE;
}

.notification-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.notification-content {
  display: flex;
  gap: 12px;
  align-items: start;
}

/* IMAGE */
.notification-image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eee;
}

.no-image {
  width: 60px;
  height: 60px;
  background: #f1f1f1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #888;
}

/* TEXT */
.notification-text {
  flex: 1;
}

.product-title {
  font-size: 14px;
  /* font-weight: 600; */
  margin: 0;
  color: #250603;
}

.seller-name {
  font-size: 12px;
  color: #666;
  margin: 2px 0;
}

.message {
  font-size: 16px;
  color: #333;font-weight: 600;
  /* margin: 4px 0; */
}

.time {
  font-size: 11px;
  color: #999;
}


.conversation-row {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px;
  margin-bottom: 10px;

  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;

  text-decoration: none;
  color: inherit;

  transition: all .2s ease;
}

.conversation-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.conversation-avatar {
  flex-shrink: 0;
}

.conversation-image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.conversation-placeholder {
  width: 64px;
  height: 64px;

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

  background: #f5f5f5;
  border-radius: 12px;

  font-size: 24px;
}

.conversation-content {
  flex: 1;
  min-width: 0;
}

.conversation-title {
  font-size: 16px;
  font-weight: 600;
  color: #250603;

  margin-bottom: 4px;
}

.conversation-user {
  color: #777;
  font-size: 14px;
}

.conversation-arrow {
  color: #999;
  font-size: 18px;
}

.chat-page {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
}

.chat-topbar {
  padding: 18px 24px;
  border-bottom: 1px solid #eee;
  background: #fff;
  display: flex;
  align-items: center;
  img {
    border-radius: 50px;
    height: 40px;
    width: 40px;
    object-fit: cover;
    margin-right: 18px;

  }
}

.chat-topbar h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.chat-topbar span {
  color: #777;
  font-size: 14px;
}

.messages-container {
  padding: 20px;
  min-height: 500px;
  max-height: 65vh;
  overflow-y: auto;
  background: #F6F6F6;
}

.message-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.message-row.mine {
  align-items: flex-end;
}

.message-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 18px;
  background: #FBFBFB;;
  border: 1px solid #ececec;
  word-break: break-word;
}

.message-row.mine .message-bubble {
  background: #2563eb;
  color: white;
  border: none;
}

.message-time {
  margin-top: 4px;
  font-size: 12px;
  color: #888;
}

.chat-input-area {
  border-top: 1px solid #eee;
  padding: 16px;
  background: white;
}

.chat-form {
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 24px;
  outline: none;
  font-size: 14px;
}

.chat-input:focus {
  border-color: #2563eb;
}

.send-btn {
  border: none;
  padding: 0 24px;
  border-radius: 24px;
  background: #2563eb;
  color: white;
  cursor: pointer;
  font-weight: 600;
}

.send-btn:hover {
  opacity: .9;
}



.messages-container {
  padding: 24px;
  background: #f8fafc;
}

.message-row {
  display: flex;
  margin-bottom: 18px;
}

.message-row.mine {
  justify-content: flex-end;
}

.message-bubble-wrapper {
  max-width: 70%;
}

.message-bubble {
  position: relative;

  padding: 12px 16px;
  border-radius: 18px;

  background: white;
  color: #250603;

  font-size: 15px;
  line-height: 1.5;

  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  word-break: break-word;
}

/* My messages */
.message-row.mine .message-bubble {
  background: #FFE6DE !important;
  color: #250603;
  border-bottom-right-radius: 6px;
}

/* Other user messages */
.message-row:not(.mine) .message-bubble {
  border-bottom-left-radius: 6px;
}

.message-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
  padding: 0 4px;
}

.message-row.mine .message-meta {
  text-align: right;
}



.airbnb-search-bar {
width: 100%;
  background: white;
  border-radius: 999px;
  padding: 10px;
  /* text-align: center; */
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.search-form {
  display: flex;
  /* background-color: red; */
  align-items: center;
}

.search-section {
  display: flex;
  flex-direction: column;
  padding: 6px;
  width: 100px;

}

.search-section label {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 2px;
}

.search-section input {
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.search-divider {
  width: 1px;
  height: 40px;
  background: #eee;
}

.search-btn {
  margin-left: auto;
  border: none;
  background: #250603;
  color: white;
  /* width: 38px; */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  padding: 10px;
}

.product-rating-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  /* margin: 12px 0 24px; */
  font-size: 12px;
  color: #666;
}

.rating-star {
  font-size: 18px;
}

.rating-score {
  font-weight: 700;
  color: #250603;
}

.rating-count {
  color: #666;
}

.reviews-section {
  margin: 32px 0px;
  display: flex;
  width: 100%;
  /* flex-wrap: wrap; */
  overflow-x: scroll;
  h3 {
    width: 100%;
  }
}

.reviews-section h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.review-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  margin-right: 3px; 
   display: flex; 
  flex-wrap: wrap;
  /* align-items: start;  */
  min-width: 250px;
  max-width: 300px;
  height: 100px;
  overflow: hidden;
  /* scroll-behavior: none; */

}

.review-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  /* align-items: center; */
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fdeeb1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  padding: 8px;
}

.review-user {
  font-weight: 600;
  font-size: 13px;
}

.review-date {
  font-size: 8px;
  color: #888;
}

.review-stars {
  display: flex;
  font-size: 14px;
  font-weight: 600;
}

.review-comment {
  line-height: 1.6;
  color: #444;
  width: 100%;
  margin: 0;
  padding-top: 10px;
}

.review-form-card {
  margin-top: 32px;
  background: white;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
}

.review-form-card h3 {
  margin-bottom: 16px;
}

.field {
  margin-bottom: 16px;
}

.review-select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

.review-textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 12px;
  resize: vertical;
}

.review-submit-btn {
  background: #fdeeb1;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
}

/* 
.view-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}

.toggle-btn {
  border: none;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.toggle-btn.active {
  background: #000;
  color: #fff;
}

.products-map {
  height: calc(100vh - 200px);
  border-radius: 20px;
  overflow: hidden;
}

.hidden {
  display: none;
}
.hidden {
  display: none;
}

.products-map {
  width: 100%;
  height: 80vh;
  border-radius: 20px;
  overflow: hidden;
}

.view-toggle {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  gap: 10px;
}

.toggle-btn {
  border: none;
  background: #222;
  color: white;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.toggle-btn:hover {
  opacity: .9;
} */
.map-container {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(159, 54, 54);
}

#map {
  width: 100%;
  height: 100vh;
}

.hidden {
  visibility: hidden;
  position: absolute;
  height: 0;
  overflow: hidden;
}
/* 
.map-view-btn {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
}

.map-view-btn button {
  background: #222;
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
} */
