/* Drag-and-drop upload target — used to start a race from a basketing sheet. */
.dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border: 2px dashed var(--outline-variant);
    border-radius: var(--radius-lg);
    background: var(--surface-container-lowest);
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.dropzone:hover {
    border-color: var(--outline);
}

/* Highlighted while a file is dragged over it. */
.dropzone.dropzone--over {
    border-color: var(--primary);
    background: var(--primary-container);
    color: var(--on-primary-container);
}

.dropzone__icon {
    font-size: 40px;
    line-height: 1;
}

.dropzone__title {
    font-weight: 700;
    font-size: 16px;
    color: var(--on-surface);
}

.dropzone__hint {
    font-size: 13px;
}

/* The chosen filename / progress line under the zone. */
.dropzone__file {
    margin: var(--space-sm) 0 0;
    font-size: 13px;
    color: var(--on-surface-variant);
}

/* "or" divider between the drop target and the manual path. */
.dropzone-or {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    color: var(--on-surface-variant);
    font-size: 13px;
}

.dropzone-or::before,
.dropzone-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--outline-variant);
}
