/* Lingoteria School Frontend Styles */
.ls360-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.ls360-notice {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.ls360-user-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.ls360-user-info h2 {
    margin: 0 0 10px 0;
    font-size: 2em;
}

.ls360-user-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1em;
}

.ls360-courses-list {
    margin-top: 30px;
}

.ls360-courses-list h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

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

.ls360-course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.ls360-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ls360-course-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.ls360-course-card:hover .ls360-course-thumbnail img {
    transform: scale(1.05);
}

.ls360-course-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.ls360-course-placeholder .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: white;
}

.ls360-course-content {
    padding: 25px;
}

.ls360-course-content h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.3em;
    line-height: 1.4;
}

.ls360-course-excerpt {
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.ls360-progress-container {
    margin: 20px 0;
}

.ls360-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ls360-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.ls360-progress-text {
    font-size: 0.9em;
    color: #666;
    font-weight: 600;
}

.ls360-course-actions {
    margin-top: 20px;
}

.ls360-course-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ls360-course-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ls360-courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ls360-dashboard {
        padding: 15px;
    }
    
    .ls360-user-header {
        padding: 20px;
    }
    
    .ls360-user-info h2 {
        font-size: 1.5em;
    }
    
    .ls360-courses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ls360-course-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .ls360-course-card {
        margin: 0 -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .ls360-user-info h2 {
        font-size: 1.3em;
    }
    
    .ls360-course-content h4 {
        font-size: 1.1em;
    }
}

/* Notifications */
.ls360-notification-badge {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

/* Loading states */
.ls360-loading {
    opacity: 0.7;
    pointer-events: none;
}

.ls360-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: ls360-spin 1s linear infinite;
}

@keyframes ls360-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error states */
.ls360-error {
    background: #ffe6e6;
    border: 1px solid #ff4757;
    color: #ff4757;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
}

.ls360-success {
    background: #e6fffa;
    border: 1px solid #2ed573;
    color: #2ed573;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
}