/* wwwroot/css/entity-files.css
   StagePilot zentrale Dateiablage
*/

.sp-entity-files-panel .card,
.sp-file-upload-card {
    border-radius: var(--sp-radius-lg, 12px);
}

.sp-file-dropzone {
    border: 2px dashed rgba(99, 92, 173, .30);
    background: rgba(99, 92, 173, .04);
    min-height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 18px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.sp-file-dropzone:hover,
.sp-file-dropzone:focus-visible,
.sp-file-dropzone.is-dragover {
    background: rgba(99, 92, 173, .08);
    border-color: rgba(99, 92, 173, .65);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    outline: none;
}

.sp-file-dropzone.is-dragover {
    transform: translateY(-1px);
}

.sp-file-dropzone-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(99, 92, 173, .20);
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.sp-file-dropzone-title {
    font-weight: 800;
    color: var(--sp-color-text, #20253f);
}

.sp-file-dropzone-sub {
    color: var(--sp-color-text-soft, #66708f);
}

.sp-entity-files-panel.is-uploading .sp-file-dropzone {
    opacity: .72;
    pointer-events: none;
}

.sp-entity-files-table td,
.sp-entity-files-table th {
    vertical-align: middle;
}

.sp-entity-files-table .btn-group .btn {
    white-space: nowrap;
}
