/* DX Digital – media uploads on the Create a Listing form */
.media-drag-drop { transition: border-color .15s ease, background-color .15s ease; }
.media-drag-drop.dx-drag-over { border-color: #00aeff !important; background-color: rgba(0, 174, 255, .06); }

.dx-media-hint { display: block; margin-top: 4px; font-size: 13px; color: #6c757d; }

.dx-video-upload { margin-bottom: 20px; }
.dx-progress { margin-top: 15px; }
.dx-progress[hidden] { display: none !important; }
.dx-progress-bar { height: 10px; border-radius: 10px; background: #e9ecef; overflow: hidden; }
.dx-progress-bar span { display: block; height: 100%; width: 0; background: #00aeff; transition: width .2s ease; }
.dx-progress-text { margin-top: 6px; font-size: 13px; color: #555; }

.dx-upload-error { color: #dc3545; font-size: 14px; margin-top: 10px; }
.dx-upload-error:empty { display: none; }

.dx-video-card { border: 1px solid #dce0e0; border-radius: 4px; overflow: hidden; background: #000; }
.dx-video-card video { display: block; width: 100%; max-height: 420px; background: #000; }
.dx-video-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 15px; background: #fff; }
.dx-video-ok { color: #28a745; font-size: 14px; }

.dx-or { position: relative; text-align: center; margin: 20px 0 15px; color: #6c757d; font-size: 13px; }
.dx-or:before, .dx-or:after { content: ""; position: absolute; top: 50%; width: 38%; border-top: 1px solid #dce0e0; }
.dx-or:before { left: 0; }
.dx-or:after { right: 0; }

@media (max-width: 575.98px) {
    .dx-or:before, .dx-or:after { width: 25%; }
}
