/* Upload card */

.upload-section__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Drop zone */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    color: var(--text-muted);
    font-size: .9rem;
}

.drop-zone:hover,
.drop-zone.has-file {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--text);
}

.drop-zone.has-error {
    border-color: var(--red);
    background: color-mix(in srgb, var(--red) 10%, transparent);
    color: var(--red);
}

.drop-zone.is-disabled {
    cursor: not-allowed;
    opacity: .5;
}

.drop-zone input[type="file"] {
    display: none;
}

.drop-zone svg {
    opacity: .5;
}

.drop-zone.has-file svg {
    opacity: 1;
    color: var(--accent);
}

/* Help link under the drop zone; pulled up so the tap target does not double the gap */
.upload-help-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 2.75rem;
    margin-top: -.75rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--brand);
}

/* Preview */
