.vp-dateien-outer {
    display: flex; gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 2rem 1rem;
    background: #fff; border-radius: 12px; box-shadow: 0 2px 14px #0002;
}
.vp-dateien-nav {
    width: 220px; min-width: 140px; background: #f7f8fa; border-radius: 10px; padding: 1rem;
    font-size: 1rem; border:1px solid #eee;
}
.vp-dateien-nav ul {list-style: none;padding: 0;}
.vp-dateien-nav li {padding: 0.3em 0; margin: 0;}
.vp-dateien-nav li.active {font-weight: bold; color: #297fb8;}
.vp-dateien-nav li a {color:#222;text-decoration:none;}
.vp-dateien-nav button {background:none; border:none; color:#b00; cursor:pointer; font-size:1em;}
.vp-dateien-main {flex: 1; min-width:0;}
.vp-dateiliste {width:100%; border-collapse:collapse; margin-top: 1.2em;}
.vp-dateiliste th,.vp-dateiliste td {padding:.7em .4em; border-bottom:1px solid #eee;}
.vp-dateiliste th {background:#f0f0f0;}
.vp-dateiliste td {background:#fff;}
.vp-dateiliste input[type=text] {width:90%;padding: .2em .3em;}
.vp-dateiliste-empty {opacity: .7; margin: 1em 0;}
#vp-dateien-form, #vp-ordner-form {margin-bottom:.6em;}
@media (max-width: 700px) {
    .vp-dateien-outer { flex-direction: column; padding: 0.7em; }
    .vp-dateien-nav { width: 100%; margin-bottom:1.5em; }
    .vp-dateiliste th, .vp-dateiliste td { font-size:0.95em; }
}
.vp-breadcrumb {
    margin-bottom: 0.6em;
    font-size: 0.97em;
    color: #888;
}
.vp-breadcrumb a {
    color: #21759b;
    text-decoration: none;
}
.vp-breadcrumb a:last-child {
    font-weight: bold;
    color: #222;
    text-decoration: underline;
}
.vp-dateien-nav ul li.active > a,
.vp-subfolders li.active > button {
    font-weight: bold;
    background: #e5f3ff;
    border-radius: 3px;
    color: #21759b;
}
#vp-ordner-form {
    display: flex;
    gap: 1em;
    align-items: center;
    margin-bottom: 1em;
}
#vp-ordner-form button[type="submit"] {
    background: #4BB543;
    color: #fff;
    font-size: 1.8em;
    padding: 0 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
#vp-ordner-form button[type="submit"]:hover,
#vp-ordner-form button[type="submit"]:focus {
    background: #399034;
}
.vp-dropzone-btn {
    display: inline-block;
    background: #21759b;
    color: #fff;
    padding: 0.4em 1.2em;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.6em;
    font-weight: 500;
    box-shadow: 0 2px 6px #0001;
    pointer-events: all;
    transition: background .15s;
    border: none;
}
.vp-dropzone-btn:hover,
.vp-dropzone-btn:focus {
    background: #176094;
}
.vp-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    background: #21759b;
    color: #fff;
    padding: 0.65em 1.5em;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.08em;
    font-weight: 600;
    margin-top: 0.6em;
    margin-bottom: 0.2em;
    box-shadow: 0 2px 8px #21759b1a;
    border: none;
    transition: background .16s, box-shadow .16s;
    outline: none;
}
.vp-upload-btn:focus,
.vp-upload-btn:hover {
    background: #155a8a;
    color: #fff;
    box-shadow: 0 4px 16px #21759b44;
}
.vp-upload-icon {
    font-size: 1.16em;
    vertical-align: middle;
}
.vp-dateiliste-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.2em;
    font-size: 1.05em;
    background: #fafdff;
    border-radius: 10px;
    box-shadow: 0 2px 10px #21759b08;
    overflow: hidden;
}
.vp-dateiliste-table th, .vp-dateiliste-table td {
    padding: .6em .7em;
    text-align: left;
    border-bottom: 1px solid #e0ecf5;
    vertical-align: middle;
}
.vp-dateiliste-table th {
    background: #e8f2fa;
    color: #1563a6;
    font-weight: 600;
    border-bottom: 2px solid #c8d8e6;
}
.vp-dateiliste-table tr:last-child td { border-bottom: none; }
.vp-fileicon {
    text-align: center;
    font-size: 1.25em;
}
.vp-filelink {
    color: #297fb8;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
}
.vp-filelink:hover {
    text-decoration: underline;
    color: #176094;
}
.vp-filesize, .vp-uploader, .vp-comment {
    color: #666;
    font-size: 0.97em;
}
.vp-del-btn {
    background: #fff;
    border: 1.5px solid #c8d8e6;
    border-radius: 6px;
    font-size: 1.18em;
    color: #b00;
    padding: 4px 8px;
    cursor: pointer;
    transition: background .1s, border .1s;
}
.vp-del-btn:hover, .vp-del-btn:focus {
    background: #ffeaea;
    border-color: #e66464;
    color: #a00;
}
.vp-thumb { width:42px; height:42px; object-fit:cover; border-radius:6px; box-shadow:0 1px 4px #0001; }
.vp-thumb-icon { width:42px; height:42px; display:grid; place-items:center; border:1px solid #e0ecf5; border-radius:6px; background:#fff; font-size:18px; }
.vp-actions button, .vp-act-replace { border:1.5px solid #c8d8e6; background:#fff; border-radius:6px; padding:4px 8px; cursor:pointer; }
.vp-actions button:hover, .vp-act-replace:hover { background:#eef7ff; }
.vp-act-replace { display:inline-flex; align-items:center; gap:.3em; }
