/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
/* --- استایل داشبورد کاربری SarvHost --- */
/* ریست کردن استایل‌های احتمالی قبلی */
.dc-dashboard-wrapper * {
    box-sizing: border-box;
}

.dc-dashboard-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    direction: ltr;
    /* محتوا انگلیسی است */
    padding: 20px 0;
}

/* --- کارت‌های آمار (Stats Cards) --- */
.dc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.dc-stat-box {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

/* نوار رنگی بالای کارت */
.dc-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #cbd5e1;
    /* پیش‌فرض خاکستری */
}

.dc-stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.dc-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.dc-stat-text h3 {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    padding: 0 !important;
}

.dc-stat-text p {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 5px 0 0 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* رنگ‌بندی اختصاصی */
.dc-stat-box.is-blue::before {
    background: #3b82f6;
}

.dc-stat-box.is-blue .dc-stat-icon {
    background: #eff6ff;
    color: #3b82f6;
}

.dc-stat-box.is-red::before {
    background: #ef4444;
}

.dc-stat-box.is-red .dc-stat-text h3 {
    color: #ef4444 !important;
}

.dc-stat-box.is-red .dc-stat-icon {
    background: #fef2f2;
    color: #ef4444;
}

.dc-stat-box.is-green::before {
    background: #10b981;
}

.dc-stat-box.is-green .dc-stat-icon {
    background: #ecfdf5;
    color: #10b981;
}

/* --- بخش اقدامات (Action Hub) --- */
.dc-action-panel {
    background: #fff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 50px 30px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* طرح گرافیکی پس‌زمینه (خیلی خفیف) */
.dc-action-panel::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.dc-action-panel h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    position: relative;
    z-index: 1;
}

.dc-action-panel>p {
    color: #64748b !important;
    font-size: 15px !important;
    margin: 0 0 35px 0 !important;
    position: relative;
    z-index: 1;
}

.dc-btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* --- دکمه‌های سفارشی --- */
.btn-dc {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    min-width: 180px;
    border: 1px solid transparent !important;
}

.btn-dc-primary {
    background: #0f172a !important;
    color: #fff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.btn-dc-primary:hover {
    background: #1e293b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    color: #fff !important;
}

.btn-dc-outline {
    background: #fff !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

.btn-dc-outline:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
    transform: translateY(-2px);
}