/* YouTube Learning Styles */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.75rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #718096;
}

.video-summary {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.video-summary strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.video-summary p {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.video-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* Mood Board Styles */

.moodboards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.moodboard-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.moodboard-card:hover {
    transform: translateY(-4px);
}

.moodboard-image {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}

.moodboard-info {
    padding: 1.5rem;
}

.moodboard-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 1rem;
}

.moodboard-colors {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.moodboard-suggestions {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.moodboard-suggestions strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #667eea;
    font-size: 0.875rem;
}

.moodboard-suggestions p {
    font-size: 0.8125rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
}

.moodboard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.moodboard-date {
    font-size: 0.875rem;
    color: #a0aec0;
}

/* Color Palette Preview */

.color-palette-preview {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.color-palette-preview h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem;
}

.color-swatches {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.color-swatch span {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* AI Suggestions */

.ai-suggestions {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #667eea;
    margin-bottom: 1.5rem;
}

.ai-suggestions h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin: 0 0 1rem;
}

.ai-suggestions p {
    font-size: 0.9375rem;
    color: #2d3748;
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
}

/* Responsive */

@media (max-width: 768px) {

    .videos-grid,
    .moodboards-grid {
        grid-template-columns: 1fr;
    }
}