/**
 * پنل کاربری دولوپ - استایل‌های اصلی
 * تم رنگی: آبی حرفه‌ای
 * فونت: Vazir
 */

/* متغیرهای رنگی */
:root {
    --color-primary: #3B82F6;
    --color-primary-dark: #2563EB;
    --color-primary-light: #60A5FA;
    --color-secondary: #60A5FA;
    --color-secondary-light: #93C5FD;
    --color-background: #F0F9FF;
    --color-background-alt: #E0F2FE;
    --color-text: #1E3A8A;
    --color-text-light: #64748B;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    --color-white: #FFFFFF;
    --color-light: #DBEAFE;
    --color-light-alt: #BFDBFE;
    --color-border: #BFDBFE;
    --color-border-light: #E0F2FE;
    --color-shadow: rgba(59, 130, 246, 0.1);
    --color-shadow-hover: rgba(59, 130, 246, 0.2);
    --font-family: Vazir, Tahoma, Arial, sans-serif;
}

/* Reset و پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* صفحه لاگین */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 40px 30px;
    text-align: center;
}

.login-header i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.login-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
}

.login-content {
    padding: 30px;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid;
    font-size: 15px;
    line-height: 1.6;
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border-color: #FCD34D;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border-color: #6EE7B7;
}

.alert-danger {
    background-color: #FEE2E2;
    color: #991B1B;
    border-color: #FCA5A5;
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border-color: #93C5FD;
}

.alert i {
    font-size: 20px;
    flex-shrink: 0;
}

.login-actions {
    margin: 25px 0;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-shadow-hover);
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

.btn i {
    margin-left: 8px;
}

.login-help {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 13px;
}

.login-help a {
    color: var(--color-primary);
    text-decoration: none;
}

.login-help a:hover {
    text-decoration: underline;
}

/* پنل اصلی */
.panel-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* هدر */
.panel-header {
    background: var(--color-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(59, 130, 246, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 24px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-section .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
}

.logo-section .logo i {
    font-size: 28px;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.user-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 15px;
}

.user-email {
    font-size: 13px;
    color: var(--color-text-light);
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar i {
    font-size: 30px;
    color: var(--color-primary);
}

/* کانتینر اصلی */
.panel-container {
    display: flex;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

/* منوی کناری */
.sidebar {
    width: 280px;
    background: var(--color-white);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.04), 4px 0 24px rgba(59, 130, 246, 0.06);
    padding: 24px 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    border-left: 1px solid var(--color-border-light);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 15px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    margin: 0 12px 4px 12px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
    color: #999;
}

.nav-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(96, 165, 250, 0.05) 100%);
    color: var(--color-primary);
    transform: translateX(-2px);
}

.nav-item:hover i {
    color: var(--color-primary);
    transform: scale(1.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--color-white);
    border-radius: 4px 0 0 4px;
}

.nav-item.active i {
    color: var(--color-white);
}

.nav-item.logout {
    margin-top: 20px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    color: var(--color-danger);
}

.nav-item.logout:hover {
    background-color: #FFEBEE;
    color: var(--color-danger);
}

/* محتوای اصلی */
.main-content {
    flex: 1;
    padding: 32px;
    background: var(--color-background);
    min-height: calc(100vh - 70px);
}

/* کارت‌ها */
.card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(59, 130, 246, 0.08);
    padding: 28px;
    margin-bottom: 28px;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 8px 24px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-border);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.card-title i {
    color: var(--color-primary);
}

.card-body {
    padding-top: 8px;
}

/* کارت‌های آماری */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(59, 130, 246, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border-light);
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.stat-card-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-card-label {
    font-size: 15px;
    color: var(--color-text-light);
    font-weight: 500;
}

.stat-card-trend {
    margin-top: 10px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-card-trend.up {
    color: var(--color-success);
}

.stat-card-trend.down {
    color: var(--color-danger);
}

/* جدول */
.table-wrapper {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
}

.table thead {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
}

.table th {
    padding: 18px 20px;
    text-align: right;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(96, 165, 250, 0.02) 100%);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* وضعیت‌ها */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background-color: #FFF3CD;
    color: #856404;
}

.status-processing {
    background-color: #D1ECF1;
    color: #0C5460;
}

.status-hold {
    background-color: #F8D7DA;
    color: #721C24;
}

.status-completed {
    background-color: #D4EDDA;
    color: #155724;
}

.status-cancelled {
    background-color: #F8D7DA;
    color: #721C24;
}

.status-refunded {
    background-color: #E2E3E5;
    color: #383D41;
}

.status-failed {
    background-color: #F8D7DA;
    color: #721C24;
}

/* دکمه‌ها */
.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-secondary {
    background-color: #6C757D;
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #5A6268;
}

.btn-success {
    background-color: var(--color-success);
    color: var(--color-white);
}

.btn-success:hover {
    background-color: #059669;
}

/* فرم‌ها */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* لیست سایت‌ها */
.sites-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.site-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px var(--color-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.site-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.site-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.site-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
}

.site-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.site-card-info {
    margin-bottom: 15px;
}

.site-card-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--color-border);
}

.site-card-info-item:last-child {
    border-bottom: none;
}

.site-card-info-label {
    color: #999;
}

.site-card-info-value {
    color: var(--color-text);
    font-weight: 500;
}

/* پیشرفت */
.progress {
    width: 100%;
    height: 8px;
    background-color: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transition: width 0.3s ease;
}

/* فوتر */
.panel-footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.footer-section a {
    color: var(--color-primary);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* واکنش‌گرا */
@media (max-width: 1200px) {
    .panel-container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 25px 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .panel-container {
        flex-direction: column;
        padding: 0 10px;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        margin-bottom: 20px;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-item {
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .main-content {
        padding: 20px 15px;
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sites-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    
    .user-section {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* جداول ریسپانسیو */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 600px;
        font-size: 13px;
    }
    
    .table th,
    .table td {
        padding: 10px 8px;
    }
    
    /* کارت‌ها */
    .card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    /* فرم‌ها */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-group .btn:last-child {
        margin-bottom: 0;
    }
    
    /* صفحه‌بندی */
.page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-border-light);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-description {
    font-size: 16px;
    color: var(--color-text-light);
    margin-top: 8px;
}
    
    .page-description {
        font-size: 13px;
    }
    
    /* استایل‌های admin */
    .form-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .form-inline select,
    .form-inline input {
        width: 100%;
        margin: 0;
    }
    
    /* کارت‌های آماری */
    .stat-card {
        padding: 20px;
    }
    
    .stat-card-value {
        font-size: 28px;
    }
    
    /* منوی کناری در موبایل */
    .nav-divider {
        margin: 10px 0;
    }
    
    .nav-section-title {
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-box {
        border-radius: 8px;
    }
    
    .login-header {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 20px;
    }
    
    .login-content {
        padding: 20px;
    }
    
    .main-content {
        padding: 15px 10px;
    }
    
    .card {
        padding: 15px 10px;
    }
    
    .table {
        min-width: 500px;
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px 5px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .btn-large {
        padding: 12px;
        font-size: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-card-value {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 20px;
    }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.card {
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.nav-item {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

/* اسکرول بار سفارشی */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #F5F5F5;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* استایل‌های اسکلتون لودینگ */
.skeleton-loader {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.skeleton-loader.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* انیمیشن shimmer */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    border-radius: 4px;
    margin-bottom: 10px;
    animation: shimmer 2s infinite;
}

.skeleton-line.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-line.skeleton-subtitle {
    height: 18px;
    width: 40%;
    margin-bottom: 8px;
}

.skeleton-line.skeleton-th {
    height: 20px;
    width: 100%;
    margin: 0 5px;
}

.skeleton-line.skeleton-td {
    height: 16px;
    width: 100%;
    margin: 8px 5px;
}

/* اسکلتون کارت */
.skeleton-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skeleton-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.skeleton-body {
    margin-top: 15px;
}

/* اسکلتون جدول */
.skeleton-table {
    background: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.skeleton-table-header {
    display: flex;
    padding: 15px 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 10px;
}

.skeleton-table-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* اسکلتون لیست */
.skeleton-list {
    background: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.skeleton-list-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.skeleton-list-item:last-child {
    border-bottom: none;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    margin-left: 15px;
    flex-shrink: 0;
}

.skeleton-content {
    flex: 1;
}

/* اسکلتون آمار */
.skeleton-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.skeleton-stat-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skeleton-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    margin: 0 auto 15px;
}

.skeleton-stat-value {
    height: 32px;
    width: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    border-radius: 4px;
    animation: shimmer 2s infinite;
    margin: 0 auto 10px;
}

.skeleton-stat-label {
    height: 16px;
    width: 80px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    border-radius: 4px;
    animation: shimmer 2s infinite;
    margin: 0 auto;
}

/* اسکلتون پیشفرض */
.skeleton-default {
    background: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* استایل‌های صفحات مدیریت */
.admin-page {
    padding: 20px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

.form-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-control {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

