.modal-overlay { display: none; }
.modal-overlay.show { display: flex !important; }
.clipboard-proxy { position: fixed; opacity: 0; }
.drop-zone-active { border-color: #4f6ef6 !important; color: #4f6ef6 !important; }
.btn-disabled { opacity: 0.4 !important; cursor: not-allowed !important; background: #aaa !important; }
.file-upload { display: block; width: 100%; }
.file-upload-input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.file-upload-box {
    width: 100%;
    min-height: 112px;
    border: 1px dashed #cfd5e3;
    border-radius: 8px;
    background: #f8f9fc;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.file-upload-box:hover,
.file-upload.is-dragover .file-upload-box {
    background: #fff;
    border-color: #4f6ef6;
    color: #4f6ef6;
    box-shadow: 0 0 0 3px rgba(79, 110, 246, 0.08);
}
.file-upload-user .file-upload-box:hover,
.file-upload-user.is-dragover .file-upload-box {
    border-color: #22c55e;
    color: #16a34a;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.10);
}
.file-upload-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}
.file-upload-title { font-size: 13px; font-weight: 600; color: inherit; }
.file-upload-subtitle { font-size: 12px; color: #9ca3af; }
.file-upload-file {
    min-height: 18px;
    margin-top: 8px;
    color: #374151;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-upload-progress {
    display: none;
    width: 100%;
    height: 8px;
    margin-top: 8px;
    accent-color: #4f6ef6;
}
.file-upload-user .file-upload-progress { accent-color: #22c55e; }
.file-upload.is-uploading .file-upload-progress { display: block; }
.file-upload-status {
    min-height: 18px;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}
.file-upload.has-error .file-upload-status { color: #d14343; }
.file-upload.is-success .file-upload-status { color: #16a34a; }
.file-upload-admin.is-success .file-upload-status { color: #4f6ef6; }
.file-upload.is-uploading .file-upload-box { opacity: 0.7; cursor: progress; }
