
/* Vazirmatn Font */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --primary-color: #4caf50;
    --secondary-color: #2196f3;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --text-color: #333;
    --border-radius: 0.5rem;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    background-color: #f8f9fa;
    color: var(--text-color);
}

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #224abe 100%);
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.virtual-scroll-container {
    height: 70vh;
    overflow-y: auto;
    position: relative;
}

.virtual-scroll-content {
    position: relative;
}

.product-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.product-table th {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 15px;
    text-align: center;
    z-index: 10;
}

.product-table td {
    background-color: white;
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.product-table tr:hover td {
    background-color: #f5f7ff;
}

.price-increase {
    color: var(--price-increase);
    font-weight: bold;
}

.price-decrease {
    color: var(--price-decrease);
    font-weight: bold;
}

.change-percent {
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
}

.positive-change {
    background-color: rgba(28, 200, 138, 0.1);
}

.negative-change {
    background-color: rgba(231, 74, 59, 0.1);
}

.no-change {
    color: #6c757d;
}

.row-height-holder {
    height: 1px;
    visibility: hidden;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
}

.back-to-top button {
    width: 50px;
    height: 50px;
    opacity: 0;
    transition: all 0.3s;
}

.back-to-top button.show {
    opacity: 1;
}
.footer {
    background-color: var(--secondary-color);
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.03);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}
  
.about-content {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    border-top: 5px solid var(--primary-color);
}

.about-content .card-title {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.about-content .card-title:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.about-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4a5568;
    border-right: none;
    padding-right: 0;
}

.about-content h4 {
    color: #2d3748;
    margin-top: 25px;
    border-bottom: none;
    padding-bottom: 0;
    font-weight: 600;
}

.about-content h4 i {
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.about-content ul {
    list-style-type: none;
    padding-right: 0;
}

.about-content li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 25px;
}

.about-content li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--primary-color);
}
/* به بخش style اضافه کنید */
#welcomeModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

#welcomeModal .modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.2rem;
}

#welcomeModal .modal-body {
    padding: 1.5rem;
    line-height: 1.8;
}

#welcomeModal .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
    justify-content: center;
}

#welcomeModal .btn-primary {
    padding: 8px 25px;
    border-radius: 8px;
    font-weight: 500;
    min-width: 150px;
}

@media (max-width: 576px) {
    #welcomeModal .modal-dialog {
        margin: 10px;
    }
}

.user-panel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 15px;
}

.sidebar-menu a.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-card .value {
    font-size: 2rem;
    font-weight: bold;
}

.btn-logout {
    transition: all 0.3s;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
