/* Form Container */
.defa-form-header{
	max-width:700px;
	height:auto;
	border-radius:12px;
	text-align:center;
	margin:auto;
	background: #e2f0f6;
	 padding: 35px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.defa-form-header h1{
	font-size:1.6rem;
	margin-bottom:10px;
}

.defa-form-header p{
	font-size:1rem;
}
#defa_booking_form {
    max-width: 700px;
    margin: 40px auto;
	margin-top:0px;
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif;
}

/* Step Titles */
.defa_step h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1A3E59;
	font-size: 1.4rem;
    text-align: left;
	border-bottom:1px solid #333;
	padding-bottom:10px;
}

/* Labels */
#defa_booking_form label {
    display: block;           /* Ensure label is above input */
    font-weight: 600;
    margin-bottom: 6px;
    color: #333333;
    margin-top: 15px;
	font-size: 1rem;
}

/* Inputs and Selects */
#defa_booking_form input[type="text"],
#defa_booking_form input[type="email"],
#defa_booking_form input[type="date"],
#defa_booking_form input[type="number"],
#defa_booking_form input[type="file"],
#defa_booking_form select {
    width: 100%;
	max-width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
	-webkit-appearance: none;  /* remove native styling */
    -moz-appearance: none;
    appearance: none;
	
}

/* Focus effect */
#defa_booking_form input:focus,
#defa_booking_form select:focus {
    border-color: #4285F4;
    box-shadow: 0 0 5px rgba(66,133,244,0.3);
    outline: none;
}

/* Buttons */
#defa_booking_form button.next_step,
#defa_booking_form button.prev_step,
#defa_booking_form button[type="submit"] {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Individual Button Colors */
#defa_booking_form button.next_step {
    background-color: #4285F4;
    color: #fff;
}

#defa_booking_form button.prev_step {
    background-color: #e2e8f0;
    color: #1A3E59;
    margin-right: 10px;
}

#defa_booking_form button[type="submit"] {
    background-color: #16a34a;
    color: #fff;
}
#defa_submit_btn {
    position: relative;
    min-width: 180px;
}

.btn-loader {
    width:auto;
    height: 18px;
    border-top: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
	padding-left:25px;
}
.btn-loader i{
	display: block;
	  animation: defa-spin 0.8s linear infinite;
	  float: left;
	  margin-left: -20px;
	  padding: 5px;
	  border-radius: 50%;
	  font-size: 14px;
	background:#fff;
}
@keyframes defa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#defa_submit_btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Hover effect */
#defa_booking_form button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Step container spacing */
.defa_step {
    margin-bottom: 20px;
}

/* Review section */
#review_all p {
    background: #f1f5f9;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Payment */
.defa-payment-details p{
	border: 2px dotted #bbb;
	font-size:1rem;
	padding:10px;
}
.pay-note{
	background:yellow;
	padding:10px;
	border-radius:10px;
	font-size:1rem;
}
.defa-payment-box {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
	padding:15px;
	border: 1px solid #ddd;
	background:azure;
	border-radius:15px;
}

.defa-qr-section {
    max-width: 250px;
    padding: 15px;
    background: #fff;
	border-radius:15px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	font-size:1rem;
}
.defa-qr-section img{
	width:100%;
}
.defa-pay-button {
    display: inline-block;
    padding: 10px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.defa-pay-button:hover {
    background: #005f8d;
}
.review-pay{
	padding:15px;
	border-radius:15px;
	border:2px solid yellow;
	font-size:1rem;
	margin-bottom:20px;
}
.review-pay h4{
	font-size:1.2rem;
}
/* Step indicator (optional) */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.step-indicator .step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #1A3E59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-indicator .step.active {
    background: #4285F4;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #defa_booking_form {
        padding: 20px;
    }
    #defa_booking_form button {
        width: 100%;
        margin-right: 0;
    }
}


/* Modal Overlay */
.defa_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

/* Modal Content */
.defa_modal_content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    z-index: 9999;
    max-height: 80%;
    overflow-y: auto;
}

/* Close button */
.defa_close_modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Outlined Button with Calendar Icon */
#defa_view_dates_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 500;
    color: #0073aa; /* Button text color */
    border: 2px solid #0073aa; /* Outlined border */
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

#defa_view_dates_btn svg {
    width: 20px;
    height: 20px;
    fill: #0073aa;
    flex-shrink: 0;
}

#defa_view_dates_btn:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

#defa_view_dates_btn:hover svg {
    fill: #fff;
}
