/* Dashboard Stilleri */
.dashboard-container {
    padding: 0px 0;
    background-color: #f9fafb;
    min-height: calc(100vh - 200px);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.widget {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.widget:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.widget-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.edit-profile-btn, .view-all-btn {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.edit-profile-btn:hover, .view-all-btn:hover {
    text-decoration: underline;
}

.widget-content {
    padding: 20px;
}

/* Kullanıcı Profil Widget'ı */
.user-profile .widget-content {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid #eee;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex-grow: 1;
}

.user-info p {
    margin: 5px 0;
    color: #555;
}

.user-info strong {
    font-weight: 600;
    color: #333;
}

/* Kurslarım Widget'ı */
.course-list, .ebook-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.course-item, .ebook-item {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.course-image, .ebook-image {
    width: 120px;
    height: 90px;
    overflow: hidden;
}

.course-image img, .ebook-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-details, .ebook-details {
    padding: 10px 15px;
    flex-grow: 1;
}

.course-details h3, .ebook-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.course-details p, .ebook-details p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}

.course-details .btn, .ebook-details .btn {
    padding: 5px 15px;
    font-size: 13px;
}

/* Boş durum mesajları */
.empty-state {
    text-align: center;
    padding: 30px 20px;
}

.empty-state p {
    color: #777;
    margin-bottom: 15px;
}

.empty-state .btn {
    display: inline-block;
}

/* Hızlı Erişim Widget'ı */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #555;
}

.quick-link-item:hover {
    background-color: #0066cc;
    color: white;
    transform: translateY(-2px);
}

.quick-link-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.quick-link-item span {
    font-size: 14px;
    font-weight: 500;
}

/* User Profile Widget Spans 2 Columns */
.user-profile {
    grid-column: span 2;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .dashboard-widgets {
        grid-template-columns: 1fr;
    }
    
    .user-profile {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .dashboard-title {
        font-size: 28px;
    }
    
    .user-profile .widget-content {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .course-image, .ebook-image {
        width: 80px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dashboard Welcome */
.dashboard-welcome {
    background: linear-gradient(135deg, #0066cc, #004d99);
    padding: 60px 0;
    color: #fff;
}

.welcome-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.welcome-content {
    flex: 1;
}

.welcome-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.welcome-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.welcome-image {
    width: 30%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.welcome-image:hover img {
    transform: scale(1.05);
}

/* Stats Section */
.dashboard-stats {
    padding: 40px 0;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #fff;
    font-size: 24px;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.progress-bar {
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #5da8ff);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.stat-numbers {
    display: flex;
    gap: 15px;
}

.stat-number {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number .number {
    font-size: 28px;
    font-weight: 700;
    color: #0066cc;
}

.stat-number .label {
    font-size: 12px;
    color: #666;
}

.membership-status {
    margin-top: 5px;
}

.status-label {
    display: inline-block;
    padding: 3px 10px;
    background-color: #28a745;
    color: #fff;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 5px;
}

/* Featured Content */
.featured-content {
    padding: 60px 0;
    background-color: #f9fafb;
}

.featured-box {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.featured-image {
    width: 40%;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-box:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content-details {
    padding: 40px;
    flex: 1;
}

.featured-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #ff6b6b;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.featured-content-details h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.featured-content-details p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.featured-price {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
    margin-right: 10px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #0066cc;
    margin-right: 10px;
}

.discount-badge {
    background: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Dashboard Main Content */
.dashboard-main {
    padding: 60px 0;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.widget {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.widget:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.widget-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.edit-profile-btn, .view-all-btn {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.edit-profile-btn:hover, .view-all-btn:hover {
    text-decoration: underline;
}

.widget-content {
    padding: 20px;
}

/* Course Items */
.course-list, .ebook-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-item, .ebook-item {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.course-image, .ebook-image {
    width: 180px;
    height: 120px;
    position: relative;
    overflow: hidden;
}

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

.course-item:hover .course-image img, 
.ebook-item:hover .ebook-image img {
    transform: scale(1.05);
}

.course-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
}

.course-progress .progress-bar {
    height: 5px;
    margin-bottom: 3px;
}

.progress-text {
    color: white;
    font-size: 10px;
}

.course-details, .ebook-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-details h3, .ebook-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.course-details p, .ebook-details p {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.course-actions, .ebook-actions {
    display: flex;
    gap: 10px;
}

/* Recommended Items */
.recommended-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.recommended-item {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.recommended-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.rec-image {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.rec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommended-item:hover .rec-image img {
    transform: scale(1.05);
}

.rec-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.rec-details {
    padding: 15px;
}

.rec-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.rec-details p {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    height: 40px;
    overflow: hidden;
}

.rec-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rec-actions {
    display: flex;
    gap: 10px;
}

/* Testimonial */
.dashboard-testimonial {
    margin-bottom: 40px;
}

.testimonial-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    color: #0066cc;
    opacity: 0.2;
}

.testimonial-content {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #0066cc;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

/* CTA Section */
.dashboard-cta {
    margin-bottom: 40px;
}

.cta-box {
    display: flex;
    background: linear-gradient(135deg, #0066cc, #004080);
    border-radius: 15px;
    overflow: hidden;
    color: #fff;
}

.cta-content {
    padding: 40px;
    flex: 1;
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-image {
    width: 25%;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #0066cc;
    border: 1px solid #0066cc;
}

.btn-outline:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .welcome-box {
        flex-direction: column;
    }
    
    .welcome-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .featured-box {
        flex-direction: column;
    }
    
    .featured-image {
        width: 100%;
        height: 300px;
    }
    
    .cta-box {
        flex-direction: column;
    }
    
    .cta-image {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 992px) {
    .dashboard-widgets {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .recommended-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .welcome-content h1 {
        font-size: 28px;
    }
    
    .welcome-content p {
        font-size: 16px;
    }
    
    .featured-content-details {
        padding: 20px;
    }
    
    .featured-content-details h2 {
        font-size: 22px;
    }
    
    .current-price {
        font-size: 22px;
    }
    
    .course-image, .ebook-image {
        width: 120px;
        height: 90px;
    }
    
    .cta-content {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .testimonial-content p {
        font-size: 16px;
    }
    
    .course-item, .ebook-item {
        flex-direction: column;
    }
    
    .course-image, .ebook-image {
        width: 100%;
        height: 160px;
    }
} 