/*Booking Stat Style*/

.booking-stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-lg, 16px); /* Uses Impreza spacing variable */
}

.dashboard-stats
{
        padding: 1rem;
    background: var(--color-content-bg-alt);
    border-radius: 0.3rem;
    border: 1px solid var(--color-content-border);
}

/* .booking-stats {
    flex: 1;
    min-width: 220px;
    padding: var(--spacing-md, 1.0rem);
    background-color: var(--color-content-bg-alt, white);
    border-radius: var(--border-radius-md, 8px);
} */

/* Headings */


/* Prices */
.booking-stats-value {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Ensure consistent box height */
.booking-stats {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .booking-stats {
        min-width: 100%;
    }
}

/*Upcoming Order Styles*/

.upcoming-order-container {
    /* border: 1px solid #d1e3f8;
    border-radius: 8px;
    padding: 20px; */
    max-width: 400px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background-color: #f9fbff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
}

.upcoming-order-container h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #555;
    font-size: 18px;
    font-weight: 500;
}

.booking-date-time {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.booking-service {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.booking-client-info {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.client-name-email {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.client-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.client-email-icon {
    color: #888;
    font-size: 18px;
    cursor: pointer;
}

.client-phone {
    color: #666;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.client-phone:before {
    content: "\f879";
    font-family: "fontawesome";
    margin-right: 5px;
    color: #888;
}


.booking-card {
    flex: 1 1 calc(25% - 16px);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    min-width: 200px;
}

.booking-card-header {
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
    font-weight: 500;
}

.booking-card-value {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    margin-bottom: 4px;
}

.booking-card-subtext {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.booking-card-footer.warning {
    font-size: 13px;
    color: #f97316; /* Tailwind's orange-500 */
}

.booking-card-footer.warning span {
    font-weight: 500;
    margin-left: 4px;
}

.booking-split {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-split-item {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #555;
}

.booking-split-item strong {
    color: #222;
}

.booking-card-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 14px;
    color: #333;
}

.top-services li {
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .booking-card {
        flex: 1 1 100%;
    }
}

/*Subscriptions Styles*/
/*.order_details{*/
/*    display: none;*/
/*}*/

.notice-fields {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
}

.notice-item {
    flex: 1;
    max-width: 500px;
}

.inline-input-suffix {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-input {
    margin-top: 0.5rem;
}

.inline-input-suffix .form-input {
    flex: 0 0 80%;
}

.suffix-label {
    font-weight: 500;
    color: #555;
}


/*.woocommerce-orders-table--orders {*/
/*    display: none;*/
/*}*/
/*.woocommerce-customer-details {*/
/*    display: none;*/
/*}*/

/*.woocommerce-MyAccount-content h2 {*/
/*    display: none !important;*/
/*}*/

.availability-row {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 40px 1.2fr 1.2fr 50px 50px;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.availability-row input,
.availability-row select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.availability-row span {
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.availability-row button {
    padding: 10px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    background-color: #eee;
    cursor: pointer;
}

.availability-row button:hover {
    background-color: #ddd;
}

.availability-header {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 0px 1.2fr 1.6fr 0px 0px;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}


/* Tooltip styles */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: help;
}
.tooltip-container .tooltip {
    display: none;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}
.tooltip-container:hover .tooltip {
    display: block;
}
.tooltip-icon {
    color: #666;
    font-size: 14px;
}


.deposit-policy-box {
    border: 1px solid #eee;
    border-left: 6px solid #e84d4d;
    border-radius: 4px;
    padding: 20px 24px;
    background-color: #fefefe;
    position: relative;
    margin-bottom: 50px;
}

.deposit-policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fef0f0;
    padding: 12px 16px;
    margin: -20px -24px 20px -24px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 16px;
    color: #cc2b2b;
}

.deposit-policy-header .close-icon {
    color: #999;
    font-size: 18px;
    cursor: default;
    pointer-events: none; /* disable interactions (view only) */
}

.deposit-policy-content p {
    margin-bottom: 14px;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.deposit-policy-content b {
    font-weight: 600;
}

.auto-reply-group {
    margin-bottom: 24px;
}

.auto-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.auto-reply-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reply-label {
    margin-top: 10px;
}

.auto-reply-description {
    color: #666;
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}

.auto-reply-textarea:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:checked + .slider:before {
    transform: translateX(20px);
}

/* Disable iframe interaction (Visual mode) */
.auto-reply-editor.is-disabled iframe {
    pointer-events: none;
    opacity: 0.6;
}

/* Dim toolbar and prevent interaction */
.auto-reply-editor.is-disabled .mce-toolbar,
.auto-reply-editor.is-disabled .mce-menubar,
.auto-reply-editor.is-disabled .mce-container-body,
.auto-reply-editor.is-disabled .mce-container-body p {
    pointer-events: none;
    opacity: 0.5;
}

/* Optional: visually mark the editor as disabled */
.auto-reply-editor.is-disabled {
    border: 1px solid #eee;
    background-color: #f5f5f5;
}
