@font-face { 
  font-family: 'Lexend-Light'; 
  src: url('fonts/Lexend-Light.ttf') format('truetype'); 
  font-weight: normal; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Lexend-Regular'; 
  src: url('fonts/Lexend-Regular.ttf') format('truetype'); 
  font-weight: normal; 
  font-style: normal; 
}

.wf{
  width: 100%;
}
.fb{
  font-weight: bold;
}

*{ 
  font-family: 'Lexend-Light', sans-serif; 
  box-sizing: border-box; 
}
body { 
  margin: 0; 
  background: #f7f7f7; 
  /* color: #333;  */
}
input, button, select {
  font-family: 'Lexend-Light', sans-serif;
}
.container {
   max-width: 1250px;
   margin: 0 auto;
   padding: 0 1rem;
}

/* ===================
    HEADER
======================*/
header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 0rem 2rem;
  height: 4.6rem;
  background: #084c61; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.5); 
  position: sticky; 
  top: 0;
  z-index: 9999;
}
.logo { 
  font-size: 1.5rem; 
  font-weight: bold; 
  margin-left: 1rem;
}
.logo a { 
  font-family: 'Lexend-Regular', sans-serif; 
  color: white; 
  text-decoration: none; 
}
.nav-links { 
  display: flex; 
  gap: 1.5rem; 
  align-items: center; 
  color: white; 
  margin-right: 1rem; 
  position: relative; 
}
.profile-header{
  border: none;
  border-radius: 20px;
  padding: 5px 10px;
  display: flex;
  gap: 10px;
  cursor: pointer;
}
.profile-header img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.p-letter{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    color: #555;
    font-size: 25px;
    font-weight: bold;
}
.p-name h5{
  margin: 0;
  padding: 0;
  font-size: 15px;
}
.p-name p{
  font-size: 12px;
}
.menu-wrapper i {
  color: white;
}
.nav-links p {
  margin: 0;
  font-weight: 500;
}
.btn-signup { 
  color: white; 
  text-decoration: none; 
  font-weight: bold; 
  cursor: pointer; 
  transition: transform .2s ease; 
}
.btn-signup:hover { 
  transform: scale(1.1); 
}
.btn-login { 
  color: #084c61; 
  padding: 0.6rem 1.2rem; 
  background: rgba(255,255,255,0.9); 
  border-radius: 8px; 
  font-weight: bold; 
  cursor: pointer; 
  transition: transform 0.5s ease; 
  text-decoration: none; 
}
.btn-login:hover { 
  background: white; 
  transform: scale(1.05); 
}
.nav-links i { 
  font-size: 20px; 
  margin-left: 1rem; 
  cursor: pointer; 
}

/* Dropdown Menu */
.dropdown-menu { 
  display: flex; 
  position: absolute; 
  top: 45px; 
  right: -28px; 
  background: white; 
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  flex-direction: column;
  min-width: 200px;
  max-height: 0;
  z-index: 100;
  opacity: 0;
  padding: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease-out;
}
.dropdown-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  max-height: fit-content;
  padding: 0;
}
.dropdown-menu a {
  padding: 12px 18px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
  font-size: 0.95rem;
}
.dropdown-menu a strong {
  color: #084c61;
}
.dropdown-menu a:hover {
  background: #dcdcdcff;
}
.menu-wrapper {
    position: relative; /* Set this as the reference point */
    display: flex;
    align-items: center;
}
/* Re-target the icon inside the wrapper */
.menu-wrapper i { 
    font-size: 20px; 
    /* Remove the margin-left: 1rem from nav-links i */
    margin-left: 1rem; 
    cursor: pointer; 
}
.notification-dot {
    position: absolute;
    top: -2px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: #ff5050;
    border-radius: 50%;
    border: 2px solid #084c61;
}
  
/* Search bar */
.search-bar { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 2rem auto;
  max-width: 800px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.booking-date, .guest { 
  display: flex; 
  flex-direction: column; 
  position: relative; 
  flex: 1; 
  min-width: 180px; 
 }
/* Booking date adjustments to accommodate dropdown */
.booking-date {
  flex: 1.5; /* Give slightly more space to date picker */
}

/* Inputs */ 
.booking-date #bookingdates { 
  width: 100%; 
  padding: 1.2rem; 
  border: none; 
  border-right: 1px solid #eee;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  border-radius: 30px 0 0 30px;
  background: #fff;
  cursor: pointer;
}
.guest #guest { 
  flex: 1; 
  width: 100%; 
  padding: 1.2rem; 
  border: none;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  background: #fff; 
  border-radius: 0 30px 30px 0;
  cursor: pointer;
}
#bookingdates:focus,
#guest:focus {
  outline: none;
  box-shadow: none;
}   
.search-btn { 
  position: absolute; 
  bottom: 10px; 
  right: 10px; 
  background: #084c61e8; 
  color: white; 
  border: none; 
  border-radius: 8px; 
  padding: 0.7rem 0.9rem; 
  cursor: pointer; 
  z-index: 10;
  transition: background-color 0.3s;
}
.search-btn:hover {
    background: #084c61;
}
.search-btn i { 
  font-size: 18px; 
}

/* ========================================
    Dropdowns (Date & Guest) Shared Styles
======================================== */

.guest-dropdown, .date-dropdown {
  position: absolute;
  top: 105%;
  left: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 20;
  /* overflow: hidden; */
}

.guest-dropdown { width: 100%; }

/* Date dropdown needs to be wider to fit 2 months */
.date-dropdown { 
    width: auto; 
    min-width: 100%;
}

.guest-dropdown.show, .date-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Flatpickr Inline Customization */
.flatpickr-calendar.inline {
    border: none !important;
    box-shadow: none !important;
    margin: 0 auto;
    border-radius: 10px 10px 0 0 !important;
}

/* Selected days */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #084c61 !important;
  border-color: transparent !important;
  color: white !important;
}
.flatpickr-day.startRange {
  border-radius: 10px 0 0 10px !important;
}
.flatpickr-day.endRange {
  border-radius: 0 10px 10px 0 !important;
}
.flatpickr-day.today {
  border-radius: 10px !important;
}

/* Month and Year text */
.flatpickr-months,
.flatpickr-month,
.flatpickr-current-month {
  font-family: 'Lexend-Regular', sans-serif !important; 
  font-size: 16px !important; 
  color: #084c61 !important;  
  font-weight: 600;
}
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: #084c61 !important;
}

/* Guest Controls */
.guest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  min-width: 250px;
}
.guest-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-minus, .btn-plus {
  background: #084c61;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-minus:hover, .btn-plus:hover {
  background: #0a6f8a;
}

/* Done Button (Shared) */
.btn-done {
  width: 100%;
  border: none;
  background: #084c61;
  color: white;
  font-family: 'Lexend-Regular';
  font-weight: bold;
  border-radius: 0 0 10px 10px; /* Rounded only at bottom */
  padding: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-done:hover {
  background: #0a6f8a;
}

/* ========================================
   No Homestay Message
======================================== */
.no-homestay {
  text-align: center;
  padding: 60px 20px;
  color: #444;
  grid-column: span 4;
}

.no-homestay h3 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.no-homestay p {
  font-size: 1rem;
  color: #777;
}

/* ========================================
   Homestay Room Listings (Cards)
======================================== */
.view-photo-overlay{
  z-index: 99999;
}
.photo-box{
  height: 74vh;
  overflow-y: auto;
}
.photo-modal-grid {
  max-width: 1200px;
  margin: 0 auto;
  columns: 1;
  column-gap: 10px;
}
.photo-modal-grid img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    display: block;
}

.close-btn { 
  position: absolute; 
  top: 0.5rem; 
  right: 0.8rem; 
  font-size: 1.8rem; 
  font-weight: bold; 
  color: #999; 
  text-decoration: none; 
  transition: color 0.2s ease; 
}
.close-btn:hover { 
  color: #FF5A5F;
}

/* ========================================
   Homestay Room Listings (Cards)
======================================== */
.room-container {
  max-width: 1250px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
}

.room-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: 0.25s ease;
}

.room-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.room-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.room-details {
  padding: 1rem;
}

.room-details h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.room-details a {
  text-decoration: none;
}

.room-price {
  font-size: 1rem;
  font-weight: 600;
  color: #084c61;
  margin: 0.3rem 0;
}

.room-location {
  font-size: 0.9rem;
  color: #555;
}

.room-location i {
  margin-right: 5px;
  color: #084c61;
}

.room-rating {
  font-size: 0.9rem;
  margin-top: 5px;
}

.no-rating {
  color: #888;
}

.rating-value {
  color: #ffa600;
  font-weight: 600;
}
.price-book-wrapper {
    display: flex;
    justify-content: space-between; /* push price to left, button to right */
    align-items: center; /* vertically align */
    margin-top: 8px; /* optional spacing */
    gap: 10px; /* space between price and button if needed */
}

.price-book-wrapper .room-price {
    margin: 0; /* remove extra margin */
    font-size: 1rem;
    font-weight: 600;
    color: #084c61;
}

/* Fixed height for name/title with ellipsis */
.room-details h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: -webkit-box;      /* For multi-line ellipsis */
  -webkit-line-clamp: 2;     /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3rem;       /* Adjust line height if needed */
  height: 2.6rem;        /* line-height * lines */
}

/* Book Now button styling */
.book-btn {
    color: white;
    background: #084c61;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}
.book-btn:hover {
    background: #0a6f8a;
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========================================
   Homestay.php
======================================== */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}
.title {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.back-btn{
  position: absolute;
  left: -60px;
  top: 3px;
  font-size: 25px;
  color: black;
}
.title h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.title .actions {
    display: flex;
    gap: 15px;
}

.title .action-button {
    background: none;
    border: none;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.title .action-button:hover {
    background-color: #eee;
}

.title .action-button i {
    font-size: 16px;
}

.image-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 180px);
    gap: 10px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.image-gallery .main-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.image-gallery .secondary-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    grid-column: 2 / 4;
}

.image-gallery .secondary-images img {
    border-radius: 8px;
}

.image-gallery .show-all-photos {
    position: relative;
    cursor: pointer;
}

.image-gallery .show-all-photos img {
    filter: brightness(0.6);
}

.image-gallery .show-all-photos span {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 2;
}

.sidebar {
    flex: 1;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
    position: sticky;
    top: 90px;
}

.listing-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.host-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.host-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.host-details {
    display: flex;
    flex-direction: column;
}

.host-details .name {
    font-weight: 600;
    color: #333;
}

.host-details .rating {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.host-details .rating i {
    color: #ffc107;
    margin-right: 5px;
}
.description-section{
  display: flex;
  flex-wrap: wrap;
}
.homestay-detail, .policy-box{
  flex: 1;
}
.description-section h3, .amenities-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.description-section p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}
.map-box {
flex: 1;
}

#map {
width: 100%;
height: 250px;
border-radius: 5px;
}

.show-more-button {
    background: none;
    border: none;
    color: #007bff;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 15px;
    border-radius: 25px;
    background-color: #edf6ff;
    border: 2px solid #007bff;
    padding: 10px;
    width: fit-content;
}

.amenity-item i {
    color: #007bff;
    font-size: 18px;
    width: 20px;
}

.sidebar .price {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.sidebar .price span {
    font-size: 18px;
    font-weight: 400;
    color: #777;
}
.booking-detail {
    /* margin-bottom: 20px; */
    overflow: hidden;
    padding: 20px;
    width: 100%;
}
.booking-details {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.booking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s;
}

.booking-row:last-child {
    border-bottom: none;
}

.booking-row:hover {
    background-color: #f9f9f9;
}

.booking-row label {
    font-size: 13px;
    color: #777;
    margin-bottom: 3px;
}

.booking-row .value {
    font-weight: 500;
    color: #333;
}

.booking-row .input-group {
    display: flex;
    flex-direction: column;
}

.booking-row .input-group select {
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 20px;
    cursor: pointer;
    text-align: right;
    outline: none;
}

.booking-row .input-group i {
    margin-left: 5px;
    color: #777;
}

.book-button {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.book-button:hover {
    background-color: #0056b3;
}

.charge-message {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    .sidebar {
        position: static;
        margin-top: 30px;
    }
    .image-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .image-gallery .main-image {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    .image-gallery .secondary-images {
        grid-column: 1 / 2;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    .header h1 {
        font-size: 24px;
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header .logo {
        font-size: 24px;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .header .actions {
        width: 100%;
        justify-content: space-between;
        gap: 5px;
    }
    .header .action-button {
        padding: 5px 8px;
        font-size: 12px;
    }
    .listing-title {
        font-size: 20px;
    }
    .sidebar .price {
        font-size: 24px;
    }
    header .welcome-text {
        font-size: 14px;
    }
}

/* --- STYLES UNTUK JADUAL PERBANDINGAN --- */
.comparison-container h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 25px;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #dee2e6;
    padding: 16px;
    vertical-align: top;
    text-align: left;
}

.comparison-table thead th {
    text-align: center;
    width: 25%;
}

.comparison-table thead th:first-child {
    text-align: left;
    font-size: 1.2em;
    vertical-align: bottom;
    background-color: #f8f9fa;
}

.comparison-table thead h3 {
    margin: 10px 0 0 0;
    font-size: 1.1em;
    font-weight: 600;
}
.image-placeholder {
  width: 100%;
  height: 150px;
  aspect-ratio: 16 / 9;
}
/* .image-placeholder {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} */
.image-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.comparison-table tbody td:first-child {
    font-weight: bold;
    background-color: #f8f9fa;
    width: 15%;
    text-align: left;
}

.comparison-table tbody td {
      text-align: center;
}

.review-cell {
    text-align: left;
}

.review-stars {
    font-size: 1.1em;
    color: #f59e0b;
    margin-bottom: 8px;
}

.review-stars span {
    font-weight: bold;
    color: #333;
    margin-left: 5px;
}

.review-cell strong {
    display: block;
    margin-bottom: 5px;
}

.review-cell p {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}
/*=====================
   MODAL & PROFILE
=====================*/
.modal-overlay{
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(2px);
  z-index: 9999;
}
.modal-content {
  position: relative; 
  background: white; 
  border-radius: 10px; 
  width: 500px;
  max-height: 95vh;
  text-align: center; 
  box-shadow: 0px 0px 10px rgba(0,0,0, 0.3); 
}
.modal-content.status {
  position: relative; 
  background: white; 
  border-radius: 10px; 
  width: 370px;
  text-align: center; 
  box-shadow: 0px 0px 10px rgba(0,0,0, 0.3); 
}
.modal-header { 
  font-size: 25px; 
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 0px; 
  display: flex;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: white;
  background-color: #084c61;
}
.modal-title{
  font-weight: bold;
}
.modal-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  border: 1px solid #084c61;
  border-radius: 5px;
  padding: 6px 10px;
  color: #084c61;
  background-color: white;
  font-size: 15px;
  transition: all .2s ease;
  width: fit-content;
}
.modal-btn:hover{
  background-color: #084c61;
  border: 1px solid white;
  color: white;
}
.modal-btn i{
  font-size: 15px;
}
.modal-btn.graycolor{
  color: #7f8c8d;
  border: 1px solid #7f8c8d;
}
.modal-btn.graycolor:hover{
  color: white;
  background-color: #7f8c8d;
  border: 1px solid #7f8c8d;
}
.modal-btn.pending{
  color: #ff5050;
  border: 1px solid #ff5050;
}
.modal-btn.pending:hover{
  color: white;
  background-color: #ff5050;
  border: 1px solid #ff5050;
}
.modal-btn.danger{
  color: #ff5050;
  border: 1px solid #ff5050;
}
.modal-btn.danger:hover{
  color: white;
  background-color: #ff5050;
  border: 1px solid #ff5050;
}
.btn-box{
  gap: 10px;
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}
.btn-box a{
  text-decoration: none;
}
.alert-box { 
  height: max-content; 
  width: 100%; }
.password-box { 
  position: relative; 
  width: 100%; 
}
.password-box .modal-input { 
  padding-right: 2.5rem; 
}
.password-box i { 
  position: absolute; 
  right: 10px; 
  top: 50%; 
  transform: translateY(-30%); 
  cursor: pointer; 
  transition: color 0.2s ease; 
}
.modal-input { 
  padding: 0.75rem 0.5rem; 
  margin-top: 0.5rem; 
  border-radius: 5px; 
  border: 1px solid #ccc; 
  width: 100%;  
}
.forgetpassword-link { 
  display: flex; 
  margin: 1rem 0; 
  color: black; 
  font-size: 13px; 
  text-decoration: none; 
  width: max-content; 
}
.forgetpassword-link:hover { 
  text-decoration: underline; 
}
.signup-link, .login-link {
  color: black; 
  font-size: 13px; 
}
.signup-link a, .login-link a { 
  color: #FF5A5F; 
  text-decoration: none; 
}
.signup-link a:hover, .login-link a:hover { 
  text-decoration: underline; 
}
.close-btn { 
  position: absolute; 
  top: 0.5rem; 
  right: 0.8rem; 
  font-size: 1.8rem; 
  font-weight: bold; 
  color: #999; 
  text-decoration: none; 
  transition: color 0.2s ease; 
}
.close-btn:hover { 
  color: #ff5050;
}
.bg-danger{
  background-color: #dc3545;
}
.bg-success{
  background-color: #00b57e;
}
textarea{
    resize: none;
}
.modal-body{
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px 20px 0 20px;
    width: 100%;
}
.listing-body{
    padding: 20px 20px 0 20px;
    width: 100%;
}
.error { 
  width: 100%;
  background-color: #ffd2d2;
  border: 1px solid #dc3545;
  text-align: center; 
  color: #dc3545; 
  border-radius: 5px;
  margin: 0;
  font-size: 15px;
  padding: 2px 0;
}
.success { 
  width: 100%;
  background-color: #D2FFD2;
  border: 1px solid #00b57e;
  text-align: center; 
  color: #00b57e; 
  border-radius: 5px;
  margin: 0;
  font-size: 15px;
  padding: 2px 0;
}
.modal-content h2{
    font-weight: 600;
}
.modal-content h3{
    font-weight: 600;
    margin: 2% 0;
}
.profile-box{
  position: relative;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  padding: 10px;
}
.profile-box h5{
  font-weight: 600;
  background-color: #084c61;
  border-radius: 5px;
  width: fit-content;
  padding: 5px;
  color: white;
}
.profile-box i{
  font-size: 18px;
  padding: 5px;
}
.img-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: fit-content;
  margin: 10px auto 20px auto;
}
.img-container img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 1px solid #0C2C47;
}
.p-image{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  font-weight: bold;
  color: #666;
  font-size: 50px;
  border-radius: 50%;
  border: 1px solid #0C2C47;
  background-color: white;
}
.edit-overlay {
  position: absolute;
  top: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.edit-overlay i {
  color: #fff;
  font-size: 2rem; 
}
.edit-overlay:hover {
  opacity: 1; 
}
.profile-box label {
  display: flex;
  flex-direction: column;
  align-items: start;
  font-size: 14px;
  color: #1f2937;
  width: 100%;
  margin: 10px 0;
}
.profile-box label input,
.profile-box label select {
  margin-top: 5px;
  padding: 10px;
  width: 100%;
  border-radius: 25px;
  border: 2px solid #ccc;
  font-size: 14px;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: #f1f1f1;
}
*::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 20px;
  border: 3px solid #f1f1f1;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.view-photo{
  width: 60vw;
  height: 94vh;
  padding: 1rem;
}
