/* استایل‌های اصلی LMS-Zh - بروزرسانی شده */

.lms-zh-container {
    font-family: "Tahoma", "Arial", sans-serif;
    direction: rtl;
    text-align: right;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* پنل کاربری */
.lms-zh-user-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    min-height: 600px;
}

/* سایدبار */
.user-panel-sidebar {
    width: 280px;
    background: #fff;
    border-left: 1px solid #e9ecef;
    padding: 30px 0;
}

.user-greeting {
    padding: 0 25px 25px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.user-greeting h3 {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.sidebar-nav {
    padding: 0 15px;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    background: #fff;
    border: none;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: right;
}

.nav-btn:hover {
    background: #f8f9fa;
    transform: translateX(-2px);
}

.nav-btn.active {
    background: #8B4513;
    color: #fff;
}

.nav-btn i {
    margin-left: 12px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* تب‌ها */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

/* استایل‌های گواهینامه ها */
.certificates-section {
    padding: 20px 0;
}

.certificates-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.certificate-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.certificate-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
}

.certificate-info h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.certificate-info p {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
}

.certificate-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.certificate-status.completed {
    background: #dcfce7;
    color: #166534;
}

/* استایل‌های پیشرفت */
.progress-section {
    padding: 20px 0;
}

.overall-progress {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.overall-progress h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.course-progress-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.course-progress-list h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.course-progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.course-progress-item:last-child {
    border-bottom: none;
}

.course-info {
    flex: 1;
}

.course-info h5 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.course-info p {
    margin: 0;
    color: #666;
    font-size: 12px;
}

.course-progress-bar {
    width: 100px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.course-progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 3px;
}

/* محتوای اصلی */
.user-panel-main {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
}

.user-panel-header {
    margin-bottom: 30px;
}

.user-panel-header h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.user-panel-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

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

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #28a745;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.stat-icon {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    display: block;
}

/* کد تخفیف */
.discount-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.discount-code {
    font-size: 28px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.discount-value {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.discount-info {
    font-size: 12px;
    opacity: 0.8;
}

/* جدول سفارشات */
.orders-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.table-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.table-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.table-content {
    padding: 0;
}

.order-row {
    display: grid;
    grid-template-columns: 120px 1fr 150px 120px 120px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.order-row:hover {
    background: #f8f9fa;
}

.order-row:last-child {
    border-bottom: none;
}

.order-number {
    font-weight: 600;
    color: #333;
}

.order-date {
    color: #666;
    font-size: 14px;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-status.processing {
    background: #fff3cd;
    color: #856404;
}

.order-total {
    color: #28a745;
    font-weight: 600;
}

.order-actions .btn-view {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.order-actions .btn-view:hover {
    background: #218838;
}

/* دوره‌ها */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.course-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    position: relative;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.course-progress {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.course-description {
    padding: 20px;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.course-meta {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
}

.course-actions {
    padding: 0 20px 20px;
    text-align: center;
}

.btn-course {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-course:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* فرم مشخصات */
.profile-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.1);
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-primary {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* صفحه دوره */
.course-page {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.course-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.course-page-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.course-page-description {
    opacity: 0.9;
    line-height: 1.6;
}

.lessons-list {
    padding: 30px;
}

.lesson-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lesson-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(-2px);
}

.lesson-item.completed {
    border-color: #28a745;
    background: #f8fff9;
}

.lesson-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lesson-title {
    font-weight: 500;
    color: #333;
    margin: 0;
}

.lesson-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.lesson-status.completed {
    background: #d4edda;
    color: #155724;
}

.lesson-status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.lesson-status.not-started {
    background: #f8f9fa;
    color: #666;
}

.lesson-content {
    padding: 20px;
    display: none;
}

.lesson-content.active {
    display: block;
}

.lesson-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container video {
    width: 100%;
    height: auto;
}

.lesson-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.progress-bar {
    flex: 1;
    background: #e9ecef;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #28a745, #20c997);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #666;
    min-width: 80px;
}

.lesson-actions {
    text-align: center;
}

.btn-complete {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-complete:hover {
    background: #218838;
}

.btn-complete:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* مودال */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 1;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* پیام‌ها */
.lms-zh-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.lms-zh-message.success {
    background: #28a745;
}

.lms-zh-message.error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .lms-zh-container {
        padding: 10px;
    }
    
    .lms-zh-user-panel {
        flex-direction: column;
        min-height: auto;
        border-radius: 8px;
    }
    
    .user-panel-sidebar {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #e9ecef;
        padding: 15px;
        order: 1;
    }
    
    .user-greeting {
        padding: 0 15px 15px;
        margin-bottom: 15px;
    }
    
    .user-greeting h3 {
        font-size: 14px;
    }
    
    .sidebar-nav {
        padding: 0 10px;
    }
    
    .nav-item {
        margin-bottom: 5px;
    }
    
    .nav-btn {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .nav-btn i {
        margin-left: 8px;
        font-size: 16px;
        width: 18px;
    }
    
    .user-panel-main {
        order: 2;
        padding: 15px;
    }
    
    .user-panel-header {
        padding: 0 0 15px;
    }
    
    .user-panel-header h2 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .user-panel-header p {
        font-size: 13px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .stat-card {
        padding: 15px;
        border-radius: 8px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .course-card {
        padding: 15px;
        border-radius: 8px;
    }
    
    .course-title {
        font-size: 16px;
    }
    
    .order-row {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        border-radius: 8px;
    }
    
    .order-row > div {
        width: 100%;
        text-align: center;
    }
    
    .orders-table {
        margin-top: 20px;
    }
    
    .table-header {
        padding: 10px 15px;
    }
    
    .table-header h3 {
        font-size: 16px;
    }
    
    .table-content {
        padding: 0 15px 15px;
    }
    
    /* تب‌ها در موبایل */
    .panel-tabs {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 20px;
    }
    
    .tab-button {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 8px;
        text-align: center;
    }
    
    .tab-content {
        padding: 15px 0;
    }
    
    /* گواهینامه‌ها */
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .certificate-item {
        padding: 15px;
        border-radius: 8px;
    }
    
    .certificate-info h4 {
        font-size: 16px;
    }
    
    .certificate-info p {
        font-size: 13px;
    }
    
    /* پیشرفت */
    .progress-section {
        padding: 15px 0;
    }
    
    .overall-progress {
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .overall-progress h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .progress-bar {
        height: 8px;
        border-radius: 4px;
    }
    
    .course-progress-list {
        gap: 10px;
    }
    
    .course-progress-item {
        padding: 12px;
        border-radius: 8px;
    }
    
    .course-progress-item h4 {
        font-size: 14px;
    }
    
    /* دکمه‌ها */
    .btn,
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 6px;
        width: 100%;
        text-align: center;
    }
    
    /* پیام‌ها */
    .lms-zh-message {
        padding: 12px 15px;
        border-radius: 8px;
        font-size: 13px;
        margin-bottom: 15px;
    }
}

/* Shortcode Styles */
.lms-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.lms-course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.lms-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.course-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lms-course-card:hover .course-thumbnail img {
    transform: scale(1.05);
}

.no-thumbnail {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.3em;
    line-height: 1.4;
}

.course-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-content h3 a:hover {
    color: #0073aa;
}

.course-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #666;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.course-actions {
    text-align: center;
}

/* User Panel Shortcode */
.lms-user-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 20px 0;
    font-family: 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
}

.panel-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.panel-header h2 {
    color: #333;
    font-size: 2em;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.panel-header p {
    color: #666;
    font-size: 1.1em;
    margin: 0;
}

.panel-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #666;
    white-space: nowrap;
    flex: 1;
    min-width: 120px;
}

.tab-button:hover {
    color: #0073aa;
    background: #e9ecef;
}

.tab-button.active {
    background: #0073aa;
    color: white;
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-icon {
    font-size: 2em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 1.8em;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.stat-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9em;
}

/* Recent Courses */
.recent-courses {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.recent-courses h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.4em;
}

.courses-list {
    display: grid;
    gap: 15px;
}

.course-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
    transition: all 0.3s ease;
}

.course-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(-5px);
}

.course-info h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.course-info h4 a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-info h4 a:hover {
    color: #005177;
}

/* Progress Section */
.overall-progress {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.overall-progress h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.4em;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    transition: width 0.5s ease;
}

.progress-text {
    color: #666;
    font-size: 0.9em;
    font-weight: 600;
}

.course-progress-list {
    display: grid;
    gap: 15px;
}

.course-progress-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.course-progress-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.course-progress-item h4 {
    margin: 0 0 10px 0;
    color: #333;
}

/* Profile Section */
.profile-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.profile-form h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.4em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

/* Login Required */
.lms-login-required {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin: 20px 0;
}

.lms-login-required p {
    margin: 0 0 20px 0;
    color: #856404;
}

/* Error Messages */
.lms-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    color: #721c24;
}

.lms-no-courses,
.lms-no-enrollments {
    background: #e2e3e5;
    border: 1px solid #d6d8db;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    color: #6c757d;
}

/* Course Enrollment */
.lms-course-enrollment {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 20px 0;
    text-align: center;
}

.enrollment-status.enrolled {
    color: #28a745;
}

.enrollment-status.enrolled h3 {
    margin: 0 0 20px 0;
    color: #28a745;
}

.enrollment-form h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.enrollment-form p {
    color: #666;
    margin-bottom: 25px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.btn-primary {
    background: #0073aa;
    color: white;
}

.btn-primary:hover {
    background: #005177;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,115,170,0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

/* Responsive Design for Shortcodes */
@media (max-width: 768px) {
    .lms-courses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .lms-course-card {
        border-radius: 8px;
    }
    
    .course-content {
        padding: 15px;
    }
    
    .course-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .course-excerpt {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }
    
    .course-meta span {
        font-size: 12px;
    }
    
    .course-actions {
        margin-top: 15px;
    }
    
    .panel-tabs {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 20px;
    }
    
    .tab-button {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 8px;
        text-align: center;
        margin-bottom: 0;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
        border-radius: 8px;
    }
    
    .stat-card h3 {
        font-size: 18px;
    }
    
    .stat-card p {
        font-size: 12px;
    }
    
    .recent-courses {
        margin-top: 20px;
    }
    
    .recent-courses h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .course-item {
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .course-info h4 {
        font-size: 14px;
    }
    
    .course-info h4 a {
        font-size: 14px;
    }
    
    .overall-progress {
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .overall-progress h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .progress-bar {
        height: 8px;
        border-radius: 4px;
    }
    
    .course-progress-list {
        gap: 10px;
    }
    
    .course-progress-item {
        padding: 12px;
        border-radius: 8px;
    }
    
    .course-progress-item h4 {
        font-size: 14px;
    }
    
    .profile-form {
        padding: 15px;
        border-radius: 8px;
    }
    
    .profile-form h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 6px;
        width: 100%;
        text-align: center;
    }
    
    .lms-login-required {
        padding: 20px;
        border-radius: 8px;
        text-align: center;
    }
    
    .lms-login-required p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .lms-error {
        padding: 15px;
        border-radius: 8px;
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .lms-no-courses,
    .lms-course-enrollment {
        padding: 20px;
        border-radius: 8px;
        text-align: center;
    }
    
    .enrollment-status.enrolled h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .enrollment-form h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .enrollment-form p {
        font-size: 13px;
        margin-bottom: 15px;
    }
} 

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #2a2a4a;
    border-radius: 15px;
    padding: 16px 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 24px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: white;
    transform: translateY(-1px);
}

.mobile-nav-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}

.mobile-nav-text {
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

/* مرکز دکمه */
.mobile-nav-center {
    transform: translateY(-12px);
}

.mobile-nav-center .mobile-nav-icon {
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 6px;
    color: #A0764F;
    font-size: 22px;
    transition: all 0.2s ease;
}

.mobile-nav-center:hover .mobile-nav-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.mobile-nav-center .mobile-nav-text {
    font-size: 12px;
    font-weight: 500;
    color: white;
    opacity: 1;
}

/* آیکون‌های مینیمال */
.mobile-nav-dashboard .mobile-nav-icon::before {
    content: '◉';
}

.mobile-nav-courses .mobile-nav-icon::before {
    content: '◎';
}

.mobile-nav-profile .mobile-nav-icon::before {
    content: '◐';
}

.mobile-nav-support .mobile-nav-icon::before {
    content: '◑';
}

.mobile-nav-menu .mobile-nav-icon::before {
    content: '◒';
}

/* مخفی کردن در دسکتاپ */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
}

/* مخفی کردن منوی دسکتاپ در موبایل */
@media (max-width: 768px) {
    .panel-tabs {
        display: none;
    }
}

/* اضافه کردن padding به body در موبایل */
@media (max-width: 768px) {
    body {
        padding-bottom: 120px;
    }
    
    .lms-zh-container {
        padding-bottom: 140px;
    }
} 