/* Spotify Embed Widget Styles */

/* Main Widget Styles */
.spotify-embed-wrapper {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.spotify-embed-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.spotify-embed-placeholder:hover {
    border-color: #1db954;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.1);
}

.spotify-embed-placeholder p {
    margin: 0;
    color: #6c757d;
    font-size: 16px;
    font-style: italic;
}

.spotify-embed-wrapper iframe {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.spotify-embed-wrapper iframe:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.spotify-embed-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
}

.spotify-embed-error p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spotify-embed-placeholder {
        padding: 30px 15px;
    }
    
    .spotify-embed-placeholder span {
        font-size: 36px;
    }
    
    .spotify-embed-placeholder h3 {
        font-size: 16px;
    }
    
    .spotify-embed-placeholder p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .spotify-embed-placeholder {
        padding: 20px 10px;
    }
    
    .spotify-embed-placeholder span {
        font-size: 32px;
    }
    
    .spotify-embed-placeholder h3 {
        font-size: 15px;
    }
    
    .spotify-embed-placeholder p {
        font-size: 13px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .spotify-embed-placeholder {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .spotify-embed-placeholder:hover {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
        border-color: #1db954;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .spotify-embed-placeholder {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .spotify-embed-wrapper,
    .spotify-embed-placeholder,
    .spotify-embed-wrapper iframe {
        transition: none;
    }
    
    .spotify-embed-placeholder:hover,
    .spotify-embed-wrapper iframe:hover {
        transform: none;
    }
}

/* Elementor Editor Specific Styles */
.elementor-editor-active .spotify-embed-wrapper {
    pointer-events: auto;
}

/* Widget Preview Styles */
.elementor-widget-spotify-embed .elementor-widget-container {
    overflow: visible;
}
