.tabs {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.tab {
    padding: 12px 16px;
    cursor: pointer;
    background-color: #f8f9fa;
    border-right: 1px solid #ddd;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 0 1 auto;
    text-align: center;
    min-width: 120px;
}

.tab:last-child {
    border-right: none;
}

.tab:hover {
    background-color: #e9ecef;
}

.tab.active {
    background-color: #3498db;
    color: white;
}

.tab-content {
    display: none;
    padding: 20px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
}

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