/* Allgemeine Stile - Unterstützung für Umlaute: äöüÄÖÜß */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f0f2f4;
    color: #333333;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .header-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-title {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .documents.grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }

    .document-card {
        padding: 12px;
        min-height: 340px;
    }

    .document-card h3 {
        font-size: 18px;
    }

    .document-card p {
        font-size: 13px;
    }

    .view-filter-toggle {
        padding: 4px;
    }

    .view-toggle {
        flex-wrap: wrap;
        gap: 4px;
    }

    .filter-panel.active {
        max-height: 800px;
    }

    .filter-chips {
        flex-direction: column;
        align-items: flex-start;
    }

    .edit-document-list-header, .edit-document-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .edit-document-list-header span, .edit-document-row span {
        padding: 8px;
    }

    .title-column input.inline-edit {
        font-size: 16px;
        padding: 8px;
    }

    .category-column select,
    .language-column select,
    .tag-column select,
    .campaign-column input[type="text"] {
        font-size: 14px;
        padding: 8px;
    }

    .public-column, .action-column {
        justify-content: flex-start;
    }

    .icon-action {
        padding: 10px;
    }

    .icon-action .icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .documents.grid {
        grid-template-columns: 1fr;
    }

    .document-card {
        padding: 10px;
        min-height: 300px;
    }

    .header-logo {
        max-height: 40px;
    }

    .logo-title {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .logo-title span {
        font-size: 18px;
    }

    .btn {
        font-size: 13px;
        padding: 6px 12px;
    }

    .view-btn, .filter-btn, .sharing-btn {
        font-size: 9px;
        padding: 3px 8px;
    }

    .filter-group input, .filter-group select {
        font-size: 12px;
    }
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f2f4;
}

.login-form-container {
    max-width: 400px;
    width: 100%;
    background: #eceff1;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-form h2 {
    font-size: 26px;
    font-weight: 600;
    color: #263238;
    margin-bottom: 12px;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.login-form .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #263238;
}

.login-form .form-group input {
    padding: 10px;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.2);
}

.beta-version {
    font-size: 12px;
    color: #555;
    margin-top: 12px;
    text-align: center;
}

/* Passwort-Eingabemaske (shared_portal.php) */
.password-container {
    max-width: 400px;
    width: 100%;
    margin: 30px auto;
    background: #eceff1;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.password-container h2 {
    font-size: 26px;
    font-weight: 600;
    color: #263238;
    margin-bottom: 20px;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.password-form .form-group label {
    font-size: 15px;
    font-weight: 500;
    color: #263238;
}

.password-form .form-group input {
    padding: 12px;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    font-size: 15px;
    background: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.password-form .form-group input:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.2);
}

.password-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
}

/* Share-Link Container (create_share_link.php) */
.share-link-container {
    max-width: 500px;
    width: 100%;
    margin: 30px auto;
    background: #eceff1;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.share-link-container h2 {
    font-size: 26px;
    font-weight: 600;
    color: #263238;
    margin-bottom: 20px;
}

.share-result-card {
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}

.share-result-card:hover {
    transform: translateY(-3px);
}

.share-success {
    border-left: 4px solid #28a745;
}

.share-error {
    border-left: 4px solid #dc3545;
}

.share-info {
    border-left: 4px solid #17a2b8;
}

.share-result-header {
    font-size: 20px;
    font-weight: 600;
    color: #263238;
    margin-bottom: 10px;
}

.share-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f7f9fb;
    border-radius: 8px;
    font-size: 15px;
    color: #333333;
    flex-wrap: wrap;
}

.share-result-label {
    font-weight: 600;
    color: #263238;
    min-width: 100px;
    text-align: left;
}

.share-link {
    color: #e6007e;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s, text-decoration 0.3s;
}

.share-link:hover {
    color: #b80064;
    text-decoration: underline;
}

.share-result-document-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.share-result-document-list li {
    font-size: 14px;
    color: #333333;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.share-result-document-list li:last-child {
    border-bottom: none;
}

.btn-copy {
    padding: 10px 20px;
    font-size: 15px;
    background: #e6007e;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.btn-copy:hover {
    background: #b80064;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.note {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.copy-feedback {
    display: none;
    margin-left: 8px;
    padding: 4px 8px;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    font-size: 12px;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/* Header */
.main-header {
    background: #263238;
    color: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.header-logo {
    max-height: 50px;
    width: auto;
}

.logo-title span {
    font-size: 20px;
    font-weight: 600;
}

.header-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
    white-space: nowrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #e6007e;
    color: #ffffff;
    border: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #b80064;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #263238;
    color: #ffffff;
    border: none;
}

.btn-secondary:hover {
    background: #1c2526;
    transform: translateY(-2px);
}

.btn-logout {
    background: #263238;
    color: #ffffff;
    border: 1px solid #e6007e;
}

.btn-logout:hover {
    background: #e6007e;
    transform: translateY(-2px);
}

.btn-small {
    padding: 4px;
    font-size: 0;
}

.btn-icon {
    padding: 6px;
    font-size: 0;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon .icon {
    width: 22px;
    height: 22px;
}

.btn-download, .btn-view {
    padding: 6px 12px;
    font-size: 12px;
}

.copy-btn {
    padding: 6px 12px;
    font-size: 12px;
    margin-top: 8px;
    width: 140px;
    justify-content: center;
}

/* Icon-Actions */
.icon-action {
    display: inline-flex;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: #263238;
    transition: opacity 0.3s;
    background: none;
    border: none;
}

.icon-action:hover {
    opacity: 0.7;
}

.icon-action .icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Responsive Anpassung für Icons */
@media (max-width: 768px) {
    .icon-action {
        padding: 10px;
    }

    .icon-action .icon {
        width: 28px;
        height: 28px;
    }
}

/* Share-Icon */
.share-icon {
    width: 24px;
    height: 24px;
    fill: #263238;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    fill: #263238;
}

/* Alert-Icon */
.alert-icon {
    width: 16px;
    height: 16px;
}

/* Zwei-Spalten-Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* View und Filter Toggle */
.view-filter-toggle {
    background: #eceff1;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 12px 0;
    position: sticky;
    top: 70px;
    z-index: 900;
}

.view-toggle {
    display: flex;
    gap: 6px;
}

.view-btn, .filter-btn, .sharing-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #263238;
    font-weight: 500;
    transition: background 0.3s;
    font-size: 10px;
    position: relative;
}

.view-btn.active, .view-btn:hover, .filter-btn.active, .filter-btn:hover, .sharing-btn.active, .sharing-btn:hover {
    background: #ffffff;
    color: #e6007e;
}

.share-count {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    background: #e6007e;
    color: #ffffff;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 500;
    margin-left: 4px;
}

/* Filter-Panel */
.filter-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #eceff1;
    border-radius: 8px;
    margin-top: 6px;
    padding: 0;
}

.filter-panel.active {
    max-height: 600px;
    padding: 10px;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group input, .filter-group select {
    padding: 6px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 10px;
    background: #ffffff;
    width: 100%;
}

.filter-group input:focus, .filter-group select:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.2);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.filter-label {
    font-weight: 500;
    font-size: 10px;
    color: #263238;
    margin-right: 3px;
}

.filter-chip {
    padding: 3px 6px;
    background: #eceff1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 10px;
    color: #333333;
    border: 1px solid #d1d1d1;
    display: flex;
    align-items: center;
    gap: 3px;
}

.filter-chip input {
    display: none;
}

.filter-chip.active {
    background: #e6007e;
    color: #ffffff;
    border-color: #e6007e;
    font-weight: 500;
}

.filter-chip:hover {
    background: #d1d1d1;
    border-color: #b80064;
}

.reset-button {
    padding: 6px 12px;
    background: #e6007e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 10px;
    transition: background 0.3s, transform 0.2s;
    align-self: flex-start;
}

.reset-button:hover {
    background: #b80064;
    transform: translateY(-2px);
}

/* Sharing-Panel */
.sharing-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #eceff1;
    border-radius: 8px;
    margin-top: 6px;
    padding: 0;
}

.sharing-panel.active {
    max-height: 180px;
    padding: 10px;
}

.sharing-form-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sharing-form-controls label {
    font-weight: 500;
    font-size: 12px;
    color: #263238;
}

.sharing-form-controls input[type="password"] {
    padding: 6px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 12px;
    max-width: 160px;
    background: #ffffff;
    margin-right: 6px;
}

.sharing-form-controls input[type="password"]:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.2);
}

.sharing-form-controls .btn-primary {
    padding: 6px 12px;
    font-size: 12px;
}

/* Dokumentenanzeige */
.documents {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.documents.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.documents.list {
    flex-direction: column;
}

.document-card {
    background: #eceff1;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 380px;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.document-preview {
    width: 100%;
    height: 160px;
    display: flex;
    justify-content: left;
    align-items: left;
    background: #f5f7f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    padding: 8px;
}

.document-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
    gap: 6px;
    width: 100%;
    height: 100%;
}

.preview-placeholder p {
    margin: 0;
    font-size: 12px;
}

.preview-placeholder .icon {
    width: 32px;
    height: 32px;
}

.document-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #263238;
    margin-bottom: 4px;
}

.document-card p {
    font-size: 12px;
    color: #555;
    margin-bottom: 2px;
    line-height: 1.4;
}

.document-card p strong {
    color: #263238;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #263238;
    margin-bottom: 6px;
}

.no-share {
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

.no-share.no-share-error {
    font-size: 11px;
    color: #dc3545 !important;
    margin-bottom: 6px;
    font-weight: 500;
}

.document-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.icon-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

/* Listenansicht */
.document-list {
    width: 100%;
    background: #eceff1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.document-list-header, .document-row {
    display: grid;
    grid-template-columns: 30px 320px 140px 110px 140px 140px 110px;
    gap: 12px;
    padding: 12px;
    align-items: center;
    min-height: 44px;
}

.document-list-header {
    background: #ffffff;
    font-weight: 600;
    font-size: 12px;
    color: #263238;
}

.document-row:nth-child(even) {
    background: #f0f2f4;
}

.document-row span {
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Listenansicht: Checkbox ohne Text */
.document-row .checkbox-label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Edit-Dokumentenliste (edit_document.php) */
.edit-document-list {
    width: 100%;
    background: #eceff1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.edit-document-list-header, .edit-document-row {
    display: grid;
    grid-template-columns: 4fr 140px 140px 140px 140px 40px 40px;
    gap: 8px;
    padding: 6px;
    align-items: center;
    min-height: 36px;
}

.edit-document-list-header {
    background: #ffffff;
    font-weight: 600;
    font-size: 11px;
    color: #263238;
}

.edit-document-row:nth-child(even) {
    background: #f0f2f4;
}

.edit-document-row span {
    font-size: 11px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.title-column {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.title-column input.inline-edit {
    width: 100%;
    padding: 5px;
    border: none;
    border-radius: 0;
    font-size: 11px;
    background: transparent;
    color: #333;
    transition: border-bottom 0.3s, box-shadow 0.3s;
}

.title-column input.inline-edit:hover {
    border-bottom: 1px solid #d1d1d1;
}

.title-column input.inline-edit:focus {
    outline: none;
    border-bottom: 1px solid #e6007e;
    box-shadow: 0 1px 0 0 rgba(230, 0, 126, 0.2);
}

.category-column select,
.language-column select,
.tag-column select {
    width: 100%;
    padding: 5px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 11px;
    background: #ffffff;
}

.category-column select:focus,
.language-column select:focus,
.tag-column select:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.2);
}

.campaign-column input[type="text"] {
    width: 100%;
    padding: 5px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 11px;
    background: #ffffff;
}

.campaign-column input[type="text"]:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.2);
}

.public-column {
    display: flex;
    justify-content: center;
}

.public-column input[type="checkbox"] {
    width: auto;
}

.action-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Verwaltungsoberfläche (manage_categories_tags.php, pw.php, edit_document.php, upload.php) */
.manage-users-container, .manage-section {
    margin: 15px 0;
}

.container > h2 {
    font-size: 20px;
    font-weight: 600;
    color: #263238;
    margin-bottom: 10px;
}

.manage-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #263238;
    margin-bottom: 8px;
}

.section-divider {
    border: 0;
    border-top: 1px solid #d1d1d1;
    margin: 20px 0;
}

.manage-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
    background: #eceff1;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.manage-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.manage-form .form-group label {
    font-size: 12px;
    font-weight: 500;
    color: #263238;
}

.manage-form .form-group input,
.manage-form .form-group select {
    padding: 6px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 12px;
    background: #ffffff;
}

.manage-form .form-group input:focus,
.manage-form .form-group select:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.2);
}

.manage-form .icon-action {
    padding: 6px;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-self: flex-end;
}

.manage-list {
    width: 100%;
    background: #eceff1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.manage-list-header, .manage-list-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    padding: 6px;
    align-items: center;
    min-height: 36px;
}

.manage-list-header {
    background: #ffffff;
    font-weight: 600;
    font-size: 11px;
    color: #263238;
}

.manage-list-row:nth-child(even) {
    background: #f0f2f4;
}

.manage-list-row span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.manage-list-row .edit-input {
    width: 100%;
    padding: 5px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 11px;
    background: #ffffff;
    max-width: 200px;
}

.manage-list-row .edit-input:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.2);
}

.manage-list-row .action-buttons .icon-action {
    background: none;
    border: none;
}

.action-buttons {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.no-results {
    text-align: center;
    color: #555;
    font-size: 12px;
    padding: 12px;
    width: 100%;
}

/* Benutzerliste (pw.php) */
.user-list {
    width: 100%;
    background: #eceff1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-list-header, .user-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 8px;
    padding: 6px;
    align-items: center;
    min-height: 36px;
}

.user-list-header {
    background: #ffffff;
    font-weight: 600;
    font-size: 11px;
    color: #263238;
}

.user-row:nth-child(even) {
    background: #f0f2f4;
}

.user-row span {
    font-size: 11px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-input {
    padding: 5px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 11px;
    background: #ffffff;
    max-width: 120px;
}

.action-input:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.2);
}

/* Upload-Formular (upload.php) */
.upload-form-container {
    max-width: 560px;
    margin: 10px auto;
    background: #eceff1;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upload-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-form .form-group label {
    font-size: 11px;
    font-weight: 500;
    color: #263238;
}

.upload-form .form-group input,
.upload-form .form-group select {
    padding: 6px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 11px;
    background: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.upload-form .form-group input:focus,
.upload-form .form-group select:focus {
    outline: none;
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.2);
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    padding: 6px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 11px;
    background: #ffffff;
}

/* Alerts */
.alert {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
}

.alert .icon {
    width: 16px;
    height: 16px;
}