/*
 * file-dropzone.css
 *
 * Styles for the .file-dropzone wrapper (see /js/file-dropzone.js).
 * The underlying DotVVM <dot:FileUpload> control stays in the DOM but is
 * visually hidden; the script drives its hidden <input type="file">.
 */

.file-dropzone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
    padding: 28px 20px;
    text-align: center;
    border: 2px dashed #c5c5c5;
    border-radius: 6px;
    background: #fafafa;
    color: #6b6b6b;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.file-dropzone:hover {
    border-color: #4a90d9;
    background: #f2f7fd;
}

.file-dropzone.is-dragover {
    border-color: #4a90d9;
    background: #e8f1fc;
    color: #2c6fb8;
}

.file-dropzone-inner {
    pointer-events: none;
}

.file-dropzone-icon {
    width: 36px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.file-dropzone-text {
    margin: 0;
}

.file-dropzone-hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: #9a9a9a;
}

.file-dropzone .dotvvm-upload {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.file-dropzone .dotvvm-upload .dotvvm-upload-files {
    display: none;
}

.file-dropzone-sm {
    padding: 16px 12px;
}

.file-dropzone-sm .file-dropzone-icon {
    width: 26px;
    margin-bottom: 4px;
}
