/* ═══════════════════════════════════════════════════════════
   تاجر تيك | TAJER TECH - Dashboard Layout Styles
   ═══════════════════════════════════════════════════════════ */

/* بنر وبانر الترحيب للمنشأة */
.welcome-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-text h2 {
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.welcome-text p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.welcome-date {
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
}

/* شبكة كروت الإحصائيات الأربعة */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

/* شبكة كروت الرسوم البيانية وجداول المعطيات */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 24px;
    align-items: start;
}

/* تخطيطات الشاشات التجاوبية (Dashboard Breakpoints) */
@media (max-width: 1200px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr); /* تحويل لكارتين في السطر */
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr; /* دمج الجانبين في سطر واحد عمودي */
    }
}

@media (max-width: 640px) {
    .dashboard-stats {
        grid-template-columns: 1fr; /* كرت واحد عمودي */
    }
    
    .welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
}
