/* ===== Video Contest — Front-end ===== */
.vc-submit-wrap, .vc-gallery-wrap { max-width: 960px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* Submit form */
.vc-submit-header { display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.vc-submit-icon { font-size: 32px; }
.vc-submit-title { margin:0; font-size:20px; }
.vc-submit-sub { margin:4px 0 0; color:#666; font-size:14px; }

.vc-submit-feedback { padding:12px 16px; border-radius:10px; margin-bottom:16px; font-size:14px; }
.vc-submit-feedback.success { background:#e6f7ee; color:#0a7a3f; border:1px solid #b3e6cc; }
.vc-submit-feedback.error   { background:#fdeceb; color:#c0392b; border:1px solid #f5c1bc; }

.vc-sf-group { margin-bottom:18px; }
.vc-sf-label { display:block; font-weight:600; margin-bottom:8px; font-size:14px; }
.vc-guest-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.vc-guest-fields input { grid-column: span 1; }
.vc-sf-hint { display:block; margin-top:6px; color:#888; font-size:12px; }

.vc-input, .vc-textarea {
    width:100%; padding:12px 14px; border:1px solid #ddd; border-radius:10px;
    font-size:14px; box-sizing:border-box; background:#fafafa;
}
.vc-input:focus, .vc-textarea:focus { outline:none; border-color:#6c5ce7; background:#fff; }

.vc-sf-vtabs { display:flex; gap:8px; margin-bottom:12px; }
.vc-sf-vtab {
    padding:8px 16px; border-radius:20px; border:1px solid #ddd; background:#fff;
    cursor:pointer; font-size:13px;
}
.vc-sf-vtab.active { background:#6c5ce7; color:#fff; border-color:#6c5ce7; }

.vc-sf-dropzone {
    position:relative; border:2px dashed #ccc; border-radius:14px; padding:30px 20px;
    text-align:center; cursor:pointer; background:#fafafa; transition:.2s;
}
.vc-sf-dropzone:hover, .vc-sf-dropzone.dragover { border-color:#6c5ce7; background:#f4f2ff; }
.vc-sf-drop-icon { font-size:28px; display:block; margin-bottom:6px; }
.vc-sf-drop-hint { display:block; color:#999; font-size:12px; margin-top:4px; }
.vc-sf-file-input { position:absolute; inset:0; opacity:0; cursor:pointer; }
#vc-sf-video-preview video { width:100%; border-radius:10px; margin-top:10px; max-height:280px; }

.vc-sf-terms label { font-size:13px; color:#555; display:flex; gap:8px; align-items:flex-start; }

.vc-submit-button {
    width:100%; padding:14px; background:#6c5ce7; color:#fff; border:none; border-radius:12px;
    font-size:15px; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
}
.vc-submit-button:hover { background:#5a4bd1; }
.vc-submit-button:disabled { opacity:.6; cursor:not-allowed; }

.vc-upload-progress { margin-top:14px; }
.vc-progress-bar { background:#eee; border-radius:8px; height:8px; overflow:hidden; }
.vc-progress-fill { background:#6c5ce7; height:100%; width:0%; transition:width .2s; }
.vc-progress-label { font-size:12px; color:#888; margin-top:4px; display:block; }

/* Gallery */
.vc-gallery-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px,1fr)); gap:20px; }
.vc-card {
    border-radius:16px; overflow:hidden; background:#fff; box-shadow:0 4px 18px rgba(0,0,0,.08);
    transition:transform .15s;
}
.vc-card:hover { transform:translateY(-3px); }
.vc-card-media { position:relative; aspect-ratio:16/9; background:#111; cursor:pointer; }
.vc-card-media img { width:100%; height:100%; object-fit:cover; display:block; }
.vc-card-noimg { display:flex; align-items:center; justify-content:center; height:100%; color:#fff; font-size:30px; }
.vc-play-badge {
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    background:rgba(0,0,0,.55); color:#fff; width:48px; height:48px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:18px;
}
.vc-card-body { padding:14px; }
.vc-card-title { margin:0 0 6px; font-size:15px; }
.vc-card-meta { display:flex; gap:8px; font-size:12px; color:#888; margin-bottom:10px; flex-wrap:wrap; }
.vc-card-class { background:#f1f0fb; color:#6c5ce7; padding:2px 8px; border-radius:10px; }
.vc-card-actions { display:flex; gap:12px; }
.vc-like-btn, .vc-comment-btn {
    background:none; border:none; cursor:pointer; font-size:13px; color:#555;
    display:flex; align-items:center; gap:5px; padding:0;
}
.vc-like-btn.active { color:#e74c3c; }
.vc-like-icon { font-size:15px; }

.vc-load-more-wrap { text-align:center; margin-top:26px; }
.vc-load-more { padding:10px 26px; border-radius:20px; border:1px solid #ddd; background:#fff; cursor:pointer; }
.vc-empty { text-align:center; color:#888; padding:40px 0; }

/* Modal */
.vc-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; }
.vc-modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.7); }
.vc-modal-box {
    position:relative; background:#fff; border-radius:16px; max-width:640px; width:92%;
    max-height:88vh; overflow-y:auto; padding:20px;
}
.vc-modal-close { position:absolute; top:10px; right:14px; background:none; border:none; font-size:26px; cursor:pointer; }
.vc-modal-video video, .vc-modal-video iframe { width:100%; border-radius:10px; max-height:360px; }
.vc-modal-info { margin-top:14px; }
.vc-modal-desc { color:#555; font-size:14px; }
.vc-modal-comments { margin-top:20px; border-top:1px solid #eee; padding-top:14px; }
.vc-comment-item { padding:8px 0; border-bottom:1px solid #f4f4f4; font-size:13px; }
.vc-comment-item p { margin:2px 0 0; color:#555; }
.vc-comment-form { display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.vc-comment-submit { align-self:flex-end; background:#6c5ce7; color:#fff; border:none; padding:8px 18px; border-radius:8px; cursor:pointer; }

@media (max-width: 600px) {
    .vc-guest-fields { grid-template-columns:1fr; }
}
