/* LV-Extraktor - Minimal custom CSS on top of Pico */

:root {
    --pico-font-size: 16px;
}

header.container nav {
    padding: 0.5rem 0;
}

footer.container {
    text-align: center;
    padding: 2rem 0;
    opacity: 0.6;
}

/* Flash messages */
.flash-error {
    background: #fee;
    border-left: 4px solid #c00;
    padding: 1rem;
    margin-bottom: 1rem;
}

.flash-success {
    background: #efe;
    border-left: 4px solid #0a0;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Progress bar animation */
progress {
    transition: value 0.5s ease;
}

/* Custom file input - German labels */
.custom-file-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border: 1px solid var(--pico-form-element-border-color);
    border-radius: var(--pico-border-radius);
    cursor: pointer;
}

.custom-file-input input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.custom-file-input .file-button {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--pico-primary);
    color: var(--pico-primary-inverse);
    border-radius: var(--pico-border-radius);
    font-size: 0.875rem;
    white-space: nowrap;
}

.custom-file-input .file-label {
    color: var(--pico-muted-color);
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Admin stats grid */
.grid article {
    text-align: center;
}

.grid article h3 {
    margin: 0;
    font-size: 2rem;
}
