/* ============================================
   TUTOR LMS MODERN DASHBOARD - VERSION 2.3 (بدون بوردر)
   حذف تمام border ها و فقط گردی + سایه
   ============================================ */

/* ----- تنظیمات متغیرهای جدید (فقط سایه و گردی) ----- */
:root {
    --tutor-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    --tutor-shadow-md: 0 8px 40px rgba(0, 0, 0, 0.10) !important;
}

/* ----- تغییرات کلی بدنه و کارت‌ها (همه بک‌گراندها سفید) ----- */
.tutor-wrap,
.tutor-dashboard-content,
.tutor-dashboard-content-inner,
.tutor-dashboard-student,
body.tutor-frontend,
.tutor-single-course-sidebar .tutor-sidebar-card .tutor-card-body {
    background-color: #ffffff !important;
}

/* کارت‌های داشبورد - فقط گردی و سایه (بدون بوردر) */
.tutor-dashboard-content-inner .tutor-mycourse-wrap,
.tutor-card,
.tutor-dashboard-student .tutor-col-9 > div,
.tutor-dashboard-menu-wrap,
.tutor-single-course-sidebar-more > div {
    border: none !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: var(--tutor-shadow-sm) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

/* هاور کارت‌ها - فقط سایه */
.tutor-dashboard-content-inner .tutor-mycourse-wrap:hover,
.tutor-card:hover {
    box-shadow: var(--tutor-shadow-md) !important;
    transform: translateY(-2px) !important;
}

/* ----- منوی داشبورد (سایدبار) - فقط گردی، بدون بوردر ----- */
.tutor-dashboard-menu-wrap {
    border: none !important;
    border-radius: 16px !important;
    padding: 8px 0 !important;
    background: #ffffff !important;
    box-shadow: var(--tutor-shadow-sm) !important;
}

.tutor-dashboard-menu-wrap li a {
    border: none !important;
    border-radius: 8px !important;
    margin: 4px 12px !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
}

.tutor-dashboard-menu-wrap li a:hover {
    transform: translateX(4px) !important;
    text-decoration: none !important;
}

.tutor-dashboard-menu-wrap li.active a {
    box-shadow: none !important;
}

/* ----- دکمه‌ها (همه جا) - فقط گردی، بدون بوردر ----- */
.tutor-btn,
.tutor-btn-primary,
button[type="submit"],
.tutor-dashboard-content input[type="submit"],
.tutor-btn-primary:not(.tutor-btn-outline-primary) {
    border: none !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

.tutor-btn:hover,
.tutor-btn-primary:hover,
button[type="submit"]:hover,
.tutor-dashboard-content input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;
    text-decoration: none !important;
}

/* ----- فرم‌ها و ورودی‌ها (بدون بوردر پیش‌فرض، با فوکوس) ----- */
.tutor-form-group input[type="text"],
.tutor-form-group input[type="email"],
.tutor-form-group input[type="password"],
.tutor-form-group input[type="number"],
.tutor-form-group select,
.tutor-form-group textarea {
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    background: #f7f9f5 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    line-height: 1.5 !important;
}

.tutor-form-group input:focus,
.tutor-form-group select:focus,
.tutor-form-group textarea:focus {
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 107, 62, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    outline: none !important;
}

/* ----- جدول‌ها (داشبورد) - بدون بوردر ----- */
.tutor-table,
table.frontend-dashboard-table,
.tutor-dashboard-assignment-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: var(--tutor-shadow-sm) !important;
    background: #ffffff !important;
}

.tutor-table thead th,
table.frontend-dashboard-table thead th {
    background: #f7f9f5 !important;
    color: #2d2f2a !important;
    font-weight: 600 !important;
    padding: 16px 20px !important;
    border-bottom: 2px solid #f0f3ec !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.tutor-table tbody td,
table.frontend-dashboard-table tbody td {
    padding: 14px 20px !important;
    border-bottom: 1px solid #f0f3ec !important;
    background: #ffffff !important;
    color: #3d4038 !important;
}

.tutor-table tbody tr:last-child td {
    border-bottom: none !important;
}

.tutor-table tbody tr:hover td {
    background: #f7f9f5 !important;
}

/* ----- وضعیت‌ها (badge ها) - فقط گردی، بدون بوردر ----- */
.tutor-status-text,
.label-order-status,
.tutor-badge {
    border: none !important;
    border-radius: 50px !important;
    padding: 4px 16px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

/* ----- پیام‌های اطلاع‌رسانی - بدون بوردر ----- */
.tutor-success-msg,
.tutor-info-msg,
.tutor-warning-msg,
.tutor-error-msg {
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 24px !important;
    font-weight: 500 !important;
    box-shadow: var(--tutor-shadow-sm) !important;
}

/* ----- آواتار و پروفایل ----- */
.tutor-dashboard-avater img,
.tutor-avatar img {
    border-radius: 50% !important;
    border: 3px solid #adc5ab !important;
    box-shadow: 0 4px 12px rgba(99, 107, 62, 0.15) !important;
}

.tutor-text-avatar {
    background: #636b3e !important;
    color: #ffffff !important;
    border-radius: 50% !important;
}

/* ----- لینک‌ها و تگ‌ها (بدون بوردر) ----- */
.tutor-course-tags a {
    background: #f0f3ec !important;
    color: #4a4d44 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 4px 16px !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
}

.tutor-course-tags a:hover {
    background: #636b3e !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

/* ----- لینک‌های معمولی (حذف زیرخط در هاور) ----- */
a {
    transition: all 0.3s ease !important;
}

a:hover {
    text-decoration: none !important;
}

/* ----- پیشرفت دوره (Progress Bar) ----- */
.tutor-progress-bar {
    background: #f0f3ec !important;
    border: none !important;
    border-radius: 50px !important;
    height: 8px !important;
    overflow: hidden !important;
}

.tutor-progress-filled {
    background: linear-gradient(90deg, #adc5ab, #636b3e) !important;
    border: none !important;
    border-radius: 50px !important;
    height: 100% !important;
}

.tutor-progress-percent {
    color: #636b3e !important;
    font-weight: 700 !important;
}

/* ----- لیست دوره‌ها در داشبورد ----- */
.tutor-mycourse-wrap .tutor-course-status h4 {
    background: #adc5ab !important;
    color: #2d2f2a !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 2px 16px !important;
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* ----- جدول اعلانات - بدون بوردر ----- */
.tutor-dashboard-announcement-sorting-wrap {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: var(--tutor-shadow-sm) !important;
}

/* ----- حذف بک‌گراندهای خاکستری اضافی ----- */
.tutor-dashboard-student .tutor-col-3,
.tutor-dashboard-student .tutor-col-9,
.tutor-dashboard-content > div,
.tutor-dashboard-content-inner > div,
.tutor-profile-photo-upload-wrap,
.tutor-dashboard-content-inner .tutor-mycourse-wrap .tutor-course-status {
    background: transparent !important;
}

/* ----- تمام بک‌گراندهای داخلی سفید ----- */
.tutor-dashboard-content-inner > *,
.tutor-dashboard-content-inner .tutor-row > *,
.tutor-dashboard-student .tutor-row > * ,
.tutor-course-single-content-wrapper #tutor-single-entry-content .tutor-course-topic-single-footer ,
.tutor-course-single-sidebar-wrapper  ,
.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
    background: #ffffff !important;
}

/* استثنا: مواردی که نباید بک‌گراند داشته باشند */
.tutor-dashboard-content-inner .tutor-row .tutor-col-12,
.tutor-dashboard-content-inner .tutor-row .tutor-col-6,
.tutor-dashboard-content-inner .tutor-row .tutor-col-4,
.tutor-dashboard-content-inner .tutor-row .tutor-col-3 {
    background: transparent !important;
}

/* ----- هدر داشبورد ----- */
.tutor-dashboard-student .tutor-row .tutor-col-12:first-child {
    background: transparent !important;
}

/* ----- ریسپانسیو برای موبایل ----- */
@media (max-width: 768px) {
    .tutor-dashboard-content-inner .tutor-mycourse-wrap {
        border-radius: 12px !important;
        padding: 16px !important;
    }
    
    .tutor-dashboard-menu-wrap li a {
        margin: 4px 8px !important;
        padding: 10px 14px !important;
    }
    
    .tutor-table thead th,
    .tutor-table tbody td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}