/* Block Feature Cards Toggle Component Styles */

/* Toggle Segmented Control */
.toggle-segmented-control {
    display: flex;
    gap: 4px;
    background-color: #dee7e3;
    border-radius: 24px;
    padding: 4px;
    position: relative;
    min-width: 280px;
}

.toggle-segment {
    flex: 1;
    padding: 8px 0;
    width: 240px;
    white-space: nowrap;
    border: none;
    background: transparent;
    color: #19352D;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 24px;
    position: relative;
    z-index: 1;
}

.toggle-segment:not(.toggle-segment--active):hover {
    background-color: #c4cdc9;;
    color: #19352D;
}

.toggle-segment--active {
    background-color: #ffffff;
    color: #19352D;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .toggle-segmented-control {
        min-width: 240px;
    }

    .toggle-segment {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .toggle-segmented-control {
        min-width: 200px;
    }

    .toggle-segment {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Card Badge Styles */
.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #E6F0FF;
    border-radius: 20px;
    padding: 6px 14px;
    width: fit-content;
}

.card-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-badge__icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.card-badge__icon svg path,
.card-badge__icon svg circle,
.card-badge__icon svg rect {
    stroke: #19352D;
    fill: #19352D;
}

.card-badge__text {
    color: #19352D;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

/* Responsive badge adjustments */
@media (max-width: 991px) {
    .card-badge {
        padding: 5px 12px;
        margin-top: 10px;
    }

    .card-badge__text {
        font-size: 13px;
    }

    .card-badge__icon svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 575px) {
    .card-badge {
        padding: 4px 10px;
        margin-top: 8px;
    }

    .card-badge__text {
        font-size: 12px;
    }

    .card-badge__icon svg {
        width: 12px;
        height: 12px;
    }
}

/* Max Width Utility */
.mw-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

