/* Tab Navigation */
.tab-container {
    display: inline-flex; /* Makes the buttons take only necessary space */
    justify-content: flex-start; /* Aligns to the left */
    align-items: center;
    position: relative;
    border-bottom: none; /*1px solid var(--border-color);*/
    padding: 0.5rem 0;
    gap: 5px; 
    width: 100%; /* Ensures container shrinks to fit buttons */
    margin-top: 0px;
}

.tab-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; /* Regular 1px */
    background-color: transparent;
    box-shadow: 0px 0.1px 0px var(--border-color); /* Creates a subpixel-thin effect */
    transform: scaleY(0.5);
}


.tab-button {
    flex: none; /* Prevents buttons from stretching */
    padding: 6px 20px;
    text-align: center;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-color);
    border-radius: 14px; /* Rounded corners for the highlight effect */
    white-space: nowrap; /* Ensures text stays in one line */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;  
    color: var(--text-color-regular);
}

.tab-button:hover {
    color: var(--text-color-regular);
    transform: scale(1.1);
    opacity: 0.8;    
    cursor: pointer;
}

.tab-button.active {
    background-color: rgba(0, 0, 0, 0.1); /* Light gray ellipse */
    color:var(--text-color-regular);
} 

/* Underline - Static */
.tab-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

