.zf-tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.zf-tabs-nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
}

.zf-tab {
    position: relative;
    padding: 10px 12px;
    background: var(--zf-card-bg, #fff);
    border: none;
    border-radius: 15px 15px 0 0;
    color: var(--zf-text-secondary, #767676);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.zf-tab:hover:not(:disabled) {
    color: var(--zf-primary, #1870D1);
    background-color: var(--zf-primary-light, rgba(24, 112, 209, 0.08));
}

.zf-tab.active {
    background: var(--zf-primary, #1870D1);
    color: #fff;
    font-weight: 600;
}

.zf-tab:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.zf-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 112, 209, 0.3);
}

.zf-tabs-content {
    position: relative;
    min-height: 100px;
    background: var(--zf-card-bg, #fff);
    padding: 23px;
    border-radius: 0 0 14px 14px;
}

.zf-tab-pane {
    animation: zf-tab-fadeIn 0.2s ease-in-out;
}

.zf-tab-pane:not(.active) {
    display: none;
}

.zf-tab-pane:focus {
    outline: none;
}

@keyframes zf-tab-fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

