/* style.css (v5.1 - Pico Additions) */

/* Status-Meldungen */
.status-message {
    font-weight: bold;
    min-height: 1.2rem; /* Verhindert Springen des Layouts */
}
.status-success {
    color: var(--pico-color-green-600);
}
.status-error {
    color: var(--pico-color-red-600);
}

/* Drag & Drop Zone */
#drop-zone {
    border: 2px dashed var(--pico-form-element-border-color);
    text-align: center;
    transition: background-color 0.2s, border-color 0.2s;
}

/* Pico-Variablen für Hover-Effekt nutzen */
#drop-zone.drag-hover {
    background-color: var(--pico-form-element-focus-background-color);
    border-color: var(--pico-form-element-focus-border-color);
}

/* Standardmäßig Views ausblenden */
.app-view {
    display: none;
}

/* Aktionen in Tabellen (Links als Buttons tarnen) */
#file-list a[class*="-btn"] {
    text-decoration: none;
    font-weight: normal;
}
#file-list a[class*="-btn"]:hover {
    text-decoration: underline;
}

/* Pico-Navbar kompakter machen */
nav ul {
    margin-bottom: 0;
}
nav li {
    padding-bottom: 0;
}

/* Pico's Hässlichen "file-input" Button verstecken */
#file-input {
    display: none;
}
/* Stattdessen das <label> stylen */
#drop-zone label[for="file-input"] {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--pico-primary);
    border-radius: var(--pico-border-radius);
    color: var(--pico-primary);
    cursor: pointer;
    margin: 0;
}
#drop-zone label[for="file-input"]:hover {
    background: var(--pico-primary);
    color: var(--pico-primary-inverse);
}