.upload-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 1)),
            url('/assets/take-a-photo.640x480.jpeg') no-repeat center center;
    background-size: cover;
    z-index: -2;
}

/* Glass overlay */
.upload-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    z-index: -1;
}

.upload-form__spinner {
    display: none;
    margin-top: 1rem;
    font-weight: bold;
}

.upload-form__button {
    padding: 1rem;
    background-color: var(--rptu-brand-hellblau);
    color: white;
    border: none;
    border-radius: .5rem;
    cursor: pointer;
}

.upload-form__button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

.upload-form__hint {
    display: block;
    position: relative;
    max-width: 40ch;
    width: 100%;
    margin: 1rem 0;

    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: .25rem .25rem .5rem rgba(0, 0, 0, 0.25);
}

.upload-form__hint p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
}

.upload-form__hint img {
    display: block;
    max-width: 100%;
}
