/* استایل‌های فرانت‌اند - داشبورد کاربر */
.omprf-public-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
}

.omprf-sidebar {
    width: 280px;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.omprf-user-mini {
    text-align: center;
    margin-bottom: 30px;
}

.omprf-user-mini img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid var(--omprf-primary);
}

.omprf-nav-links {
    list-style: none;
    padding: 0;
}

.omprf-nav-links li {
    padding: 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.omprf-nav-links li:hover {
    background: #f5f5f5;
}

.omprf-nav-links li.active {
    background: var(--omprf-primary);
    color: #fff;
}

.omprf-main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.omprf-topbar {
    display: none; /* دسکتاپ مخفی */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.omprf-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.omprf-widget {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.widget-welcome h3 { color: var(--omprf-primary); }
.widget-finance .widget-value { font-size: 1.5rem; font-weight: bold; color: var(--omprf-accent); }

.omprf-view { display: none; }
.omprf-view.active { display: block; animation: fadeIn 0.3s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .omprf-public-wrapper { flex-direction: column; }
    .omprf-sidebar { width: 100%; display: none; }
    .omprf-sidebar.open { display: block; }
    .omprf-topbar { display: flex; }
}