/* Modern Customer Tabs & Toolbar */

/* کانتینر تب‌ها */
.accounting-wrapper .tab {
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 0;
}

/* دکمه‌های تب */
.accounting-wrapper .tab button {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    color: var(--text-muted, #7f8c8d);
    border-radius: 12px; /* کمی گرد */
    padding: 10px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accounting-wrapper .tab button i {
    font-size: 1.1em;
}

.accounting-wrapper .tab button:hover {
    background-color: #f8fafc;
    color: var(--primary-color, #2c3e50);
    transform: translateY(-2px);
}

/* تب فعال */
.accounting-wrapper .tab button.active {
    background-color: var(--accent-color, #3498db); /* آبی روشن */
    color: white;
    border-color: var(--accent-color, #3498db);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* محتوای تب با انیمیشن */
.accounting-wrapper .tabcontent {
    display: none;
    padding: 0; /* پدینگ توسط کانتینر اصلی مدیریت می‌شود */
    animation: fadeEffect 0.5s;
    background: transparent;
    border: none;
    box-shadow: none;
}

@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- تولبار شناور پایین صفحه (Modern Floating Toolbar) --- */
.accounting-wrapper .toolbar {
    position: fixed !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 280px;
    height: 60px !important;
    
    /* استایل شیشه‌ای/مدرن */
    background: rgba(44, 62, 80, 0.95) !important; /* رنگ تیره */
    backdrop-filter: blur(8px);
    
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px;
    
    border-radius: 30px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 99999 !important;
    padding: 0 25px;
    border: 1px solid rgba(255,255,255,0.1);
}

.accounting-wrapper .toolbar button {
    background: transparent !important;
    color: rgba(255,255,255,0.7) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.2s;
}

.accounting-wrapper .toolbar button i {
    font-size: 20px;
}

.accounting-wrapper .toolbar button:hover {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    transform: scale(1.15);
}