/* Tab Menu Styles */

/* Container for the tab menu */
.tabmenu {
    position: relative;
    padding: 15px;
    background: #FFF;
    box-shadow: 5px 6px 10px 0px rgba(0, 0, 0, 0.05);
    border-radius: 1em;
    margin: 10px 0px 0 0px;
    max-width: 622px;
    width: 100%;
    margin-bottom: 20px;
    color: #464646;
    font-size: 0.8em;
}

/* Horizontal menu styling */
.tabmenu .horizontal-menu {
    height: 24px;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

/* Individual tab styling */
.tabmenu .horizontal-menu .tab {
    flex: 0 0 auto;
    max-width: 150px;
    height: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.tabmenu .horizontal-menu .tab span {
    position: relative;
    padding: 0 3px;
}

.tabmenu .horizontal-menu .tab span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background-color 0.3s, transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: center bottom;
    border-radius: 5px;
}

.tabmenu .horizontal-menu .tab:hover span::after,
.tabmenu .horizontal-menu .tab[selected] span::after {
    transform: scaleX(1);
    background-color: #949494;
}

.tabmenu .horizontal-menu .tab[selected] span::after {
    transform: scaleX(1);
    background-color: #feb603;
}
