.nx-media-picker {
    border: 2px dashed #4facfe;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
    transition: 0.3s ease;
    position: relative;
}

.preview-box {
    margin: 0 auto;
    max-width: 240px;
    aspect-ratio: 16 / 9;
    border: 1px solid #4facfe;
    border-radius: 10px;
    overflow: hidden;
    background: #1e1e2f;
    position: relative;
}

.preview-box img, .preview-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-box audio {
    width: 100%;
}

.doc-icon {
    padding: 20px;
    color: #fff;
}

.doc-icon .material-icons {
    font-size: 40px;
    color: #ff6f61;
}

.remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc3545;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.shimmer {
    background: linear-gradient(90deg, #1e1e2f 25%, #2c2c3f 50%, #1e1e2f 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}


/* ❌ Remove Button */
.remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e74c3c;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.remove-btn .material-icons {
    color: #fff;
    font-size: 16px;
}

.remove-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}
