/* Panel Özel Stilleri */
.panel-wrapper {
    margin-top: 100px;
    min-height: 80vh;
}

.panel-container {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

/* Sol Menü */
.panel-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.panel-sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.panel-user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.panel-user-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.panel-user-role {
    font-size: 13px;
    opacity: 0.8;
}

.panel-menu {
    padding: 20px 0;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.panel-menu-item {
    padding: 0;
    margin: 0;
    list-style: none;
}

.panel-menu-item a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.panel-menu-item a:hover,
.panel-menu-item a.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #fff;
    color: #fff;
}

.panel-menu-item a i {
    width: 25px;
    font-size: 18px;
    margin-right: 12px;
}

.panel-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.panel-logout {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    flex-shrink: 0;
}

.panel-logout button {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.panel-logout button:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* İçerik Alanı */
.panel-content {
    flex: 1;
    padding: 40px;
    background: #f8f9fa;
}

.panel-header-top {
    margin-bottom: 30px;
}

.panel-header-top h1 {
    font-size: 28px;
    color: #0e2b5c;
    margin: 0 0 10px 0;
}

.panel-header-top p {
    color: #6c757d;
    margin: 0;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.stat-card.purple .stat-icon {
    background: rgba(118, 75, 162, 0.1);
    color: #764ba2;
}

.stat-card.blue .stat-icon {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.stat-card.orange .stat-icon {
    background: rgba(255, 159, 67, 0.1);
    color: #ff9f43;
}

.stat-card.indigo .stat-icon {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0e2b5c;
    margin: 0 0 5px 0;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Content Cards */
.content-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 20px;
    color: #0e2b5c;
    margin: 0 0 20px 0;
}

/* Progress Items */
.progress-item {
    margin-bottom: 20px;
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-label span {
    font-size: 14px;
    color: #0e2b5c;
    font-weight: 600;
}

.progress-label small {
    color: #6c757d;
}

.progress {
    height: 10px;
    border-radius: 10px;
    background: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
}

/* Lesson Items */
.lesson-item {
    padding: 15px;
    border-left: 4px solid #667eea;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 12px;
}

.lesson-item:last-child {
    margin-bottom: 0;
}

.lesson-item h5 {
    font-size: 15px;
    color: #0e2b5c;
    margin: 0 0 5px 0;
}

.lesson-item p {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 8px 0;
}

.lesson-time {
    display: inline-block;
    background: #667eea;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 991px) {
    .panel-container {
        flex-direction: column;
    }

    .panel-sidebar {
        width: 100%;
        min-height: auto;
    }

    .panel-menu {
        overflow-y: visible;
    }

    .panel-content {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
