/* Basic DAP styles (trimmed) */
#dap-ui { max-width:900px; margin:auto; }
.dap-step-box { padding:20px; border:1px solid #ddd; border-radius:8px; margin-bottom:16px; background:#fff; }
.dap-steps-bar { display:flex; gap:8px; margin-bottom:12px; }
.dap-step-item { padding:10px; background:#eee; border-radius:6px; font-weight:600; flex:1; text-align:center; }
.dap-step-item.active { background:#511213; color:#fff; }
.dap-error { color:#c00; display:none; margin-top:6px; }
.dap-btn-next, .dap-btn-prev { padding:10px 14px; border:none; border-radius:6px; cursor:pointer; margin-top:10px; }
.dap-btn-next { background:#511213; color:#fff; }
.dap-btn-prev { background:#999; color:#fff; }
.dap-fee-display { margin-top:12px; font-weight:700; }
#dap-wrap input, #dap-wrap select, #dap-wrap textarea { width:100%; max-width:420px; padding:8px; margin-bottom:8px; }
#dap-wrap label{font-weight:600;}
.dap-next, .dap-prev { padding:8px 12px; background:#528FF0; color:#fff; border:none; border-radius:4px; cursor:pointer; }
#dap_response { margin-top:12px; }
/* MAIN CONTAINER */
#dap-ui {
    max-width: 900px;
    margin: auto;
}
.doctor-description {
    text-align: left;
    font-size: 16px;
    line-height: 30px;
}
.doctor-description strong {
    font-weight: 600;
}
.consult-opts.consult-online {
    display: flex;
    gap: 30px;
}
.consult-opts.consult-online strong {
    margin-bottom: 10px;
    display: block;
}
.consultation-type>div {
    background-color: #fdedef;
    padding: 20px 20px 6px;
    border-radius: 10px;
    transition: .5s;
}
.consultation-type>div:hover {
    background-color: rgb(238 250 246);
}
.consultation-type {
    display: grid;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 18px;
    grid-template-columns: .7fr 1.3fr;
    align-items: start;
}
.dap-single-doctor {
    display: flex;
    gap: 20px;
}
input#dap_date::-webkit-calendar-picker-indicator {
    display: none !important;
}
.dap-step-box.last-step {
    text-align: center;
    font-size: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.dap-step-box.last-step p {
    margin: 0;
}
.dap-single-doctor img {
    height: auto;
}
.dap-single-doctor h3 {
    font-size: 26px;
    font-weight: 600;
    text-align: left;
    margin-top: 0;
    margin-bottom: 16px;
    color: #511213;
}
.dap-single-doctor p {
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 6px;
    margin-top: 0;
}
.dap-error {
    color: #ff2d2d;
    font-size: 14px;
    margin: 5px 0 10px 0;
    font-weight: 600;
    display: none;
}

.dap-calendar-box {
    width: fit-content;
}
/* PROGRESS BAR */
.dap-steps-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.dap-step-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    background: #e9e9e9;
    border-radius: 6px;
    margin: 0 4px;
    font-weight: 600;
    color: #555;
    transition: 0.3s;
    font-size: 16px;
}

.dap-step-item.active {
    background: #511213;
    color: #fff;
}

/* STEP BOX */
.dap-step-box {
    padding: 25px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 30px;
    box-shadow: 0 2px 11px rgba(0, 0, 0, .1);
}

.dap-step-box h2 {
    font-size: 20px;
    font-weight: 600;
}

/* GRID SYSTEM FOR CALENDAR + TIME SLOTS */
.dap-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 25px;
}

/* CALENDAR BOX */
.dap-calendar-box label {
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
    font-size: 18px;
}

.dap-calendar-box input[type="date"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* SLOTS SECTION */
#dap_slots_list
 {
    display: flex;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 5px;
}

.dap-slots-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.dap-slot-btn {
    padding: 7px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    transition: 0.25s;
}

.dap-slot-btn:hover {
    border-color: #D49E2E;
}

.dap-slot-btn.active {
    background: #D49E2E;
    border-color: #D49E2E;
    color: #fff;
}

/* FORM INPUTS */
#dap-ui input, 
#dap-ui select, 
#dap-ui textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    box-sizing: border-box;
}

/* BUTTONS */
.dap-btn-next, .dap-btn-prev {
    background: #511213;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    transition: 0.2s;
}

.dap-btn-prev {
    background: #999;
}

.dap-btn-next:hover {
    background: #000;
}

.dap-btn-prev:hover {
    background: #777;
}

/* FEE DISPLAY */
.dap-fee-display {
    font-size: 23px;
    margin-top: 10px;
    font-weight: 700;
    color: #cd9933;
}
.success {
    color: green;
    font-size: 28px !important;
    margin: 0;
}
input[type="radio"] {
    width: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}
.consultation-type label {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    display: block;
    margin-bottom: 15px;
    height: auto !important;
}
.consultation-type>div>label {
    font-weight: 700;
}
.consult-opts.consult-online label {
    font-size: 16PX;
}
.consult-sub:checked ~ span,
label:has(.consult-sub:checked) span {
    color: #cd9933 !important;
    font-weight: 700;
    font-size: 18px;
}
.consult-opts.consult-clinic label {
    font-size: 16PX;
}
.dap-steps-bar.mobile {
    display: none;
}
span.mkl {
    font-weight: 600;
    margin-left: 10px;
    font-size: 16px;
    color: #511213;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .dap-steps-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}
.dap-steps-bar.mobile {
    display: flex;
}
.dap-steps-bar.desk {
    display: none;
}
.dap-step-item {
    min-width: fit-content;
}
.dap-grid {
    grid-template-columns: 1fr;
}
.consultation-type {
    grid-template-columns: 1fr;
    gap: 20px;
}
.dap-single-doctor {
    flex-direction: column;
    align-items: center;
}
button.dap-btn-next.nmk {
    margin: 0 auto;
    display: block;
    font-size: 16px;
}    
.consult-opts.consult-online {
    gap: 0px;
    flex-direction: column;
}
button.dap-btn-next.dcnm {
    margin: 0 auto;
    display: block;
    font-size: 18px;
}
}
