/* 🎬 Custom Video Input Box */
.custom-video-input {
    position: relative;
    border: 2px dashed #4facfe;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.custom-video-input:hover {
    background: rgba(0, 242, 254, 0.05);
    border-color: #00f2fe;
}

.custom-video-input input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}

.custom-video-input::before {
    content: '🎬 Click or Drag & Drop to upload video';
    color: #ccc;
    font-size: 14px;
}

/* 🎥 Video Preview Box */
.nx-video-preview .video-preview-box {
    margin-top: 15px;
    border: 2px solid #4facfe;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16 / 9;
    background: #1e1e2f;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.nx-video-preview .video-preview-box:hover {
    transform: scale(1.02);
}

.nx-video-preview .video-preview-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ⭐ Shimmer Effect */
.nx-video-preview .video-preview-box.shimmer {
    background: linear-gradient(90deg, #1e1e2f 25%, #2c2c3f 50%, #1e1e2f 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.nx-video-preview .fallback-text {
    text-align: center;
    color: #aaa;
    font-size: 14px;
    padding: 20px 0;
}

/* ❌ Remove Button */
.nx-video-preview .remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.nx-video-preview .remove-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}
