/* index.components.hometab — extracted from inline <style> for HTML validity. Linked from hometab.blade.php. */
.hometab-tabs {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 48px;
    margin: 40px 0 20px;
}

.hometab-tabs .tab-item {
    align-items: center;
    gap: 12px;
    padding: 5px 12px;
    min-width: 100px;
    width: fit-content;
    white-space: nowrap;
    height: 36px;
    border-radius: 999px;
    border: 2px solid #ccc;
    cursor: pointer;
    position: relative;
    background-color: #e8e8e8;
    transform: scale(0.92) translateY(0);
    z-index: 1;
    margin-left: -40px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    justify-content: flex-start;
    color: rgba(47, 51, 62, 0.6);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease,
        z-index 0s 0.35s;
}

.hometab-tabs .tab-item span {
    display: none;
}

.hometab-tabs .tab-item.active~.tab-item {
    justify-content: flex-end;
}

.hometab-tabs .tab-item:hover {
    border-color: #ffaa00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hometab-tabs .tab-item:first-child {
    margin-left: 0;
}

.hometab-tabs .tab-item:not(.active):last-child {
    margin-right: 0;
}

.hometab-tabs .tab-item.active {
    background-color: #ffaa00;
    color: #2F333E;
    transform: scale(1) translateY(-3px);
    z-index: 10;
    border: 2px solid #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    font-size: 24px;
    height: 48px;
    font-family: "default_bold";
    font-weight: 700;
    justify-content: space-between;
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease,
        z-index 0s 0s;
}

.hometab-tabs .tab-item.active span {
    display: inline-flex;
}

.hometab-tabs .tab_iconx {
    font-size: 20px;
}

@media (max-width:768px) {
    .hometab-tabs {
        margin: 16px 0 2px;
    }

    .hometab-tabs .tab-item.active {
        height: 42px;
    }

    .hometab-tabs .tab-item {
        font-size: 14px;
        padding: 3px 12px;
        height: 32px;
        width: fit-content;
        white-space: nowrap;
        margin-left: -40px;
    }

    .hometab-tabs .tab-item.active {
        transform: scale(1) translateY(-2px);
        padding: 0px 12px;
        font-size: 14px;
        justify-content: space-between;
        color: #2F333E;
    }

    .hometab-tabs .tab_iconx {
        font-size: 18px;
    }
}
