/* ==========================================================================
   ARTY ACADEMY - PREMIUM CYBER DARK DASHBOARD & BRANDING
   ========================================================================== */

/* 1. Global Dark Canvas */
.tutor-dashboard-layout,
.tutor-dashboard,
.tutor-frontend-dashboard,
body.page-id-47 {
    background-color: #090d16 !important;
    color: #f1f5f9 !important;
}

.tutor-dashboard-layout .ast-container,
.tutor-dashboard-layout .site-content {
    background-color: transparent !important;
}

/* 2. Dark Sidebar Navigation */
.tutor-dashboard-sidebar {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    padding: 24px 16px !important;
}

/* 3. Logo Replacement Above "Home" with Attractive Gradient Text */
.tutor-dashboard-sidebar-logo {
    padding: 16px 10px 22px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 22px !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hide the awkward oversized raw logo image */
.tutor-dashboard-sidebar-logo img,
.tutor-dashboard-sidebar-logo .tutor-brand-logo {
    display: none !important;
}

/* Clean, modern Brand Headline */
.tutor-dashboard-sidebar-logo::before {
    content: 'ARty Academy' !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 50%, #d946ef 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: -0.5px !important;
    display: block !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

/* Support by ARty Creative Tagline */
.tutor-dashboard-sidebar-logo::after {
    content: 'support by ARty Creative' !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-top: 5px !important;
    display: block !important;
    text-align: center !important;
}

/* 4. Sidebar Nav Menu Links */
.tutor-dashboard-sidebar-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.tutor-dashboard-sidebar-nav ul li a,
.tutor-dashboard-permalinks li a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 13px 18px !important;
    border-radius: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important; /* Crisp light slate */
    background: transparent !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.tutor-dashboard-sidebar-nav ul li a span,
.tutor-dashboard-permalinks li a span {
    color: #94a3b8 !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.tutor-dashboard-sidebar-nav ul li a svg,
.tutor-dashboard-permalinks li a svg {
    color: #64748b !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    transition: color 0.2s ease !important;
}

/* Hover */
.tutor-dashboard-sidebar-nav ul li a:hover,
.tutor-dashboard-permalinks li a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #38bdf8 !important;
    transform: translateX(4px) !important;
}

.tutor-dashboard-sidebar-nav ul li a:hover span,
.tutor-dashboard-sidebar-nav ul li a:hover svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
}

/* Active State */
.tutor-dashboard-sidebar-nav ul li a.active,
.tutor-dashboard-sidebar-nav ul li.active a,
.tutor-dashboard-permalinks li.active a {
    background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 50%, #d946ef 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45) !important;
}

.tutor-dashboard-sidebar-nav ul li a.active span,
.tutor-dashboard-sidebar-nav ul li a.active svg,
.tutor-dashboard-permalinks li.active a span,
.tutor-dashboard-permalinks li.active a svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* 5. Dark Main Dashboard Shell */
.tutor-dashboard-main {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4) !important;
    padding: 30px !important;
    color: #f1f5f9 !important;
}

/* 6. Dark Dashboard Header (Greeting Bar) */
.tutor-dashboard-header {
    background: linear-gradient(135deg, #131d35 0%, #0f172a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 24px 30px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

.tutor-dashboard-header-left .tutor-h5,
.tutor-dashboard-header-left .tutor-text-primary,
.tutor-dashboard-header h3,
.tutor-dashboard-header h4 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
}

.tutor-dashboard-header-left .tutor-text-subdued {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.tutor-dashboard-header-left .tutor-tiny {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    margin-top: 6px !important;
}

.tutor-dashboard-header-left .tutor-font-medium {
    color: #38bdf8 !important; /* Bright cyan accent for numbers */
    font-weight: 700 !important;
}

.tutor-dashboard-header .tutor-avatar {
    border: 2.5px solid #06b6d4 !important;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.35) !important;
}

/* 7. Dark Content Area / Course List */
.tutor-dashboard-content,
.tutor-dashboard-page,
.tutor-dashboard-body {
    background: transparent !important;
    color: #f1f5f9 !important;
}

.tutor-dashboard-page h2,
.tutor-dashboard-page h3,
.tutor-dashboard-page h4,
.tutor-dashboard-page h5 {
    color: #ffffff !important;
}

/* Filter Dropdown & Selects */
.tutor-dashboard-page .tutor-form-select,
.tutor-dashboard-page select {
    background-color: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
}

/* Search bar */
.tutor-dashboard-page input[type="text"],
.tutor-dashboard-page input[type="search"],
.tutor-dashboard-page .tutor-form-control {
    background-color: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 11px 18px !important;
}

.tutor-dashboard-page input::placeholder {
    color: #64748b !important;
}

.tutor-dashboard-page input:focus {
    border-color: #06b6d4 !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2) !important;
}

/* "+ New Course" Action Button */
.tutor-dashboard-page .tutor-btn-primary,
.tutor-dashboard-page a.tutor-btn-primary,
.tutor-dashboard-header-right .tutor-btn-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 11px 22px !important;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35) !important;
    transition: all 0.25s ease !important;
}

.tutor-dashboard-page .tutor-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.5) !important;
}

/* Course Cards inside Dashboard */
.tutor-dashboard-page .tutor-card,
.tutor-dashboard-page .tutor-course-card,
.tutor-dashboard-page .tutor-mycourse-card {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.tutor-dashboard-page .tutor-card:hover,
.tutor-dashboard-page .tutor-course-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(6, 182, 212, 0.4) !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(6, 182, 212, 0.2) !important;
}

.tutor-dashboard-page .tutor-course-name a,
.tutor-dashboard-page .tutor-mycourse-name a {
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.tutor-dashboard-page .tutor-course-name a:hover {
    color: #38bdf8 !important;
}

/* Meta Texts (Date, Duration, Students Enrolled) */
.tutor-dashboard-page .tutor-meta,
.tutor-dashboard-page .tutor-meta-value,
.tutor-dashboard-page .tutor-color-muted,
.tutor-dashboard-page .tutor-color-secondary {
    color: #94a3b8 !important;
    font-size: 13px !important;
}

.tutor-dashboard-page .tutor-icon-clock-line,
.tutor-dashboard-page .tutor-meta-icon {
    color: #38bdf8 !important;
}

/* Prices */
.tutor-dashboard-page .tutor-price-preview,
.tutor-dashboard-page .tutor-course-price,
.tutor-dashboard-page .price {
    color: #4ade80 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 17px !important;
}

/* 8. Dark Stat Cards (Enrolled, Active, Completed) */
.tutor-stat-card,
.tutor-dashboard-info-card {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    text-decoration: none !important;
    transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.tutor-stat-card:hover,
.tutor-dashboard-info-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(6, 182, 212, 0.35) !important;
}

.tutor-stat-card-title,
.tutor-dashboard-info-card-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

.tutor-stat-card-value,
.tutor-dashboard-info-val {
    font-family: 'Poppins', sans-serif !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-top: 10px !important;
}

/* 9. Dark Profile Completion Card */
.tutor-profile-completion {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 22px 28px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.tutor-profile-completion .tutor-tiny.tutor-text-secondary {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.tutor-profile-completion a.tutor-text-brand {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #38bdf8 !important;
    text-decoration: underline !important;
}

.tutor-profile-completion .tutor-text-subdued {
    color: #94a3b8 !important;
    font-size: 13px !important;
}

/* 10. Dark Tables (Q&A, Quiz Attempts, Reviews, Announcements) */
.tutor-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #1e293b !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.tutor-table th {
    background: #141f36 !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 16px 20px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
}

.tutor-table td {
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 18px 20px !important;
}

.tutor-table td a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.tutor-table td a:hover {
    color: #38bdf8 !important;
}

/* 11. Dark Settings Forms (/dashboard/settings/) */
.tutor-dashboard-page .tutor-form-group label,
.tutor-dashboard-page .tutor-form-label {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
}

.tutor-dashboard-page textarea {
    background-color: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
}

.tutor-dashboard-page .tutor-dashboard-setting-tabs a {
    color: #94a3b8 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid transparent !important;
}

.tutor-dashboard-page .tutor-dashboard-setting-tabs a.is-active,
.tutor-dashboard-page .tutor-dashboard-setting-tabs a.active {
    color: #38bdf8 !important;
    border-bottom-color: #38bdf8 !important;
    font-weight: 700 !important;
}

/* 12. Dark Guest Login Card on /dashboard/ */
.tutor-login-wrap.tutor-card {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 28px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
}

.tutor-login-form-wrapper .tutor-h3 {
    color: #ffffff !important;
}

.tutor-login-form-wrapper label {
    color: #cbd5e1 !important;
}

.tutor-login-form-wrapper .tutor-btn-link-gray {
    color: #38bdf8 !important;
}

.tutor-login-form-wrapper .tutor-small {
    color: #94a3b8 !important;
}

.tutor-login-form-wrapper .tutor-btn-link {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}
