.stockmate-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-card .number {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0 0;
}

.pro-note {
    margin-top: 15px;
    padding: 10px;
    background: #fef5e7;
    border-left: 4px solid #f39c12;
}

.upgrade-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.upgrade-box ul {
    margin: 20px 0;
    padding-left: 20px;
}

.upgrade-box li {
    margin: 10px 0;
    font-size: 16px;
}


/* admin.css - استایل‌های بخش مدیریت StockMate */
.stockmate-dashboard {
    max-width: 1400px;
    margin: 20px 20px 0 0;
}

.stockmate-header {
    margin-bottom: 25px;
}

.stockmate-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.stockmate-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.stockmate-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 25px;
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 0 20px;
    flex-wrap: wrap;
}

.stockmate-tabs .tab {
    padding: 14px 24px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.stockmate-tabs .tab:hover {
    color: #667eea;
}

.stockmate-tabs .tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.stockmate-tabs .pro-tab {
    color: #f39c12;
}

.stockmate-tabs .pro-tab.active {
    color: #f39c12;
    border-bottom-color: #f39c12;
}

.stockmate-tab-content {
    background: white;
    border-radius: 0 0 12px 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stockmate-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 42px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content h3 {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.stat-content p {
    font-size: 12px;
    color: #999;
    margin: 5px 0 0 0;
}

.stat-card.pending .stat-icon { background: #fff3e0; color: #f39c12; }
.stat-card.notified .stat-icon { background: #e8f5e9; color: #27ae60; }
.stat-card.total .stat-icon { background: #e3f2fd; color: #3498db; }

.stockmate-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.stockmate-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    padding: 18px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: 0;
    background: white;
}

.stockmate-table {
    width: 100%;
    border-collapse: collapse;
}

.stockmate-table th {
    text-align: left;
    padding: 12px 20px;
    background: #fafafa;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.stockmate-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.stockmate-table tr:hover td {
    background: #fafafa;
}

.waiting-badge {
    background: #667eea;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-badge.pending {
    background: #fff3e0;
    color: #f39c12;
}

.status-badge.notified {
    background: #e8f5e9;
    color: #27ae60;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
    margin: 0;
}

.upgrade-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.smtp-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.help-card {
    background: #e8f0fe;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
}

@media (max-width: 1000px) {
    .stockmate-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stockmate-two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stockmate-stats-grid {
        grid-template-columns: 1fr;
    }
    .stockmate-tabs {
        padding: 10px 10px 0;
    }
    .stockmate-tabs .tab {
        padding: 8px 16px;
        font-size: 13px;
    }
}


