
/* Main Content Layout */
.pci-compliant {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
}
.pci-compliant svg{
    margin-right:10px
}
.main-content {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: white;
}

.payment-form-section {
    flex: 1;
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.booking-summary {
    width: 350px;
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
    padding: 25px;
    position: sticky;
    top: 20px;
}

/* Form Styles */
.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.form-section {
    padding: 25px;
    /* margin-bottom: 25px; */
}

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

.form-group {
    flex: 1;
    min-width: 200px;
}

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

.form-group.required label::after {
    content: " *";
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}
.payment-error-message{
     color: #e74c3c;
    font-size: 14px;
    margin: 5px;
}
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error .form-control {
    border-color: #e74c3c;
}

.error .error-message {
    display: block;
}


/* Checkbox Styles */
.checkbox-group {
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 10px;
    /* margin-top: 3px; */
}

.checkbox-group label {
    font-size: 15px;
}

.checkbox-group a {
    color: #0066cc;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Property Info */
.property-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.booking-summary .image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

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

.detail-value {
    font-weight: 500;
    font-size: 16px;
}

/* Price Breakdown */
.price-breakdown {
    margin-bottom: 25px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.price-row.total {
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

/* Payment Schedule */
.payment-schedule {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 25px;
}

.schedule-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.schedule-note {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}



/* Button */
.btn-primary {
    display: block;
    width: 100%;
    background-color:var( --e-global-color-primary );
    color: white;
    border: none;
    border-radius: 4px;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 25px;
}


.btn-primary:hover ,.btn-primary:focus{
    background-color: var( --e-global-color-primary );
}


/* Non-refundable badge */
.non-refundable {
    display: inline-block;
    background-color: #f8d7da;
    color: #721c24;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}
#card-element {
  padding: 12px 14px;
  border: 1px solid #d1d5db;      /* default border */
  border-radius: 8px;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Focused */
#card-element.StripeElement--focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

/* Invalid */
#card-element.StripeElement--invalid {
  border-color: #dc2626;
}

/* Complete */
#card-element.StripeElement--complete {
  border-color: #16a34a;
}


/* Responsive adjustments */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }
    
    .booking-summary {
        width: 100%;
    }
}

/* @media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .booking-details {
        grid-template-columns: 1fr;
    }
    
    footer {
        flex-direction: column;
    }
} */




.skeleton-container { 
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Skeleton Base */
.skeleton {
  background-color: #e0e0e0;
  border-radius: 4px;
  animation: pulse 1.5s infinite;
}

/* Specific Skeleton Sizes */
.skeleton-title {
  height: 35px;
  width: 60%;
  margin-bottom: 20px;
}

.skeleton-input {
  height: 50px;
  width: 100%;
  margin-bottom: 15px;
}

.skeleton-button {
  height: 40px;
  width: 100%;
  margin-top: 10px;
  border-radius: 6px;
}

/* Row Styling for Expiry & CVV */
.skeleton-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.skeleton-row .skeleton {
  flex: 1;
}

/* Pulse Animation */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}
