/**
 * Octo Doctor Scheduler - Category Buttons Widget CSS
 */
.octo-categories-buttons-wrap {
    box-sizing: border-box;
    width: 100%;
}

.octo-categories-buttons-wrap *,
.octo-categories-buttons-wrap *::before,
.octo-categories-buttons-wrap *::after {
    box-sizing: inherit;
}

/* Flex / Inline Layout */
.octo-categories-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Grid Layout */
.octo-categories-grid {
    display: grid;
}

/* Button Item */
.octo-cat-btn.elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    background-color: #f1f5f9;
    color: #0e7490;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    max-width: 100%;
}

.octo-cat-btn.elementor-button:hover,
.octo-cat-btn.elementor-button:focus-visible {
    background-color: #0e7490;
    color: #ffffff;
    border-color: #0e7490;
    outline: none;
}

.octo-cat-btn .elementor-button-content-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.octo-cat-btn .elementor-button-text {
    display: inline-block;
    word-break: break-word;
}

.octo-cat-btn .elementor-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
}

.octo-cat-btn .elementor-button-icon svg,
.octo-cat-btn .elementor-button-icon i {
    transition: fill 0.2s ease, color 0.2s ease;
}

.octo-cat-btn .octo-btn-icon-left {
    margin-right: 8px;
}

.octo-cat-btn .octo-btn-icon-right {
    margin-left: 8px;
}

/* Stretch modifier */
.octo-categories-inline.octo-align-stretch .octo-cat-btn {
    flex: 1 1 auto;
    text-align: center;
}

/* Service Price Badge */
.octo-cat-btn .octo-service-price {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.88em;
    font-weight: 500;
    opacity: 0.9;
    padding: 2px 7px;
    border-radius: 4px;
    background-color: rgba(14, 116, 144, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.octo-cat-btn.elementor-button:hover .octo-service-price,
.octo-cat-btn.elementor-button:focus-visible .octo-service-price {
    background-color: rgba(255, 255, 255, 0.22);
    color: inherit;
}

