/**
 * Solo Wrapper Tabs CSS
 * Fájl: includes/assets/css/shared/solo-wrapper-tabs.css
 * A tab-rendszer stílusa a data-wrapper-type-tal ellátott Solo
 * wrapperekhez (bank, és a jövőben más wrapperek is). NEM azonos
 * a solo-tab-system.css-szel — az a settings-wrapperhez kötött,
 * saját mintát követő fájl, ezt szándékosan nem bántjuk.
 * @version 3.2.0
 */
.flow-tab-container,
.flow-tab-container *,
.flow-cash-flow-planner,
.flow-cash-flow-planner * {
    box-sizing: border-box;
}
.flow-tab-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 20px 2%;
}
/* ============================================
   TAB NAVIGÁCIÓ
   ============================================ */
.flow-tab-nav {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    border-bottom: 3px solid #e0e0e0 !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    list-style: none !important;
}
.flow-tab-btn {
    flex: 1 1 auto !important;
    min-width: 150px;
    padding: 15px 20px !important;
    background: #f5f5f5 !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #666 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    position: relative;
    margin: 0 0 -3px 0 !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 1.4 !important;
    width: auto !important;
    height: auto !important;
}
.flow-tab-btn:hover {
    background: #e8e8e8 !important;
    color: #223a5e !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.flow-tab-btn:focus,
.flow-tab-btn:focus-visible,
.flow-tab-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border-bottom-color: #223a5e !important;
    background: #fff !important;
    color: #223a5e !important;
}
.flow-tab-btn.active {
    background: #fff !important;
    color: #223a5e !important;
    border-bottom-color: #223a5e !important;
    font-weight: 600 !important;
    outline: none !important;
    box-shadow: none !important;
}
.flow-tab-btn .tab-icon {
    font-size: 24px;
}
.flow-tab-btn .tab-label {
    display: inline-block;
}
/* ============================================
   TAB TARTALOM
   ============================================ */
.flow-tab-content-wrapper {
    position: relative;
    min-height: 400px;
}
.flow-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
    padding: 0 20px !important;
}
.flow-tab-content.active {
    display: block;
}
.flow-tab-content h2,
.flow-tab-content h3 {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .flow-tab-nav {
        flex-direction: column !important;
    }
    .flow-tab-btn {
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 12px 15px !important;
    }
    .flow-tab-btn .tab-icon {
        font-size: 20px;
    }
    .flow-tab-content {
        padding: 0 8px !important;
    }
}
.flow-tab-content.loading {
    opacity: 0.5;
    pointer-events: none;
}
.flow-tab-content.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #223a5e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.flow-tab-content .flow-cash-flow-planner,
.flow-tab-content .flow-balance-sheet-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.flow-tab-content .flow-cash-flow-table {
    width: 100% !important;
}
