﻿@font-face {
    font-family: 'HonarStandardFont';
    src: url('honar-standard-font.woff') format('woff')
}

@font-face {
    font-family: 'HonarBoldFont';
    src: url('honar-standard-font_Bold.woff') format('woff')
}

body {
    padding: 0px;
    margin: 0px;
    direction: rtl;
    text-align: justify;
    font-family: 'HonarStandardFont';
    font-size: 10pt;
    
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

a {
    text-decoration: none;
}
.content {
    padding: 20px;
    padding-top: 80px;
    margin-top: 10px;
}

.login-logo {
    width: 140px !important;
    height: 140px !important;
    display: block;
    margin: 0 auto;
    padding: 3px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid rgba(13, 110, 253, .18);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

@media (max-width: 576px) {
    .login-logo {
        width: 115px !important;
        height: 115px !important;
    }
}


/* رنگ‌های سرمه‌ای منو */
:root {
    --navy-primary: #06162f;
    --navy-secondary: #162631;
    --navy-light: #275c81;
    --navy-lighter: #355f92;
    --navy-hover: #5c92c0;
    --navy-gradient-start: #183863;
    --navy-gradient-end: #0d1b32;
}

/* استایل نوار ناوبری با گرادیانت سرمه‌ای */
.navbar {
    background: linear-gradient(135deg, var(--navy-gradient-start), var(--navy-gradient-end)) !important;
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.4);
    border-bottom: 3px solid #5c6bc0;
}

/* آیتم‌های منو */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    border-radius: 8px;
}

    .navbar-nav .nav-link:hover {
        background-color: rgba(92, 107, 192, 0.3);
        color: #ffffff !important;
    }

/* منوی کشویی با رنگ سرمه‌ای */
.dropdown-menu {
    border-top: 3px solid var(--navy-primary);
    box-shadow: 0 10px 40px rgba(26, 35, 126, 0.25);
}

.dropdown-item {
    color: #1a237e !important;
}

    .dropdown-item .bi {
        color: #3949ab;
    }

    .dropdown-item:hover {
        background-color: #e8eaf6;
        color: #0d1445 !important;
    }

        .dropdown-item:hover .bi {
            color: #1a237e;
        }

.dropdown-divider {
    border-color: #c5cae9;
}

/* دکمه کاربری */
.btn-light {
    color: #1a237e !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

    .btn-light .bi {
        color: #1a237e;
    }

    .btn-light:hover {
        border-color: #ffffff;
    }

/* دکمه ورود */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
}

    .btn-outline-light:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: #ffffff;
    }

/* استایل فعال برای منو */
.navbar-nav .nav-link.active {
    background: rgba(92, 107, 192, 0.3);
    border-bottom: 2px solid #ffd54f;
    color: #ffffff !important;
}

    .navbar-nav .nav-link.active .bi {
        color: #ffd54f;
    }

/* تنظیمات ریسپانسیو - فقط منو */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(26, 35, 126, 0.95);
        border-top: 2px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
    }

    .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }

        .navbar-nav .nav-link:hover {
            background: rgba(92, 107, 192, 0.3);
        }

    .dropdown-menu {
        background: rgba(255, 255, 255, 0.08);
        border-top: none;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.85) !important;
    }

        .dropdown-item .bi {
            color: rgba(255, 255, 255, 0.6);
        }

        .dropdown-item:hover {
            background: rgba(92, 107, 192, 0.3);
            color: #ffffff !important;
        }

            .dropdown-item:hover .bi {
                color: #ffffff;
            }

    .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.15);
    }

    /* بخش کاربری در موبایل */
    .order-lg-3 {
        border-top: 2px solid rgba(255, 255, 255, 0.15);
    }

        .order-lg-3 .btn-light {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

            .order-lg-3 .btn-light .bi {
                color: #ffffff;
            }

        .order-lg-3 .btn-outline-light {
            width: 100%;
            text-align: center;
            justify-content: center;
        }

        .order-lg-3 .dropdown-menu {
            background: #ffffff;
            border-top: 3px solid var(--navy-primary);
        }

        .order-lg-3 .dropdown-item {
            color: #1a237e !important;
        }

            .order-lg-3 .dropdown-item .bi {
                color: #3949ab;
            }

            .order-lg-3 .dropdown-item:hover {
                background: #e8eaf6;
                color: #0d1445 !important;
            }

                .order-lg-3 .dropdown-item:hover .bi {
                    color: #1a237e;
                }
}

/* انیمیشن برای منوی کشویی */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل برای Dropdown Toggle */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}


    .swal2-popup {
        direction: rtl;
        text-align: right;
        font-family: inherit;
    }

    .swal2-title,
    .swal2-html-container {
        text-align: center;
    }

    .swal2-toast {
        direction: rtl;
    }


    .validation-summary-valid {
        display: none;
    }

    .validation-summary-errors {
        display: block;
    }




    .activity-purchase {
        --activity-color: #2563eb;
        --activity-dark: #1d4ed8;
    }

    .activity-sale {
        --activity-color: #16a34a;
        --activity-dark: #15803d;
    }

    .activity-expense {
        --activity-color: #dc2626;
        --activity-dark: #b91c1c;
    }

    .activity-income {
        --activity-color: #0891b2;
        --activity-dark: #0e7490;
    }

    .activity-deposit {
        --activity-color: #7c3aed;
        --activity-dark: #6d28d9;
    }

    .activity-withdrawal {
        --activity-color: #d97706;
        --activity-dark: #b45309;
    }

    .activity-header {
        color: #fff;
        padding: 1.25rem;
        border-radius: .75rem;
        background: linear-gradient(135deg, var(--activity-color), var(--activity-dark));
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .12);
    }

    .activity-subtitle {
        opacity: .9;
    }

    .activity-card {
        border: 0;
        border-top: 3px solid var(--activity-color);
        box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .08);
    }

        .activity-card > .card-header {
            color: var(--activity-color);
            background-color: #fff;
            font-weight: 600;
        }

    .btn-activity {
        color: #fff;
        border-color: var(--activity-color);
        background-color: var(--activity-color);
    }

        .btn-activity:hover,
        .btn-activity:focus {
            color: #fff;
            border-color: var(--activity-dark);
            background-color: var(--activity-dark);
        }

    .activity-customer-receipt {
        --activity-color: #0f766e;
        --activity-dark: #115e59;
    }

    .activity-supplier-payment {
        --activity-color: #be123c;
        --activity-dark: #9f1239;
    }





    .btn-purple, .bg-purple {
        color: #fff;
        background-color: #6f42c1;
        border-color: #6f42c1;
    }

        .btn-purple:hover {
            color: #fff;
            background-color: #59359a;
            border-color: #59359a;
        }

    .btn-outline-purple {
        color: #6f42c1;
        border-color: #6f42c1;
    }

        .btn-outline-purple:hover {
            color: #fff;
            background-color: #6f42c1;
            border-color: #6f42c1;
        }


.footer {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    padding: .10rem 0 !important;
    line-height: 1.2 !important;
    font-size: .78rem;
    white-space: normal;
    background-color: #fff;
}

    .footer .container {
        min-height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

.footer-link,
.footer-link:visited {
    color: inherit !important;
    text-decoration: none;
}

    .footer-link:hover,
    .footer-link:focus {
        color: inherit !important;
        text-decoration: underline;
    }

.footer-separator {
    color: #ced4da;
}

@media (max-width: 576px) {
    .footer {
        padding: .4rem .5rem;
        font-size: .76rem;
    }

    .footer-separator {
        display: none;
    }
}