﻿ 
/* کانتینر اصلی نوار */
.altin-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 18px;
    margin: 18px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    direction: rtl;
    font-family: inherit;
}

/* سمت راست نوار */
.action-bar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.bar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-left: 8px;
}

/* دکمه اصلی قرمز برند */
.btn-brand-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #d32f2f;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(211, 47, 47, 0.25);
}

    .btn-brand-primary:hover {
        background-color: #b71c1c;
        transform: translateY(-1px);
    }

/* دکمه دوم با حاشیه ظریف */
.btn-brand-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    color: #475569 !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-brand-secondary:hover {
        background-color: #f1f5f9;
        border-color: #94a3b8;
        color: #0f172a !important;
    }

/* نوار هشدار/اطلاعیه وزنی سمت چپ */
.weight-notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fef3c7; /* پس‌زمینه گرم و ملایم هشدار */
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

    .weight-notice-badge strong {
        color: #78350f;
    }

/* بهینه‌سازی برای موبایل */
@media (max-width: 768px) {
    .altin-action-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .action-bar-right {
        justify-content: center;
    }

    .action-bar-left {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .weight-notice-badge {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

 
