/* Modern Offer Modal Styles */
.offer-modal .modal-dialog {
  max-width: 1000px;
  margin: 1.75rem auto;
}

.offer-modal .modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modal-close-btn:hover {
  background: #fff;
  transform: scale(1.05);
}

.modal-close-btn i {
  font-size: 14px;
  color: #333;
}

.offer-modal-container {
  display: flex;
  min-height: 600px;
  max-height: 80vh;
}

/* Sidebar Styles */
.offer-modal-sidebar {
  width: 40%;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.sidebar-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.sidebar-content {
  padding: 20px;
}

.sidebar-property {
  margin-bottom: 20px;
}

.sidebar-property-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.sidebar-property-location {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.sidebar-property-location i {
  margin-right: 5px;
  font-size: 14px;
  color: #666;
}

.offer-price {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.price-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.price-value {
  display: flex;
  align-items: center;
}

.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-right: 10px;
}

.current-price {
  font-size: 24px;
  font-weight: 600;
  color: #d32f2f;
}

.price-discount {
  background: #ffebee;
  color: #d32f2f;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
}

.offer-meta {
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
}

.meta-item i {
  width: 20px;
  margin-right: 8px;
  color: #666;
}

.sidebar-cta {
  padding: 15px 20px;
  background: #fff;
  position: sticky;
  bottom: 0;
  border-top: 1px solid #eee;
}

.book-now-btn {
  display: block;
  width: 100%;
  /* padding: 12px; */
  background: #d32f2f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.book-now-btn:hover {
  background: #b71c1c;
  color: white;
}

/* Main Content Styles */
.offer-modal-main {
  width: 60%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.offer-modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
}

.offer-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.offer-modal-content {
  flex: 1;
  overflow-y: auto;
}

.offer-details-wrapper {
  padding: 25px;
}

.offer-section {
  margin-bottom: 25px;
}

.offer-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.offer-section-title i {
  margin-right: 8px;
  color: #d32f2f;
  font-size: 16px;
}

.offer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

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

.feature-item {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
}

.feature-item i {
  color: #e53935;
  margin-right: 8px;
  font-size: 12px;
}

/* Form Styles */
.enquiry-form {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.form-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
}

.form-label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-control:focus {
  border-color: #ef9a9a;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15);
}

.form-submit {
  padding: 10px 15px;
  background: #d32f2f;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.form-submit:hover {
  background: #b71c1c;
}

.form-text {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
  .offer-modal-container {
    flex-direction: column;
    max-height: none;
  }
  
  .offer-modal-sidebar,
  .offer-modal-main {
    width: 100%;
  }
  
  .offer-modal-sidebar {
    max-height: none;
  }
  
  .sidebar-image {
    height: 200px;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .offer-modal .modal-dialog {
    margin: 0.5rem;
  }
  
  .offer-modal-container {
    min-height: auto;
  }
  
  .sidebar-content {
    padding: 15px;
  }
  
  .offer-details-wrapper {
    padding: 15px;
  }
  
  .sidebar-property-name {
    font-size: 16px;
  }
  
  .current-price {
    font-size: 20px;
  }
}