/* LMS Öğrenci Paneli - Modern Gradient Design */
:root {
    --gradient-primary: linear-gradient(135deg, #5A3FFF 0%, #00C2FF 100%);
    --gradient-secondary: linear-gradient(135deg, #FCA311 0%, #FF6B6B 100%);
    --gradient-dark: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Login Page */
.lms-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    padding: 20px;
}

.lms-login-container {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 450px;
    width: 100%;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo h1 {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.login-tagline {
    color: var(--text-light);
    font-size: 15px;
    font-style: italic;
}

.login-form {
    margin-top: 35px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #5A3FFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(90, 63, 255, 0.1);
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(90, 63, 255, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(90, 63, 255, 0.4);
}

/* Student Dashboard */
.lms-student-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Top Header */
.dashboard-header {
    background: var(--gradient-dark);
    padding: 30px 40px;
    border-radius: var(--radius);
    color: white;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-welcome h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.header-subtitle {
    font-size: 15px;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.notification-icon {
    position: relative;
    background: rgba(255,255,255,0.2);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.notification-icon:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #EF4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-profile:hover {
    background: rgba(255,255,255,0.3);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* User Info Cards */
.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.user-info-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.user-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.info-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

/* No Courses Message */
.no-courses-message {
    background: white;
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.no-courses-icon {
    font-size: 80px;
    color: #D1D5DB;
    margin-bottom: 20px;
}

.no-courses-message h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-courses-message p {
    color: var(--text-light);
    font-size: 16px;
}

/* Course Cards */
.courses-section {
    margin-top: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.course-header {
    background: var(--gradient-primary);
    padding: 25px;
    color: white;
}

.course-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.course-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    opacity: 0.9;
}

.course-body {
    padding: 25px;
}

.course-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

/* Progress Bar */
.progress-section {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.progress-bar-container {
    height: 10px;
    background: #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.5s ease;
}

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

.btn-continue {
    flex: 1;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-continue:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(90, 63, 255, 0.3);
}

.btn-details {
    padding: 14px 20px;
    background: white;
    color: #5A3FFF;
    border: 2px solid #5A3FFF;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-details:hover {
    background: #5A3FFF;
    color: white;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-around;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-light);
}

.nav-item.active {
    background: var(--gradient-primary);
    color: white;
}

.nav-item:hover {
    background: var(--bg-light);
}

.nav-item.active:hover {
    background: var(--gradient-primary);
}

.nav-icon {
    font-size: 24px;
}

.nav-label {
    font-size: 12px;
    font-weight: 600;
}

/* Footer */
.dashboard-footer {
    text-align: center;
    padding: 30px 20px 100px 20px;
    color: var(--text-light);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .user-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .header-welcome h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .user-info-grid {
        grid-template-columns: 1fr;
    }
}
