﻿body {
    font-family: Vazir, sans-serif;
    background: #f2f4f7;
}
/* هدر بالا */
.app-header {
    position: relative;
    background: #1d3557;
    color: #fff;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}
/* بخش کارت‌ها */
.menu-container {
    margin-top: 40px;
}

.menu-card {
    background: white;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    cursor: pointer;
}
    .menu-card:hover {
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }
    .menu-card i {
        font-size: 40px;
        color: #1d3557;
        margin-bottom: 10px;
    }
    .menu-card span {
        font-size: 18px;
        font-weight: 600;
    }

footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    color: #666;
}
/* بهبود تجربه موبایل */
@media (max-width: 576px) {

    .menu-card {
        padding: 30px 20px;
        border-radius: 18px;
    }
        .menu-card i {
            font-size: 48px;
            margin-bottom: 12px;
        }
        .menu-card span {
            font-size: 20px;
        }
    .menu-container .col-sm-6,
    .menu-container .col-md-4 {
        margin-bottom: 25px;
    }
}

.header-actions {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
}

.header-icon {
    color: white;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}
    .header-icon:hover {
        color: #ffd166;
        transform: scale(1.1);
    }

.app-footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

/* ویرایش */
.btn-edit {
    background-color: #fff;
    color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-edit:hover {
        background-color: #0d6efd;
        color: #fff;
    }

/* حذف */
.btn-delete {
    background-color: #fff;
    color: #dc3545;
    border-color: #dc3545;
}

    .btn-delete:hover {
        background-color: #dc3545;
        color: #fff;
    }

/* دکمه سبز (افزودن) */
.btn-add {
    background-color: #198754;
    color: #fff;
    border: 1px solid #198754;
}

    .btn-add:hover {
        background-color: #157347;
    }

.ltr-input {
    direction: ltr;
    text-align: left;
}
.menu-card {
    position: relative;
}

.invoice-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #fff;
}

.badge-main {
    background-color: #28a745; /* سبز */
}

.badge-correction {
    background-color: #0d6efd; /* آبی */
}

.badge-return {
    background-color: #ffc107; /* زرد */
}

.badge-cancel {
    background-color: #dc3545; /* قرمز */
}






.menu-card {
    position: relative;
    border: 1px solid #eee;
    overflow: hidden;
}

    /* hover حرفه‌ای‌تر */
    .menu-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

    /* عنوان کارت */
    .menu-card h4 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #1d3557;
    }

    /* متن‌ها */
    .menu-card p {
        margin: 5px 0;
        font-size: 14px;
        color: #555;
    }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 100;
    line-height: 1;
}

    /* آیکن کاملاً وسط */
    .status-badge i {
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transform: translateY(5px);
    }

/* متن جدا و کنترل‌شده */
.status-text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    position: relative;
    top: 0px; /* فقط همین یک اصلاح ظریف و تمیز */
}

/* Pending */
.status-pending {
    background: #fff3cd;
    color: #856404;
}

/* Send */
.status-send {
    background: #d1ecf1;
    color: #0c5460;
}

/* Verify */
.status-verify {
    background: #d4edda;
    color: #155724;
}

/* Error */
.status-error {
    background: #f8d7da;
    color: #721c24;
}
.btn-action {
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .btn-action i {
        font-size: 14px;
    }