/* Vimeo Upload Plugin Styles */
.vimeo-upload-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vimeo-upload-container h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.vimeo-upload-form {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 2px dashed #ddd;
}

.vimeo-upload-form input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}

#vimeo-upload-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

#vimeo-upload-btn:hover {
    background: #005a87;
}

#vimeo-upload-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Progress Bar */
.vimeo-upload-progress {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #666;
    font-weight: bold;
}

/* Alerts */
.vimeo-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Video Result */
.video-result {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #0073aa;
}

.video-result h4 {
    color: #0073aa;
    margin-bottom: 15px;
}

.video-result p {
    margin-bottom: 10px;
}

.video-result a {
    color: #0073aa;
    text-decoration: none;
}

.video-result a:hover {
    text-decoration: underline;
}

.video-embed {
    margin: 15px 0;
    text-align: center;
}

.video-embed iframe {
    max-width: 100%;
    border-radius: 4px;
}

/* User Videos Section */
.vimeo-user-videos {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.vimeo-user-videos h4 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.video-item h5 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.video-item p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.video-item a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.video-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vimeo-upload-container {
        margin: 10px;
        padding: 15px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    #vimeo-upload-btn {
        width: 100%;
        padding: 15px;
    }
}

/* Loading States */
.vimeo-upload-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* File Upload Styling */
.vimeo-upload-form input[type="file"]::-webkit-file-upload-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.vimeo-upload-form input[type="file"]::-webkit-file-upload-button:hover {
    background: #005a87;
}

/* Animation for progress bar */
@keyframes progressPulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.progress-fill {
    animation: progressPulse 2s infinite;
} 