html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
 background-color: #f8f9fa;
}

body.index-screen{
  background-image: url('/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.home-screen {
  background-image: url('images/home-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.user-info-header {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.user-details {
  text-align: right;
}

.user-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.user-id {
  font-size: 12px;
  color: #666;
  font-weight: normal;
}

.logout-btn {
  background: #ff4757;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.logout-btn:hover {
  background: #ff3742;
}

/* Background image when modal is open */
body.modal-open {
  background-image: url("images/login-bg.jpg");
}

/* Hide search screen content when modal is open */
body.modal-open .search-summary,
body.modal-open .results-container,
body.modal-open .loading-container,
body.modal-open #noResults {
  display: none !important;
}

/* Also hide other main content areas on different pages when modal is open */
body.modal-open .bookings-content,
body.modal-open .property-details-container,
body.modal-open .payment-container,
body.modal-open .about-container,
body.modal-open .listings-container,
body.modal-open .property-list-container,
body.modal-open .footer {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

main {
  min-height: 100vh;
  padding: 4rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.title {
  margin: 0;
  line-height: 1.15;
  font-size: 4rem;
}

.top-left-button {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.top-rated-button {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #2c3e50;
  color: #2c3e50;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-rated-button:hover {
  background: #2c3e50;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px #2c3e50;
}

.top-rated-button i {
  font-size: 16px;
}

.top-right-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
}

.top-right-buttons button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #fafafa;
}

.top-right-buttons button:hover {
  text-decoration: underline;
}

/* Black color only on home screen */
body.home-screen .top-right-buttons button,
body.search-results-screen .top-right-buttons button,
body.payment-screen .top-right-buttons button,
body.past-bookings-screen .top-right-buttons button,
body.about-us-screen .top-right-buttons button{
  color: black;
}

body.home-screen .top-right-buttons button:hover,
body.search-results-screen .top-right-buttons button:hover,
body.payment-screen .top-right-buttons button:hover,
body.past-bookings-screen .top-right-buttons button:hover,
body.about-screen .top-right-buttons button:hover {
  color: black;
}


 /* Ensure the modal content is a column layout */
  #helpModal .modal-content {
    display: flex;
    flex-direction: column;
    gap: 20px; /* space between inputs */
  }

  /* Make inputs and textarea full width */
  #helpForm input,
  #helpForm textarea,
  #helpForm button {
    width: 100%;
    box-sizing: border-box; /* include padding in width */
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
  }

  /* Optional: style the button */
  #helpForm button {
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
  }

  #confirmation {
    display: none; /* hide by default, show on submit */
    margin-top: 10px;
    color: green;
  }

/* Bottom right container */
.bottom-right-text {
  position: absolute;
  bottom: 10px;
  right: 10px;
  text-align: left;
  font-size: 18px;
  color: #fafafa;
  line-height: 1.2;
}

.bottom-right-text p {
  margin: 0;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  /* Adjust as needed */
}

main img {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 7 / 8; /* Keeps a 350x400 ratio */
  object-fit: cover;
  display: block;
  box-sizing: border-box;
}

/* Popup Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}


.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
  pointer-events: auto;
  z-index: 1001;
}


.close {
  position: absolute;
  left: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: black;
}

.close:hover {
  color: black;
}

.login-option {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  border: 2px solid black;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.email-input, .form-input {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  border: 2px solid black;
  border-radius: 5px;
  font-size: 16px;
  color: black;
  background-color: white;
  cursor: text;
  box-sizing: border-box;
}

textarea.email-input {
  font-family: inherit;
  line-height: 1.4;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 10px;
  display: block;
}

.where-input {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  border: 2px solid blue;
  border-radius: 5px;
  font-size: 16px;
  color: black;
  background-color: white;
  cursor: text;
  box-sizing: border-box;
}

.where-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* left align label and input */
  width: 250px;
  /* adjust width as needed */
}

.where-label {
  margin: 0 0 4px 12px;
  /* left margin matches input padding-left */
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  color: black;
}

.container {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  max-width: 400px;
  /* optional for demo */
  margin: 20px auto;
}

.date-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.checkin-label {
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.checkout-label {
  text-align: right;
  margin-bottom: 5px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

input[type="date"] {
  width: 100%;
  padding: 4px 6px;
  font-size: 0.9rem;
  box-sizing: border-box;
  border: 2px solid blue;
  border-radius: 4px;
  height: 34px;
}

.search-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: green;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
}

.search-button:hover {
  background-color: #006400;
}

.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}

.password-strength-container {
  margin-top: 8px;
  margin-bottom: 10px;
}

.password-strength-bar {
  width: 100%;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.password-strength-fill {
  height: 100%;
  width: 0%;
  background-color: #e9ecef;
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
}

.password-strength-text {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  text-align: center;
  margin-bottom: 8px;
}

.password-requirements {
  margin-top: 5px;
  margin-bottom: 10px;
}

.password-checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.requirement-check {
  font-size: 12px;
  color: #dc3545;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.requirement-check i {
  font-size: 10px;
  width: 12px;
}

.continue-button, .btn {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: green;
}

.register-btn {
  background-color: #28a745;
}

.register-btn:hover {
  background-color: #218838;
}

/* Security Questions Specific Styles */
#securityQuestionsStep {
  text-align: left;
}

#securityQuestionsStep h3 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

#securityQuestionsStep p {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
  font-size: 14px;
}

.security-question-group {
  margin-bottom: 20px;
}

.security-question-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.security-question-group select,
.security-question-group input {
  width: 100%;
  margin-bottom: 5px;
}

.security-question-group .error-message {
  margin-top: 5px;
}

#securityQuestionsStep label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

#securityQuestionsStep select,
#securityQuestionsStep input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

#securityQuestionsStep select:focus,
#securityQuestionsStep input[type="text"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.security-question-group {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.login-option img {
  width: 24px;
  height: 24px;
}

.facebook {
  background-color: #fafafa;
}

.google {
  background-color: #fafafa;
}

.apple {
  background-color: #fafafa;
}

.phone {
  background-color: #fafafa;
}

.modal-divider {
  border: none;
  border-top: 1px solid grey;
  margin: 15px 0;
}

.divider-with-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider-with-text::before,
.divider-with-text::after {
  content: "";
  flex: 1;
  border-top: 1px solid #ccc;
}

.divider-with-text span {
  padding: 0 10px;
  color: #666;
  font-size: 14px;
}

.auth-heading {
  font-family: 'Segoe UI', sans-serif;
  font-size: 18px;
  color: black;
  text-align: center;
  top: 10px;
  margin: 30px 0;
  font-weight: bold;
}

/* Custom Alert Modal Styles */
.alert-modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.alert-modal-content h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 18px;
  font-weight: bold;
}

.alert-modal-content p {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.alert-ok-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  min-width: 80px;
}

.alert-ok-button:hover {
  background-color: #0056b3;
}

.logo-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
  height: 120px;
}

.logo-container {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px; /* max size allowed */
  aspect-ratio: 1 / 1; /* maintain square shape */
  overflow: hidden;
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* or use `cover` depending on effect */
  display: block;
}

.code {
  background: #fafafa;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
    Bitstream Vera Sans Mono, Courier New, monospace;
}

/* Responsive Media Queries */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .top-left-button {
    top: 40px;
    left: 10px;
  }

  .top-rated-button {
    padding: 6px 10px;
    font-size: 10px;
    border-radius: 15px;
    gap: 4px;
  }

  .top-rated-button i {
    font-size: 12px;
  }

  main {
    padding: 2rem 1rem;
    height: auto;
    flex-direction: column;
  }

  main img {
    width: 90vw;
    height: auto;
    max-width: 300px;
  }

  .title {
    font-size: 2.5rem;
    text-align: center;
    padding: 0 1rem;
  }

  .top-right-buttons {
    top: 10px;
    right: 10px;
    gap: 8px;
  }

  .top-right-buttons button {
    font-size: 14px;
  }

  .bottom-right-text {
    font-size: 14px;
    bottom: 5px;
    right: 5px;
  }

  .container {
    flex-direction: column;
    max-width: 90vw;
  }

  .search-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .modal-content {
    width: 90vw;
    margin: 20% auto;
    padding: 15px;
  }

  .logo-container {
    width: 80px;
    height: 80px;
  }

  .logo-container img {
    width: 80px;
    height: 80px;
  }
}

/* Very small devices (phones, less than 480px) */
@media (max-width: 479.98px) {
  .top-rated-button {
    padding: 4px 8px;
    font-size: 9px;
    border-radius: 12px;
    gap: 2px;
  }

  .top-rated-button i {
    font-size: 10px;
  }
}

/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  main {
    padding: 3rem 1.5rem;
    height: auto;
  }

  main img {
    width: 70vw;
    height: auto;
    max-width: 350px;
  }

  .title {
    font-size: 3rem;
  }

  .top-right-buttons {
    top: 15px;
    right: 15px;
  }

  .bottom-right-text {
    font-size: 16px;
    bottom: 8px;
    right: 8px;
  }

  .container {
    max-width: 80vw;
    flex-wrap: wrap;
  }

  .search-button {
    padding: 12px 20px;
    font-size: 15px;
  }

  .modal-content {
    width: 85%;
    max-width: 450px;
    margin: 8% auto;
  }

  .logo-container {
    width: 100px;
    height: 100px;
  }

  .logo-container img {
    width: 100px;
    height: 100px;
  }
}

/* Medium devices (desktops, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  main {
    padding: 4rem 2rem;
    height: 80vh;
  }

  main img {
    width: 350px;
    height: 400px;
  }

  .title {
    font-size: 3.5rem;
  }

  .top-right-buttons {
    top: 20px;
    right: 20px;
  }

  .bottom-right-text {
    font-size: 18px;
    bottom: 10px;
    right: 10px;
  }

  .container {
    max-width: 600px;
  }

  .search-button {
    padding: 12px 24px;
    font-size: 16px;
  }

  .modal-content {
    width: 400px;
    margin: 10% auto;
  }

  .logo-container {
    width: 120px;
    height: 120px;
  }

  .logo-container img {
    width: 120px;
    height: 120px;
  }
}

/* Large devices (large desktops, 992px and up) */
@media (min-width: 992px) {
  /* Your default styles apply here */
}

/* Dashboard Styles */
.dashboard-section {
  margin: 20px 0;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-section h2 {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.dashboard-section h3 {
  color: #555;
  margin-bottom: 15px;
}

.owner-stats, .admin-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #007bff;
}

.stat-card h3 {
  margin: 0 0 10px 0;
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-card div {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
}

.owner-actions, .admin-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.action-btn:hover {
  background-color: #0056b3;
}

.booking-card {
  background-color: #f8f9fa;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 6px;
  border-left: 4px solid #28a745;
}

.booking-card h4 {
  margin: 0 0 10px 0;
  color: #333;
}

.booking-card p {
  margin: 5px 0;
  color: #666;
  font-size: 14px;
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
}

/* Loader Styles */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-container p {
  color: #333;
  font-size: 16px;
  margin: 0;
  text-align: center;
}

/* Button Loader Styles */
.button-loader {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
}

.continue-button:disabled,
.login-option:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Listings Page Styles */
body.listings-page {
  background-color: #f8f9fa;
  background-image: none;
}

.listings-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.listings-container h1 {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

.listings-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px; /* max allowed width */
  aspect-ratio: 1 / 1; /* keep it square */
  overflow: hidden;
}

.listings-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* or `cover`, depending on desired effect */
  display: block;
}

.search-filters {
  margin-bottom: 30px;
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.note {
  color: red;
  font-weight: bold;
  margin-bottom: 10px;
}

.quantity-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-text {
  flex: 1;
}

.filter-title {
  margin: 0;
}

.filter-description {
  margin: 5px 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-button {
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 4px;
}

.quantity-input {
  width: 50px;
  text-align: center;
  font-size: 16px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.name-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.input-group {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

.input-group input,
.input-group select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* For larger screens, ensure inputs are side by side */
@media (min-width: 768px) {
  .name-inputs {
    flex-wrap: nowrap;
  }

  .input-group {
    min-width: 0;
    flex-basis: 50%;
  }
}

/* Search Results Styles */
.search-results-screen {
  background-color: #f8f9fa;
  min-height: 100vh;
}

.search-header {
  background: white;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  height: 40px;
}

.back-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.back-button:hover {
  background: #0056b3;
}

.bookings-summary {
  padding: 40px;
  text-align: center;
  background: white;
  margin-bottom: 20px;
}

.search-summary {
  padding: 20px;
  text-align: center;
  background: white;
  margin-bottom: 20px;
}

.search-summary h1 {
  margin: 0 0 10px 0;
  color: #333;
}

.search-criteria {
  color: #666;
  font-size: 14px;
  border: 2px solid #ddd;
  border-radius: 25px;
  padding: 12px 20px;
  background: white;
  display: inline-block;
  margin: 10px 0;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.results-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-bar {
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
}

.result-count {
  color: #666;
  font-size: 14px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.property-result-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.property-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    cursor: pointer;
  }

  .property-result-card {
    transition: transform 0.2s, box-shadow 0.2s;
  }

.property-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.property-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: capitalize;
}

.property-info {
  padding: 20px;
}

.property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.property-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
  flex: 1;
}

.property-price {
  font-size: 20px;
  font-weight: bold;
  color: #007bff;
}

.property-price span {
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.property-location {
  color: #666;
  margin: 0 0 10px 0;
  font-size: 14px;
}

.property-location i {
  margin-right: 5px;
}

.property-details {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.property-details span i {
  margin-right: 5px;
  color: #007bff;
}

.property-features {
  margin-bottom: 15px;
  font-size: 12px;
  color: #888;
}

.property-actions {
  display: flex;
  gap: 10px;
}

.view-btn {
  flex: 1;
  background: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.view-btn:hover {
  background: #e9ecef;
}

.book-btn {
  flex: 1;
  background: #007bff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.book-btn:hover {
  background: #0056b3;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
}

.no-results h3 {
  margin: 0 0 10px 0;
  color: #333;
}

.no-results p {
  color: #666;
  margin-bottom: 20px;
}

.retry-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.retry-button:hover {
  background: #0056b3;
}

/* Validation Error Styles */
.validation-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  font-weight: 500;
  display: block;
}

.input-group.error .email-input,
.input-group.error select {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Responsive Design Improvements */
.listings-container {
  padding: 15px;
  margin-top: 120px;
}

.listings-container h1 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* Better responsive layout for form groups */
.name-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.input-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}

/* Responsive radio button groups */
.gender-options,
.property-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

/* Better date selector layout */
.dob-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

/* Features grid responsive improvements */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

/* Image upload responsive improvements */
.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 15px;
  padding: 15px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  min-height: 80px;
}

/* Property header responsive improvements */
.property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.property-title {
  flex: 1;
  min-width: 250px;
}

/* Ready to submit card responsive */
.ready-to-submit-card {
  margin: 30px 0;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
  overflow: hidden;
}

.ready-card-content {
  padding: 25px 30px;
  color: white;
}

.ready-card-text h3 {
  color: white;
  margin-bottom: 8px;
}

.ready-card-text p {
  color: rgba(255, 255, 255, 0.9);
}

.ready-submit-button {
  background-color: white;
  color: #28a745;
  border: 2px solid white;
}

.ready-submit-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #1e7e34;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
  .listings-container {
    padding: 15px 10px;
    margin-top: 100px;
  }

  .listings-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  /* Stack form inputs vertically on mobile */
  .name-inputs {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Single column for features on mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Stack date selectors on mobile */
  .dob-selectors {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Stack radio options vertically on mobile */
  .gender-options,
  .property-type-options {
    flex-direction: column;
    gap: 10px;
  }

  /* Property header stack on mobile */
  .property-header {
    flex-direction: column;
    align-items: stretch;
  }

  .guidelines-btn {
    align-self: flex-end;
    width: fit-content;
  }

  /* Ready to submit card mobile layout */
  .ready-card-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px 15px;
  }

  .ready-card-text h3 {
    font-size: 20px;
  }

  .ready-card-text p {
    font-size: 14px;
  }

  .ready-submit-button {
    width: 100%;
    padding: 14px 20px;
  }

  /* Smaller image previews on mobile */
  .image-preview-container {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
    padding: 10px;
  }

  .image-preview {
    height: 80px;
  }

  /* Better spacing for search filters */
  .search-filters {
    padding: 15px;
    margin-bottom: 20px;
  }

  .quantity-selector {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .filter-text {
    text-align: center;
  }

  .quantity-controls {
    justify-content: center;
  }
}

/* Small tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .listings-container {
    padding: 20px 15px;
  }

  .name-inputs {
    gap: 18px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .listings-container {
    max-width: 1400px;
    padding: 30px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .name-inputs {
    gap: 25px;
  }
}

/* Responsive adjustments for dashboard */
@media (max-width: 768px) {
  .owner-stats, .admin-stats {
    flex-direction: column;
  }

  .owner-actions, .admin-actions {
    flex-direction: column;
  }.action-btn {    width: 100%;
  }

  .loader {
    width: 40px;
    height: 40px;
  }

  .loader-container p {
    font-size: 14px;
  }
}

/* Property List Page Styles */
.property-list-page {
  background-color: #f8f9fa;
  min-height: 100vh;
  font-family: 'Circular', -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
}

/* Side Menu Styles */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.side-menu.open {
  left: 0;
}

/* Side menu behavior for larger screens */
@media (min-width: 1200px) {
  .side-menu.open {
    left: 0;
  }

  /* No overlay on large screens when menu is open */
  .menu-overlay.visible {
    display: none;
  }
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.side-menu-logo {
  width: 100%;
  max-width: 60px; /* allows responsiveness up to 60px */
  aspect-ratio: 1 / 1; /* maintains square shape */
  border-radius: 8px;
  overflow: hidden;
}

.side-menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* or use `cover` for a filled look */
  display: block;
}

.close-side-menu {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 5px;
}

.close-side-menu:hover {
  color: #333;
}

.side-menu-nav {
  padding: 20px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background-color: #f8f9fa;
  color: #333;
}

.nav-item.active {
  background-color: teal;
  color: white;
  border-left-color: teal;
}

.nav-icon {
  margin-right: 15px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.nav-item span {
  font-size: 16px;
  font-weight: 500;
}

/* Menu Toggle Button */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background-color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Show menu toggle on all screen sizes */
.menu-toggle {
  display: block;
}

/* Make toggle button bigger on small screens but keep it on the left */
@media (max-width: 768px) {
  .menu-toggle {
    top: 15px;
    left: 15px;
    padding: 18px;
    border-radius: 15px;
  }
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Adjust property list container when menu is open */
.property-list-container {
  transition: margin-left 0.3s ease;
}

.property-list-container.menu-open {
  margin-left: 300px;
}


.property-list-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 140px;
}

.property-list-header {
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.property-list-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.filter-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: white;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  min-width: 140px;
  transition: border-color 0.2s ease;
}

.filter-select:hover {
  border-color: #ff385c;
}

.filter-select:focus {
  outline: none;
  border-color: #ff385c;
  box-shadow: 0 0 0 2px rgba(255, 56, 92, 0.2);
}
.add-property-btn {
  background-color: blue;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-property-btn:hover {
  background-color: blue;
}

.loading-properties {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.properties-grid {
  display: flex;
  flex-direction: column;
}



.property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.property-image {
  position: relative;
  /*width: 100%;*/
  width: 300px;
  min-width: 300px;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.property-image img {
  /*width: 100%;
  height: 100%;*/
  width: 300px;
  height: 200px;
  object-fit: cover;
}

.property-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  width: 100%;
   min-height: 200px;
  /*min-height: 350px;*/
  position: relative;
}

.property-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
}

.property-status.pending-approval {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.property-status.approved {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.property-status.rejected {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #ef4444;
}

.property-status.delisted {
  background-color: #f3f4f6;
  color: #6b7280;
  border: 1px solid #9ca3af;
}

.property-action-icons {
  position: absolute;
  top: 50px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.action-icon {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
}

.action-icon:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #333;
}

.action-icon.delete-icon:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #dc2626;
}

.property-price {
  position: absolute;
  top: 130px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #ddd;
  z-index: 10;
}

.property-details {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-details h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: #222;
}

.property-type {
  color: #666;
  font-size: 14px;
  margin: 0 0 12px 0;
  text-transform: capitalize;
}

.property-location {
  color: #666;
  font-size: 14px;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.spec {
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.feature-tag {
  background-color: #f3f4f6;
  color: #374151;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.feature-more {
  color: #666;
  font-size: 12px;
  font-style: italic;
}

.property-dates {
  border-top: 1px solid #f3f4f6;
  padding-top: 12px;
}

.property-dates p {
  margin: 0 0 4px 0;
  font-size: 12px;
  color: #666;
}

.property-actions {
  padding: 16px 20px;
  background-color: #f9fafb;
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.view-btn, .edit-btn {
  flex: 1;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn {
  background-color: white;
  color: #374151;
}

.view-btn:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.edit-btn {
  background-color: #ff385c;
  color: white;
  border: none;
  border-color: #ff385c;
}

.edit-btn:hover {
  background-color: #e53252;
  border-color: #e53252;
}

.no-properties {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.no-properties-content {
  text-align: center;
  max-width: 400px;
}

.no-properties-content h3 {
  color: #222;
  font-size: 24px;
  margin-bottom: 12px;
}

.no-properties-content p {
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.add-first-property-btn {
  background-color: #ff385c;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-first-property-btn:hover {
  background-color: #e53252;
}

.error-container {
  text-align: center;
  padding: 40px;
}

.error-message {
  color: #dc2626;
  margin-bottom: 16px;
  font-size: 16px;
}

.retry-btn {
  background-color: #ff385c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.retry-btn:hover {
  background-color: #e53252;
}

/* Hotel Room Types Styles */
.hotel-room-types {
  margin-top: 20px;
}

.room-types-container {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.room-type-item {
  border-bottom: 1px solid #e0e0e0;
}

.room-type-item:last-child {
  border-bottom: none;
}

.room-type-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8f9fa;
  cursor: pointer;
}

.room-type-header h4 {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.toggle-room-type {
  background: none;
  border: none;
  color: #007bff;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.toggle-room-type:hover {
  background-color: rgba(0, 123, 255, 0.1);
}

.room-type-details {
  padding: 20px;
  background-color: white;
  border-top: 1px solid #e0e0e0;
}

.room-type-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.room-type-inputs .input-group {
  margin-bottom: 0;
}

.room-type-inputs .input-group label {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.room-type-inputs .email-input {
  font-size: 14px;
  padding: 10px 12px;
}

.room-image-preview-container {
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed #ddd;
  border-radius: 6px;
  min-height: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.room-image-preview {
  position: relative;
  display: inline-block;
}

.room-image-preview img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.remove-room-image {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-room-image:hover {
  background: #cc0000;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #666;
  font-style: italic;
  min-height: 40px;
  width: 100%;
}



/* Responsive styles for property list */
@media (max-width: 768px) {
  .property-list-header {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .property-card {
    flex-direction: column;
    min-height: auto;
  }

  .property-image {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }

  .property-list-container {
    padding: 15px;
    margin-top: 120px;
    margin-left: 0 !important;
  }

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

      .room-type-inputs {
        grid-template-columns: 1fr;
        gap: 15px;
      }

  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .filter-controls {
    justify-content: space-between;
    gap: 15px;
  }

  .filter-group {
    flex: 1;
  }

  .filter-select {
    min-width: auto;
    width: 100%;
  }

  /* Keep property action buttons horizontal on mobile */
  .property-actions {
    display: flex;
    flex-direction: row !important;
    gap: 10px;
    flex-wrap: wrap;
  }

  .property-actions .flat-btn,
  .property-actions .delist-flat-btn {
    flex: 1;
    min-width: auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 6px 10px;
  }

  /* Side menu responsive adjustments */
  .side-menu {
    width: 280px;
    left: -280px;
  }

  .property-list-container.menu-open {
    margin-left: 0;
  }
}

  .listings-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 140px; /* Space for fixed logo */
  }

  /* Logo at top right */
  .listings-logo {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .listings-logo img {
    width: 120px;
    height: 120px;
  }


/* Admin Properties Page Styles */
.admin-properties-page {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.admin-properties-container {
  margin-left: 300px;
  margin-top: 40px;
  transition: margin-left 0.3s ease;
}

.admin-properties-container.menu-open {
  margin-left: 300px;
}

.admin-properties-header {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.admin-properties-header h1 {
  color: #2c3e50;
  margin: 0 0 20px 0;
  font-size: 32px;
  font-weight: 700;
}

.admin-properties-content {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  min-height: 400px;
}

.admin-properties-grid {
  display: flex;
  flex-direction: column;
}

.admin-property-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e6ed;
}

.admin-property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.admin-property-card .property-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
}

.admin-property-card .property-status.pending-approval {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.admin-property-card .property-status.approved {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.admin-property-card .property-status.rejected {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.admin-property-card .property-status.delisted {
  background-color: #f3f4f6;
  color: #6b7280;
  border: 1px solid #9ca3af;
}
.property-admin-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.property-admin-actions .action-icon {
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.property-admin-actions .action-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.property-admin-actions .action-icon i {
  font-size: 14px;
  color: #495057;
}

.property-admin-actions .approve-icon:hover {
  background-color: #28a745;
}

.property-admin-actions .approve-icon:hover i {
  color: white;
}

.property-admin-actions .reject-icon:hover {
  background-color: #dc3545;
}

.property-admin-actions .reject-icon:hover i {
  color: white;
}

.admin-property-card .property-owner {
  margin: 10px 0;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.admin-property-card .property-owner p {
  margin: 5px 0;
  font-size: 13px;
  color: #495057;
}

.admin-property-card .property-meta {
  margin: 10px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.admin-property-card .property-meta p {
  margin: 3px 0;
  font-size: 12px;
  color: #6c757d;
}

.approve-btn-small, .reject-btn-small {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 2px;
}

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

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

.reject-btn-small {
  background-color: #dc3545;
  color: white;
}

.reject-btn-small:hover {
  background-color: #c82333;
  transform: translateY(-1px);
}

/* Property Detail Modal */
.property-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
}

.property-modal-content {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 2px solid #f0f0f0;
  background-color: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
}

.close-modal {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.close-modal:hover {
  background-color: #e9ecef;
}

.modal-body {
  padding: 30px;
}

.property-detail-content {
  display: grid;
  gap: 25px;
}

.detail-section {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.detail-section h3 {
  margin: 0 0 15px 0;
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
}

.detail-section p {
  margin: 8px 0;
  color: #495057;
  line-height: 1.5;
}

.property-images {
  margin-top: 20px;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.property-detail-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e0e6ed;
  transition: transform 0.3s ease;
}

.property-detail-image:hover {
  transform: scale(1.05);
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px 30px;
  border-top: 2px solid #f0f0f0;
  background-color: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

.approve-btn, .reject-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
}

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

.approve-btn:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

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

.reject-btn:hover {
  background-color: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Responsive Design for Admin Properties */
@media (max-width: 1200px) {
  .admin-properties-container {
    margin-left: 0;
    padding: 15px;
  }

  .admin-properties-container.menu-open {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .admin-properties-grid {
    display: flex;
    flex-direction: column;
  }

  .admin-property-card .property-meta {
    grid-template-columns: 1fr;
  }

  .property-modal-content {
    width: 95%;
    max-height: 85vh;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
    align-items: center;
  }

  .approve-btn, .reject-btn {
    width: 100%;
    max-width: 200px;
  }
}


/* Gender and Property Type Radio Button Styles (circular) */
.gender-radio,
.property-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  font-size: 16px;
  user-select: none;
}

/* Hide the browser's default radio button */
.gender-radio input[type="radio"],
.property-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom circular radio button */
.gender-radio::before,
.property-radio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 50%;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

/* On mouse-over, add a grey background color */
.gender-radio:hover::before,
.property-radio:hover::before {
  background-color: #ccc;
  border-color: #bbb;
}

/* When the radio button is checked, add a blue background */
.gender-radio input[type="radio"]:checked + .gender-radio::before,
.property-radio input[type="radio"]:checked + .property-radio::before {
  background-color: green;
  border-color: green;
}

.gender-radio input[type="radio"]:checked ~ ::before,
.property-radio input[type="radio"]:checked ~ ::before {
  background-color: green;
  border-color: green;
}

/* Create the indicator (dot in the middle) */
.gender-radio::after,
.property-radio::after {
  content: "";
  position: absolute;
  display: none;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* Show the indicator when checked */
.gender-radio input[type="radio"]:checked ~ ::after,
.property-radio input[type="radio"]:checked ~ ::after {
  display: block;
}

.gender-radio:has(input[type="radio"]:checked)::before,
.property-radio:has(input[type="radio"]:checked)::before {
  background-color: green;
  border-color: green;
}

.gender-radio:has(input[type="radio"]:checked)::after,
.property-radio:has(input[type="radio"]:checked)::after {
  display: block;
}

.gender-options,
.property-type-options {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 10px;
}

/* Date of Birth Selectors */
.dob-selectors {
  display: flex;
  gap: 10px;
}

.dob-selectors select {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* Submit Section */
.submit-section {
  margin-top: 30px;
  text-align: center;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

/* Features Checkbox Styles (square checkboxes) */
.feature-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  font-size: 16px;
  user-select: none;
}

/* Hide the browser's default checkbox */
.feature-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom square checkbox */
.feature-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border: 2px solid #ddd;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* On mouse-over, add a grey background color */
.feature-checkbox:hover .checkmark {
  background-color: #ccc;
  border-color: #bbb;
}

/* When the checkbox is checked, add a blue background */
.feature-checkbox input[type="checkbox"]:checked ~ .checkmark {
  background-color: #007bff;
  border-color: #007bff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.feature-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Style the checkmark/indicator */
.feature-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hide the browser's default checkbox */
.feature-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom circular checkbox */
.feature-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 50%;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

/* On mouse-over, add a grey background color */
.feature-checkbox:hover .checkmark {
  background-color: #ccc;
  border-color: #bbb;
}

/* When the checkbox is checked, add a blue background */
.feature-checkbox input[type="checkbox"]:checked ~ .checkmark {
  background-color: green;
  border-color: green;
}

/* Create the checkmark/indicator (the dot) */
.feature-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* Show the checkmark when checked */
.feature-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
  display: block;
}

/* Responsive adjustments */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .dob-selectors {
    flex-direction: column;
  }

  .gender-options,
  .property-type-options {
    flex-direction: column;
    gap: 10px;
  }
}

/* Image Upload Styles */
.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  min-height: 60px;
}

.image-preview {
  position: relative;
  width: 100%;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.remove-image {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-image:hover {
  background: rgba(255, 0, 0, 0.9);
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  color: #666;
  font-size: 14px;
  text-align: center;
  padding: 10px;
  grid-column: 1 / -1;
  box-sizing: border-box;
  overflow: hidden;
}

.add-images-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 10px;
  transition: background-color 0.3s;
}

.add-images-btn:hover {
  background-color: #218838;
}

.add-images-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.upload-instructions {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  border-left: 4px solid #007bff;
}

.upload-instructions ul {
  list-style-type: disc;
}

.image-count {
  font-weight: bold;
  text-align: center;
}

/* Property Header Styles */
.property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.property-title {
  flex: 1;
}

.property-title hr {
  margin-top: 0;
}

.guidelines-btn {
  background-color: white;
  color: #ff385c;
  border: 2px solid #ff385c;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-top: 10px;
}

.guidelines-btn:hover {
  background-color: #ff385c;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 56, 92, 0.3);
}

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

/* Responsive adjustments for property header */@media (max-width: 768px) {
  .property-header {
    flex-direction: column;
    gap: 10px;
  }

  .guidelines-btn {
    align-self: flex-end;
    margin-top: 0;
  }
}

/* Ready to Submit Card Styles */
.ready-to-submit-card {
  margin: 30px 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.ready-card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  color: #333;
}

.ready-card-text h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.ready-card-text p {
  margin: 0;
  font-size: 16px;
  color: #666;
}

.ready-submit-button {
  background-color: #28a745;
  border: 2px solid #28a745;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.ready-submit-button:hover {
  background-color: #218838;
  border-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.ready-submit-button:active {
  transform: translateY(0);
}

/* Responsive adjustments for ready to submit card */
@media (max-width: 768px) {
  .ready-card-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .ready-card-text h3 {
    font-size: 20px;
  }

  .ready-card-text p {
    font-size: 14px;
  }

  .ready-submit-button {
    width: 100%;
    padding: 14px 20px;
  }

  .ready-submit-button {
    width: 100%;
    padding: 14px 20px;
  }

}

/* Flat button styles - always rounded */
.flat-btn {
  background: none;
  border: 1px solid #ccc;
  color: #333;
  padding: 8px 16px;
  border-radius: 20px; /* Fully rounded edges */
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.flat-btn:hover {
  background: #f0f0f0;
  color: #000;
}

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

/* Side Menu Styles */
/* Add spacing between icon and text */
.nav-item {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background-color: #f8f9fa;
  color: #333;
}

.nav-item.active {
  background-color: teal;
  color: white;
  border-left-color: teal;
}

.nav-icon {
  margin-right: 10px; /* Add spacing here */
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.nav-item span {
  font-size: 16px;
  font-weight: 500;
}

/* Move logout to the bottom */
.side-menu-nav {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure full height */
}

.nav-item.logout {
  margin-top: auto; /* Push to the bottom */
  border-top: 1px solid #f0f0f0;
  color: #dc3545;
}

.nav-item.logout:hover {
  background-color: #f8d7da;
}

.side-menu-nav .nav-item i {
  margin-right: 10px;
}

.owner-name-top-right {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1002;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  min-width: 200px;
}

/* Make it wider on larger screens */
@media (min-width: 768px) {
  .owner-name-top-right {
    min-width: 320px;
    padding: 18px 25px;
  }
}

@media (min-width: 1200px) {
  .owner-name-top-right {
    min-width: 400px;
    padding: 20px 35px;
  }
}

@media (min-width: 1600px) {
  .owner-name-top-right {
    min-width: 450px;
    padding: 22px 40px;
  }
}

.owner-name-header {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-align: right;
}

.owner-role-subtitle {
  color: #666;
  font-size: 14px;
  font-weight: 400;
  margin: 5px 0 0 0;
  text-align: right;
  font-style: italic;
  }

  /* Registration loader styles */
  #registrationLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .loader-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
  }

  .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f4f6;
    border-top: 5px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .loader-content h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
  }

  .loader-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
  }

.match-tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 4px;
}

.full-match {
  background-color: #28a745;
  color: white;
}

.partial-match {
  background-color: #ffc107;
  color: black;
}

.property-price-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    color: black;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
}

.property-image-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 200px;
}

.property-image-slider .slides {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.property-image-slider .slide {
  display: none;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-image-slider .slide.active {
  display: block;
}

.property-image-slider .indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.property-image-slider .indicator {
  width: 10px;
  height: 10px;
  background: grey;
  border-radius: 50%;
  cursor: pointer;
}

.property-image-slider .indicator.active {
  background: white;
}

.price-range-container {
  padding: 10px 0;
}

.range-slider {
  position: relative;
  margin: 20px 0;
  height: 40px;
}

.range-slider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 5px;
  background: #ddd;
  border-radius: 5px;
  transform: translateY(-50%);
  z-index: 1;
}

.range-input {
  position: absolute;
  width: 100%;
  height: 5px;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  pointer-events: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #006400;
  cursor: pointer;
  pointer-events: auto;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.range-input::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #006400;
  cursor: pointer;
   z-index: 3;
    position: relative;
  }

  .range-input::-webkit-slider-track {
    width: 100%;
    height: 5px;
    background: transparent;
    border-radius: 5px;
  }

  .range-input::-moz-range-track {
    width: 100%;
    height: 5px;
    background: transparent;
    border-radius: 5px;
    border: none;
  }

  .range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    position: relative;
    z-index: 2;
  }

  .range-labels span {
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }

  .search-results-screen {
    padding: 20px;
  }

  .top-right-buttons-black {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .top-right-buttons-black button {
    padding: 8px 12px;
    border: none;
    color: black;
    border-radius: 5px;
    cursor: pointer;
  }

  .search-summary {
    margin-top: 20px;
  }

  .main-content {
    display: flex;
    gap: 20px;
    margin-top: 20px;
  }

  .filter-sidebar {
    width: 250px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid #ddd;
  }

  .filter-sidebar h3 {
    margin-top: 0;
  }

  /* Mobile filter toggle button */
  .mobile-filter-toggle {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
  }

  .toggle-filters-btn {
    background: #006400;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
  }

  .toggle-filters-btn:hover {
    background: #004d00;
  }

  .toggle-filters-btn.active {
    background: #dc3545;
  }

  .toggle-filters-btn.active i::before {
    content: "\f00d"; /* X icon */
  }

  /* Mobile responsive filters */
  @media (max-width: 768px) {
    .mobile-filter-toggle {
      display: block !important;
    }

    .main-content {
      flex-direction: column;
      gap: 15px;
    }

    .filter-sidebar {
      width: 100%;
      order: -1; /* Move filters to the top */
      padding: 15px;
      margin-bottom: 10px;
      display: none; /* Hidden by default on mobile */
    }

    .filter-sidebar.show-mobile {
      display: block;
    }

    .filter-sidebar h3 {
      font-size: 18px;
      margin-bottom: 15px;
    }

    .filter-group {
      margin-bottom: 15px;
    }

    .filter-box {
      padding: 10px;
      margin-bottom: 15px;
    }

    .results-section {
      order: 1; /* Move results below filters */
    }

    /* Keep filter controls side by side on mobile */
    .filter-controls {
      flex-direction: row !important;
      justify-content: space-between;
      gap: 10px;
    }

    .filter-group {
      flex: 1;
      min-width: 0;
    }

    .filter-select {
      min-width: auto;
      width: 100%;
      font-size: 14px;
    }

    /* Make collapsible sections more touch-friendly on mobile */
    .collapsible-label {
      padding: 12px 0;
      font-size: 16px;
    }

    .collapsible-content {
      padding: 10px 0;
    }

    /* Adjust price range for mobile */
    .price-range-container {
      padding: 15px 0;
    }

    .range-slider {
      margin: 15px 0;
      height: 50px;
    }

    .range-input {
      height: 8px;
    }

    .range-input::-webkit-slider-thumb {
      height: 24px;
      width: 24px;
    }

    .range-input::-moz-range-thumb {
      height: 24px;
      width: 24px;
    }

    .range-labels {
      margin-top: 20px;
      font-size: 16px;
    }

    /* Star rating touch improvements */
    .star-rating i {
      font-size: 24px;
      padding: 5px;
      margin: 0 2px;
    }

    /* Apply filters button for mobile */
    .apply-filters-btn {
      font-size: 16px;
      padding: 12px 20px;
      margin-top: 10px;
    }
  }

  .filter-group {
    margin-bottom: 20px;
  }

  .filter-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .filter-box {
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 10px;
    background-color: #fdfdfd;
    margin-bottom: 20px;
  }

  .filter-group input[type="checkbox"] {
    margin-right: 5px;
  }

  .apply-filters-btn {
    background-color: #006400;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
  }

  .results-section {
    flex: 1;
  }

  .result-count {
    font-size: 18px;
    font-weight: bold;
  }

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

  .star-rating {
    display: flex;
    gap: 5px;
    cursor: pointer;
    margin-top: 8px;
  }

  .star-rating i {
    font-size: 20px;
    color: #ccc;
    transition: color 0.2s ease;
  }

  .star-rating i.active {
    color: gold;
  }

  .no-results {
    text-align: center;
    margin-top: 30px;
  }

  .retry-button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .loading-container {
    text-align: center;
    margin-top: 50px;
  }

  .loading-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #006400;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
  }

  .collapsible-label {
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .collapsible-label::after {
    content: "▼";
    font-size: 0.8em;
    transition: transform 0.3s;
  }

  .collapsible-label.expanded::after {
    transform: rotate(180deg);
  }

  .collapsible-content {
    display: none;
    margin-top: 10px;
  }

  .collapsible-content.show {
    display: block;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

.property-details-container {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-header-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f3f4f6;
}

.property-name-location {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.property-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
}

.property-location-header {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-location-header i {
  color: #6b7280;
}

.property-price-header {
  font-size: 24px;
  font-weight: 700;
}

.property-rating-section {
  margin-bottom: 15px;
  font-size: 16px;
}

.property-specs-section {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding: 15px;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
}

.property-specs-section span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-specs-section i {
  color: #3b82f6;
}

.property-gallery-container {
  margin-bottom: 25px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
}

.feature-item i {
  color: #059669;
}

.property-gallery {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.gallery-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.2s;
}

.gallery-indicator.active {
  background: white;
}

@media (max-width: 768px) {
  .property-header-layout {
    flex-direction: column;
    gap: 15px;
  }

  .property-name-location {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }


  .property-title {
    font-size: 24px;
  }

  .property-price-header {
    font-size: 20px;
    align-self: flex-start;
  }

  .property-specs-section {
    flex-direction: column;
    gap: 10px;
  }
}

.property-header-buttons {
  margin-top: 8px;
  display: flex;
  gap: 10px;
}

.property-header-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  color: white;
}

.property-type-btn {
  background-color: teal;
}

.bronze-btn {
  background-color: #cd7f32;
}

.silver-btn {
  background-color: #c0c0c0;
}

.gold-btn {
  background-color: #ffd700;
}

.platinum-btn {
  background-color: #e5e4e2;
}

/* Payment Page Styles */
body.payment-screen {
  background-color: #f8f9fa;
  background-image: none;
}

.payment-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

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

.payment-header h1 {
  color: #333;
  margin-bottom: 10px;
}

.payment-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.booking-summary {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 100%;
}

.confirm-booking-button {
  width: 100%;
  background-color: green;
  color: white;
  border: none;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.2s;
}

.confirm-booking-button:hover {
  background-color: green;
}

.confirm-booking-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}


.booking-summary h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.summary-card {
  margin-top: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 18px;
  color: #ff385c;
  border-top: 2px solid #f0f0f0;
  margin-top: 15px;
  padding-top: 15px;
}

.summary-item .label {
  color: #666;
}

.summary-item .value {
  color: #333;
  font-weight: 500;
}

.payment-section {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 100%;
}

.payment-section h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.payment-methods h3 {
  margin-bottom: 15px;
  color: #333;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 25px;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option:hover {
  border-color: #ff385c;
}

.payment-option.active {
  border-color: #ff385c;
  background-color: #fff5f2;
}

.payment-option i {
  font-size: 20px;
  margin-right: 12px;
  color: #666;
}

.payment-option.active i {
  color: #ff385c;
}

.payment-form-section {
  margin-top: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #ff385c;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.paypal-info, .bank-info {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.bank-info h4 {
  margin-top: 0;
  color: #333;
}

.bank-info p {
  margin: 8px 0;
  color: #666;
}

.bank-note {
  background-color: #fff3cd;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ffeaa7;
  margin-top: 15px;
  font-style: italic;
}

.payment-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.secondary-button {
  padding: 12px 24px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}

.secondary-button:hover {
  background-color: #5a6268;
}

.error-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.error-message h3 {
  color: #dc3545;
  margin-top: 0;
}

.error-message p {
  color: #666;
  margin-bottom: 20px;
}

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .payment-actions {
    flex-direction: column;
  }
}

/* Footer Styles */
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px 20px;
  margin-top: 50px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-section {
  text-align: center;
}

.footer-logo-section img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #ecf0f1;
  margin: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  width: 100%;
  margin-bottom: 30px;
}

.footer-section {
  text-align: center;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #3498db;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
  color: #000000;
  font-weight: bold;
}

.footer-section a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #3498db;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #34495e;
  border-radius: 50%;
  color: #ecf0f1;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #3498db;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
  width: 100%;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #95a5a6;
}

/* Footer responsive design */
@media (max-width: 768px) {
  .footer {
    padding: 30px 15px 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-logo-section img {
    width: 60px;
    height: 60px;
  }

  .footer-logo-text {
    font-size: 16px;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

.get-started-button {
  margin-top: 1rem;
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #2c3e50;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.get-started-button:hover {
  background-color: #34495e;
}

.bookings-title-section {
  text-align: center;
  margin-bottom: 30px;
}

.bookings-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
}

.bookings-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.view-btn {
  border: 2px solid teal;
  background: white;
  color: teal;
}

.view-btn:hover {
  background: rgba(0, 128, 128, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.2);
}

.view-btn.active {
  background: teal;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.bookings-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.bookings-grid {
  display: grid;
  gap: 20px;
}

.loader-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #28a745; /* green spinner */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.about-container {
  padding: 40px;
  max-width: 1000px;
  margin: 60px auto 0 auto;
  font-family: "Arial", sans-serif;
}

.hero-section {
  text-align: center;
}

.hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.intro-paragraph {
  font-size: 1.1rem;
  color: #444;
}

.founder-section {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.founder-image {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.text-content {
  flex: 1;
}

.values-section {
  margin-top: 60px;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.value-item {
  flex: 1 1 180px;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.value-item i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #ff5722;
}

.mission-vision-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.mission, .vision {
  background: #e8f5e9;
  padding: 20px;
  border-left: 5px solid #4caf50;
  border-radius: 8px;
}

.terms-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.terms-body h3 {
  margin-top: 2rem;
  color: #333;
  font-size: 1.2rem;
}

.terms-body ul {
  margin-left: 1.5rem;
}

.terms-body ul li {
  margin-bottom: 0.5rem;
}

.checkout-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: 600px;
}

.booking-summary {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.booking-summary h2 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 24px;
}

.property-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.summary-item:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 18px;
  color: #ff385c;
  border-top: 2px solid #eee;
  margin-top: 15px;
  padding-top: 15px;
}

.summary-item .label {
  color: #666;
  font-weight: 500;
}

.summary-item .value {
  color: #333;
  font-weight: 600;
}

.property-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.property-type {
  color: #666;
  margin-bottom: 15px;
  text-transform: capitalize;
}

#payment-form {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 150vh;
}

/* Add spacing between payment methods in Peach Payments widget */
#payment-form .payment-method-item {
  margin-bottom: 15px !important;
}

#payment-form .payment-brand {
  margin: 10px 0 !important;
  padding: 12px !important;
}

#payment-form .payment-option {
  margin-bottom: 12px !important;
  padding: 10px !important;
}

/* General spacing for payment form elements */
#payment-form form > div {
  margin-bottom: 15px !important;
}

#payment-form .form-group {
  margin-bottom: 20px !important;
}

#payment-form input[type="radio"] {
  margin-right: 8px !important;
  margin-bottom: 10px !important;
}

#payment-form label {
  margin-bottom: 8px !important;
  display: block;
}

.payment-title {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 24px;
}

@media (max-width: 768px) {
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
    max-width: 350px;
    margin: 0 auto;
  }

  #payment-form {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .booking-summary {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .property-image {
    width: 100%;
    max-width: 100%;
    height: 180px;
  }
}

.custom-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-alert.hidden {
  display: none;
}

.custom-alert-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 1.1rem;
  position: relative;
}

.custom-alert-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.delist-flat-btn {
  background:orangered;
  border: 1px solid #ccc;
  color: white;
  padding: 8px 16px;
  border-radius: 20px; /* Fully rounded edges */
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.delist-flat-btn:hover {
  background: orangered;
  color: white;
}

/* Responsive Media Queries for Reports */
@media (max-width: 768px) {
        .reports-container {
          padding: 10px;
          margin-top: 80px;
        }

        .summary-cards {
          grid-template-columns: 1fr;
        }

        .section-header {
          flex-direction: column;
          align-items: stretch;
          gap: 15px;
        }

        /* Make tables horizontally scrollable on mobile */
        #bookings-table-container,
        #properties-table-container {
          overflow-x: auto;
          -webkit-overflow-scrolling: touch;
          margin: 0 -10px;
          padding: 0 10px;
        }

        .reports-table {
          font-size: 12px;
          min-width: 800px;
          width: 100%;
        }

        .reports-table th,
        .reports-table td {
          padding: 6px 4px;
          white-space: nowrap;
        }

        /* Adjust filter section for mobile */
        .filter-section {
          padding: 10px;
          margin: 0 -10px 15px -10px;
        }

        .filter-section > div {
          flex-wrap: wrap;
          gap: 10px;
        }

        .filter-section select,
        .filter-section input[type="date"] {
          min-width: 120px;
          font-size: 14px;
        }
      }

/* Responsive Media Queries for Admin Reports */
@media (max-width: 768px) {
        .admin-reports-container {
          padding: 10px;
          margin-top: 80px;
        }

        .admin-summary-cards {
          grid-template-columns: 1fr;
        }

        .admin-section-header {
          flex-direction: column;
          align-items: stretch;
          gap: 15px;
        }

        /* Make admin tables horizontally scrollable on mobile */
        #admin-bookings-table-container,
        #admin-properties-table-container {
          overflow-x: auto;
          -webkit-overflow-scrolling: touch;
          margin: 0 -10px;
          padding: 0 10px;
        }

        .admin-reports-table {
          font-size: 12px;
          min-width: 900px;
          width: 100%;
        }

        .admin-reports-table th,
        .admin-reports-table td {
          padding: 6px 4px;
          white-space: nowrap;
        }

        /* Adjust admin filter section for mobile */
        .filter-section {
          padding: 10px;
          margin: 0 -10px 15px -10px;
        }

        .filter-section > div {
          flex-wrap: wrap;
          gap: 10px;
        }

        .filter-section select,
        .filter-section input[type="date"] {
          min-width: 120px;
          font-size: 14px;
        }
      }

.no-bullets {
  list-style-type: none; /* remove bullets */
  padding-left: 0;       /* remove default indentation */
}
  /* Style links inside the no-bullets list */
  .no-bullets a {
    color: #1a73e8; /* blue color for clickable link */
    text-decoration: underline; /* optional, to emphasize it's a link */
  }
  .highlight {
    background-color: #ffff99; /* light yellow highlight */
    padding: 5px;
    border-radius: 4px; /* optional, rounded corners */
  }

/* Side-by-side container */
.side-by-side {
  display: flex;
  gap: 50px;
}

/* Only remove bullets for this class */
.side-by-side ul {
  list-style-type: none; /* remove bullets */
  padding: 0;
}

/* Make first two items bold */
.side-by-side ul li:nth-child(-n+1) {
  font-weight: bold;
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
  gap: 15px;
}

.pagination-info {
  color: #666;
  font-size: 14px;
}

.pagination-controls {
  display: flex;
  gap: 5px;
  align-items: center;
}

.pagination-btn {
  background: white;
  border: 1px solid #ddd;
  color: #333;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #2c5530;
}

.pagination-btn.active {
  background: #2c5530;
  color: white;
  border-color: #2c5530;
}

.pagination-btn:disabled {
  background: #f8f9fa;
  color: #ccc;
  cursor: not-allowed;
  border-color: #f0f0f0;
}

.items-per-page {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
}

.items-per-page select {
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .pagination-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .pagination-controls {
    justify-content: center;
    flex-wrap: wrap;
  }

  .pagination-btn {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 35px;
  }
}

/* Breakfast options styles */
.breakfast-options {
  margin: 15px 0;
}

.breakfast-options .input-group {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.breakfast-options label {
  display: flex;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}

.breakfast-options input[type="radio"] {
  margin-right: 10px;
}

.breakfast-info {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}

.breakfast-info.included {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.breakfast-info.additional {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.breakfast-info i {
  margin-right: 8px;
}

.breakfast-selection {
  margin: 20px 0;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.breakfast-selection label {
  display: flex;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}

.breakfast-selection input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.breakfast-radio {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 500;
}

.breakfast-radio input[type="radio"] {
  margin-right: 10px;
}

.breakfast-radio .checkmark {
  margin-left: 5px;
}