body {
  background: #fbfdff;
  font-family: Arial, sans-serif;
}

.position-relative {
  position: relative;
}
.d-none {
  display: none !important;
}

.rental-duration-alert {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.rental-duration-alert--short-term {
  background: #fff8e6;
  border-color: #f5d27a;
  color: #7a5b00;
}

.rental-duration-alert--long-term {
  background: #eef5ff;
  border-color: #9ec5ff;
  color: #123a7a;
}

.booking-duration-error {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  font-size: 14px;
  line-height: 1.5;
}

/* Header */
.logo img {
  width: 60px;
  border-radius: 50%;
}

.round {
  border-radius: 20px;
}

#user-menu-toggle {
  padding: 5px;
  border-radius: 50%;

}
#user-menu-toggle:hover {
  padding: 5px;
  border-radius: 50%;
  background-color: #f1efef;
}

.user-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  width: 240px;
  padding: 8px 0 8px 8px;
  z-index: 2000;
  border: 1px solid #ddd;
}

.user-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.user-dropdown li {
  padding: 12px 16px;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  transition: background 0.2s;
}

.user-dropdown li i {
  margin-right: 15px;
  font-size: 15px;
}


.user-dropdown li:hover {
  background-color: #f7f7f7;
}


/* Search */
.search-bar {
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 50px;
  padding: 10px 8px 10px 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 500px;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.btn-search {
  background-color: #11223e;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex-shrink: 0;
}

.btn-search:hover {
  background-color: #1a345e;
  color: white;
}

#search-input {
  border: none;
  flex-grow: 1;
  padding: 0 15px;
  font-size: 16px;
  background: transparent;
}

#search-input::placeholder {
  font-size: 15px;
  color: rgb(184, 183, 183);
}
#search-input:focus, #search-input:active{
  outline: none;
  border: none;
  box-shadow: none;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important; /* Forces background to stay white */
  transition: background-color 5000s ease-in-out 0s;
}

@media (max-width: 576px) {
  .search-bar {
    padding: 8px;
    width: 100%;
  }

  .btn-search {
    width: 38px;
    height: 38px;
  }
}


/* Gallery Grid */
.grid-container {
  margin: 20px auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 10px;
  border-radius: 15px;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  filter: brightness(0.9);
}

.main-img {
  grid-row: 1 / 3;
}

.last-img-container {
  position: relative;
  height: 100%;
}

.last-img-container img {
  filter: brightness(0.55);
}
.last-img-container img:hover {
  filter: brightness(0.55);
}

/* Show All Photos */
.show-all {
  position: absolute;
  top: 50%;
  right: 35%;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 150px 150px;
  }
  .main-img {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .show-all {
    top: 50%;
    right: 30%;
    font-size: 10px;
  }
}

@media (max-width:992px) {
  .show-all {
    top: 50%;
    right: 30%;
    font-size: 10px;
  }
}

/* About */
.feature-pill {
  background-color: #f4f5f7;
}

.custom-shadow {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

/* Calender */
.calendar-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  background: white;
}

.calendar-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: white;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 8px;
}

.day-header {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.day-header.active-day {
  color: #111;
  font-weight: 700;
}

.calendar-day {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.day-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  color: #111;
  z-index: 2;
  cursor: pointer;
}

.day-muted .day-number {
  color: #d1d5db; 
}

.range-between {
  background-color: #eef2f6;
}

.range-start {
  background: linear-gradient(to right, transparent 50%, #eef2f6 50%);
}

.range-end {
  background: linear-gradient(to right, #eef2f6 50%, transparent 50%);
}

.range-start .day-number, 
.range-end .day-number {
  background-color: #0f1c35;
  color: white;
}


/* --- Gallery Grid --- */

.similar-gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 15px);
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.similar-gallery-grid::-webkit-scrollbar {
  display: none;
}

.property-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

/* Responsive slider adjustments */
@media (max-width: 991px) {
  .gallery-grid { grid-auto-columns: calc(33.333% - 14px); } /* 3 items */
}
@media (max-width: 767px) {
  .gallery-grid { grid-auto-columns: calc(50% - 10px); } /* 2 items */
}
@media (max-width: 575px) {
  .gallery-grid { grid-auto-columns: 85%; } /* 1.5 items peeking on mobile */
}

.image-card {
  background-image: url(/assets/images/downloads.jpg);
  background-size: cover;
  background-position: center;
  width: 100%;       
  height: 220px;    
  border-radius: 16px;
  position: relative;
}

.image-card .heart {
  color: #e7000b;
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.price {
  background-color: #11223e;
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 12px;
}

.rate {
  background-color: #FFFFFF;
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  align-items: center; 
  gap: 6px;            
  padding: 6px 12px;    
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rate span {
  font-size: 13px;
  color: #11223E;
  line-height: 1;     
}


.message-host-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.message-host-modal {
    width: min(760px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 32px;
}

    .message-host-modal h3 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 14px;
        color: #111827;
    }

    .message-host-modal textarea {
        width: 100%;
        min-height: 260px;
        border: 0;
        outline: 0;
        resize: none;
        background: #f1f3f5;
        border-radius: 10px;
        padding: 22px;
        font-size: 18px;
        color: #111827;
    }

.message-host-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 26px;
}

.btn-cancel-message,
.btn-send-message {
    height: 64px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 18px;
}

.btn-cancel-message {
    background: #fff;
    border: 1px solid #d9dde3;
    color: #11223e;
}

.btn-send-message {
    background: #11223e;
    border: 1px solid #11223e;
    color: #fff;
}

    .btn-send-message:disabled {
        opacity: .7;
    }

.message-host-error {
    margin-top: 10px;
    color: #b42318;
    font-size: 14px;
}









.full-image-modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 0;
    position: relative;
}

/* Wrapper ���� ������ �� ���� ������ */
.full-image-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center; /* ����� */
    justify-content: center; /* ���� */
    padding: 20px;
}

/* ������ ����� */
.full-image-preview {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* ���� X */
.full-image-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    z-index: 10;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ������ */
.full-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    z-index: 10;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.full-image-prev {
    left: 20px;
}

.full-image-next {
    right: 20px;
}
.full-image-modal-content {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}






.about-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.about-description {
    color: #334155;
    font-size: 15px;
    line-height: 2.1;
    margin-bottom: 12px;
    max-width: 100%;
    text-align: start;
    white-space: pre-line;
    word-spacing: 1px;
}

    .about-description.rtl {
        direction: rtl;
        text-align: right;
    }

.read-more-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: #111827;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

    .read-more-btn:focus {
        outline: none;
        box-shadow: none;
    }