/* Form Container */
.ss-ssb-container {
  --primary-color: #1f2937;
  --secondary-color: #62ADE4;
  --accent-color: #4f46e5;
  --error-color: #ef4444;
  --text-color: #374151;
  --border-color: #e5e7eb;
  --hover-color: #2563eb;
  --spacing-unit: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  max-width: 100%;
  margin: 0 auto;
}

/* Form Elements */
.ss-ssb-container select,
.ss-ssb-container input[type="number"] {
  width: 100%;
  height: 2.5rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  background-color: #fff;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.875rem;
  margin: 0;
}

.ss-ssb-container input[type="number"] {
  background-image: none;
}

.ss-ssb-container select:focus,
.ss-ssb-container input[type="number"]:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Labels */
.ss-ssb-container label:not(.sr-only) {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

/* Field Groups */
.field-group {
  margin-bottom: 4px;
  position: relative;
}

.field-group:last-child { 
  margin-bottom: 1rem;
}

/* Grid Layout */
.ss-ssb-container .grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.ss-ssb-container .grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Date Selection Display */
#checkin-day,
#checkout-day {
  font-size: 0.75rem;
  color: var(--accent-color);
  margin-top: 0.5rem;
  display: block;
  color:red;
}

/* Price Box */
#ss_price_box {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 0.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

#ss_breakdown { 
  font-size: 0.95rem;
  line-height: 1.5;
}

#ss_breakdown p {
  margin: 0.5rem 0;
  display: flex;
  justify-content: space-between;
}

#ss_breakdown h3 { 
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

/* Buttons */
.ss-ssb-container .btn-book {  
  border-radius: 0.5rem; 
  margin: 1rem 0;
}

.ss-ssb-container .btn-book:hover {  
  transform: translateY(-1px);
}

#ss_reserve {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.ss-ssb-container #ss_reserve[style*="opacity: 0.5"] {
  cursor: not-allowed;
}

/* Checkbox styling */
#ss_agree {
  margin-right: 0.5rem;
}

/* Guest Counter styling */
#ss_guests {
  padding-right: 0.75rem;
}

/* Contact section */
.ss-ssb-container .mt-6 {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.ss-ssb-container .mt-6 p {
  margin: 1rem 0;
  color: var(--text-color);
  font-size: 1.1rem;
}

.ss-ssb-container .mt-6 a {
  color: var(--secondary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ss-ssb-container .mt-6 a:hover {
  color: var(--hover-color);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .ss-ssb-container .grid.grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .ss-ssb-container .gap-4 {
    gap: 1rem;
  }
}

/* Field Labels */
.field-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.flex-wrapper {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 575px) {
  .flex-wrapper {
    flex-direction: column;
  }
}

/* Add visible labels */
.input-group {
  width: 50%;
  position: relative;
  margin-bottom: 0px;  
}

@media(max-width:575px){
  .input-group {
    width: 100%;
  }
}

.input-group:last-child {
  margin-bottom: 0;
}

.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

/* Message display */
#ss_message {
  padding: 0.75rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

#ss_message.error {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

#ss_message.success {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}

/* Additional form styling */
.field-hint {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.375rem;
}

.notice-box {
  background-color: #f3f4f6;
  border-left: 4px solid var(--accent-color);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-radius: 0.25rem;
}

.notice-box p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-color);
}

/* .date-info {
  margin-top: 0.375rem;
} */

.date-info p {
  color: var(--text-color);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Title styling */
.ssBlkHeader {
  background: var(--primary-color);
  border-radius: 0.5rem 0.5rem 0 0;
}

.ssBlkHeader h2 {
  margin: 0;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.ss-ssb-container .property-form{
  padding-top:0px !important;
  padding-bottom:0px !important;

}

.ss-ssb-container .icon-paw,
.ss-ssb-container .icon-person-swimming,
  .ss-ssb-container .icon-users {
  font-size: 24px !important; /* or larger */
}
