.ld-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
    min-height: 80vh;
}
.ld-header {
    margin-bottom: 32px;
}
.ld-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.ld-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    margin: 0;
}
.ld-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.ld-stat-card {
    background: linear-gradient(135deg, rgba(30,30,45,0.95), rgba(20,20,35,0.98));
    border: 1px solid rgba(167,139,250,0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.25s;
}
.ld-stat-card:hover {
    border-color: rgba(167,139,250,0.35);
}
.ld-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #a78bfa;
    line-height: 1;
    margin-bottom: 8px;
}
.ld-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ld-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.ld-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.ld-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}
.ld-section-link {
    font-size: 13px;
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.15s;
}
.ld-section-link:hover {
    color: #c4b5fd;
}
.ld-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.ld-card {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(30,30,45,0.95), rgba(20,20,35,0.98));
    border: 1px solid rgba(167,139,250,0.15);
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}
.ld-card:hover {
    border-color: rgba(167,139,250,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124,58,237,0.15);
}
.ld-card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}
.ld-card-badge.active {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}
.ld-card-badge.in_progress {
    background: rgba(245,158,11,0.15);
    color: #f59e0b;
}
.ld-card-badge.not_started {
    background: rgba(148,163,184,0.15);
    color: #94a3b8;
}
.ld-card-badge.completed {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}
.ld-card-badge.custom {
    background: rgba(124,58,237,0.15);
    color: #a78bfa;
}
.ld-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}
.ld-card-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0 0 12px;
}
.ld-card-progress {
    margin-top: 12px;
}
.ld-progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}
.ld-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    border-radius: 3px;
    transition: width 0.3s;
}
.ld-progress-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.ld-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}
.ld-card-date {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}
.ld-card-arrow {
    color: rgba(167,139,250,0.5);
    font-size: 16px;
    transition: transform 0.15s, color 0.15s;
}
.ld-card:hover .ld-card-arrow {
    transform: translateX(4px);
    color: #a78bfa;
}
.ld-activity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ld-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(30,30,45,0.95), rgba(20,20,35,0.98));
    border: 1px solid rgba(167,139,250,0.1);
    border-radius: 10px;
    padding: 14px 18px;
    transition: border-color 0.2s;
}
.ld-activity-item:hover {
    border-color: rgba(167,139,250,0.25);
}
.ld-activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: rgba(124,58,237,0.15);
}
.ld-activity-body {
    flex: 1;
    min-width: 0;
}
.ld-activity-text {
    font-size: 14px;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.ld-activity-time {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin: 2px 0 0;
}
.ld-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, rgba(30,30,45,0.95), rgba(20,20,35,0.98));
    border: 1px solid rgba(167,139,250,0.1);
    border-radius: 12px;
}
.ld-empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.ld-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
}
.ld-empty-text {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin: 0;
}
.ld-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}
.ld-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(167,139,250,0.3);
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: ld-spin 0.8s linear infinite;
}
@keyframes ld-spin {
    to { transform: rotate(360deg); }
}
.learner-nav-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 10px 20px;
    align-items: center;
}
.learner-nav-bar .nav-btn {
    position: relative;
}
.learner-nav-bar .nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: #a78bfa;
    border-radius: 1px;
}
@media (max-width: 640px) {
    .ld-container {
        padding: 24px 16px;
    }
    .ld-stats {
        grid-template-columns: 1fr;
    }
    .ld-cards {
        grid-template-columns: 1fr;
    }
    .ld-title {
        font-size: 22px;
    }
}
