.stepwizard-step p {
    margin-top: 0px;
    color:#666;
}
.stepwizard-row {
    display: table-row;
}
.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard .btn.disabled, .stepwizard .btn[disabled], .stepwizard fieldset[disabled] .btn {
    opacity:1 !important;
    color:#bbb;
}
.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content:" ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-index: 0;
}
.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}
.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.panel-body h3{
    color:#333;
}
.itemListElement
{
    font-size: 14px;
    line-height: 18px;
    border-bottom: solid 1px #e5e5e5;
    cursor: pointer;
    padding: 8px 0 8px 0;
}
.accordion-body > .itemListElement:last-child {
    border: 0;
}

.item_details
{
    width: auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
}

.servide_name
{
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    padding-right: 15px;
    color: #979797;
    -webkit-flex: 1;
}

.item_label
{
    color: #9e8a78;
    border-color: #9e8a78;
    background: white;
    font-size: 12px;
    font-weight: 700;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active 
{
    color: #fff;
    background-color: #9e8a78;
    border-color: #9e8a78;
}

.item_select_part
{
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    flex-shrink: 0;
}

.select_item_bttn
{
    width: 100px;
    display: flex;
    margin-left: 30px;
    -webkit-box-pack: end;
    justify-content: flex-end;
}

.service_duration_field
{
    text-align: right;
    min-width: 60px;
    width: auto;
    color: rgb(151, 151, 151);
    line-height: 1.29;
    font-size: 12px;
}

.service_price_field
{
    width: auto;
    display: flex;
    margin-left: 30px;
    -webkit-box-align: baseline;
    align-items: baseline;
    font-weight: bold;
}
.service_price_field span {
    color: #666;
}

.barbers-list {
    background: #fff;
    padding: 10px;
}
.barbers-list > .itemListElement:last-child {
    border: 0;
}
.barbers-list .item_label.btn {
    margin: 0;
}
.item_barber_name {
    font-weight: bold;
    color: #666;
}
.item_barber {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}
.item_barber_pic {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e5e5;
    background: #f3f3f3;
    transition: border-color .15s, transform .15s;
}
.item_barber_initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
}
.itemListElement:has(.radio_employee_select:checked) .item_barber_pic {
    border-color: #ce9c6b;
    transform: scale(1.06);
}
.itemListElement:has(.radio_employee_select:checked) .item_barber_name {
    color: #333;
}
.radio_employee_select
{
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

.calendar_tab .item_details {
    align-items: start;
}
.calendar_tab .item_details > div {
    width: 50%;
    text-align: center;
}
.available_booking_hour:hover{
    font-weight: 700;
}
.available_booking_hour {
    font-size: 14px;
    padding: 10px 25px;
    line-height: 1.3;
    cursor: pointer;
}
input[type="radio"].available_booking_input {
    display: none;
}
input[type="radio"].available_booking_input:checked + label {
    font-weight: 700;
    background: #ce9c6b
}

.client-details {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}
.client-details h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}
.client-details .control-label {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-bottom: 4px;
}
.client-details .form-control {
    height: 44px !important;
    font-size: 15px;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    transition: border-color .15s, box-shadow .15s;
}
.client-details textarea.form-control {
    height: auto !important;
    min-height: 88px;
}
.client-details .form-control::placeholder {
    color: #aaa;
}
.client-details .form-control:focus {
    border-color: #ce9c6b;
    box-shadow: 0 0 0 3px rgba(206, 156, 107, .2) !important;
}

/* resumo da marcação */
.booking-summary {
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #ce9c6b;
    padding: 16px 20px;
    margin-bottom: 12px;
    color: #333;
}
.booking-summary:empty {
    display: none;
}
.booking-summary-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #ce9c6b;
    margin-bottom: 10px;
}
.booking-summary-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    margin: 0;
    font-size: 14px;
}
.booking-summary-list dt {
    font-weight: 400;
    color: #888;
}
.booking-summary-list dd {
    margin: 0;
    font-weight: 600;
}

/* página de marcação confirmada */
.booking-done {
    background: #fff;
    color: #333;
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.booking-done-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ce9c6b;
    color: #fff;
    font-size: 28px;
    line-height: 64px;
}
.booking-done-error .booking-done-icon {
    background: #dc3545;
}
.booking-done-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}
.booking-done-lead {
    color: #666;
    margin-bottom: 20px;
}
.booking-done-when {
    display: flex;
    flex-direction: column;
    background: #faf6f1;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 20px;
}
.booking-done-day {
    font-size: 15px;
    color: #666;
}
.booking-done-hour {
    font-size: 2rem;
    font-weight: 700;
    color: #ce9c6b;
    line-height: 1.2;
}
.booking-done-list {
    text-align: left;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.booking-done-note {
    font-size: 14px;
    color: #666;
    margin: 16px 0 0;
}
.booking-done-note .fa {
    color: #ce9c6b;
    margin-right: 4px;
}
.booking-done-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.booking-done-actions .btn {
    min-width: 160px;
}
.booking-done-help {
    font-size: 13px;
    color: #888;
    margin: 20px 0 0;
}
.booking-done-help a {
    color: #ce9c6b;
    font-weight: 600;
}
@media (max-width: 575px) {
    .booking-done {
        padding: 24px 16px;
    }
    .booking-done-actions .btn {
        width: 100%;
    }
}

/* botões anterior / continuar */
.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}
.step-actions .btn {
    margin: 0;
    min-width: 110px;
}

#agendamento {
    padding-top: 200px;
}
#page-agendamento > .container {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 100px;
}

.booking-info {
    width: 500px;
    margin: 0 auto;
}
.item_prod_name {
    width: 250px;
}
.service_price_field {
    width: 50px;
}
.accordion-button {
    padding: 10px;
}
.accordion-button:focus {
    box-shadow: rgba(0, 0, 0, 0.25)!important;
}
/* calendário de agendamento */
.cal-wrap {
    background: #fff;
    color: #333;
    border-radius: 8px;
    padding: 16px;
    margin: 0 auto;
    text-align: left;
}
.cal-empty {
    margin: 0;
    text-align: center;
    color: #666;
}
.cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}
.cal-nav {
    border: 0;
    background: #f1f1f1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    line-height: 1;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}
.cal-nav:disabled {
    opacity: .3;
    cursor: default;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}
.cal-dow {
    font-size: 12px;
    color: #888;
    padding: 4px 0;
}
.cal-day {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 20px;
    padding: 7px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}
.cal-day:disabled {
    border-color: transparent;
    background: transparent;
    color: #bbb;
    font-weight: 400;
    cursor: default;
}
.cal-day.selected {
    background: #ce9c6b;
    border-color: #ce9c6b;
    color: #fff;
}
.cal-slots {
    margin-top: 16px;
    border-top: 1px solid #eee;
    padding-top: 12px;
}
.cal-slots-title {
    font-weight: 600;
    margin-bottom: 10px;
}
.cal-relative {
    margin-left: .75rem;
    font-size: .8em;
    font-weight: 400;
    color: #ce9c6b;
}
.cal-cols {
    display: flex;
    gap: 12px;
}
.cal-col {
    flex: 1;
}
.cal-col h6 {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.cal-none {
    text-align: center;
    color: #bbb;
}
.cal-slots .available_booking_hour {
    display: block;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 0;
    margin-bottom: 8px;
}
.cal-slots input[type="radio"].available_booking_input:checked + label {
    border-color: #ce9c6b;
}
:root {
    --bs-primary-bg-subtle: #ce9c6b;
    --bs-accordion-active-color: #ffffff;
    --bs-primary-text-emphasis: #ffffff;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25)!important;
}

.alert.alert-danger {
    background: #fff3cd;
    color: #856404;
}


@media (max-width: 768px) {
    #agendamento {
        padding-top: 20px;
    }
    #page-agendamento {
        padding: 0 5px 0 10px;
    }
    #page-agendamento > .container {
        padding: 0;
    }
    #page-agendamento .item_prod_name {
        font-size: 12px;
    }
    #page-agendamento .service_price_field {
        font-size: 12px;
        width: 65px;
    }
    .panel-body h3 {
        font-size: 1.25rem;
    }
    .ftco-footer {
        padding: 40px 0;
    }
}