body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #2c3e50; /* Dunkles Blau für Prosecutor Look */
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    color: #fff;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1, h2, h3 {
    margin: 0 0 15px 0;
}

/* Header Links weiß machen */
header a, header span {
    color: #ecf0f1;
}

header h1 {
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: #2980b9;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #34495e; /* Etwas dunkler */
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2c3e50;
}

.btn-danger {
    background-color: #c0392b;
}

.btn-danger:hover {
    background-color: #e74c3c;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.8em;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.alert {
    padding: 15px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.file-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

.file-preview {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    overflow: hidden;
}

.file-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.file-info {
    padding: 10px;
}

.file-name {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.copy-link {
    background: #eee;
    padding: 5px;
    border-radius: 3px;
    font-size: 0.8em;
    cursor: pointer;
    margin-top: 5px;
    word-break: break-all;
}

/* Drag & Drop Upload Styles */
.upload-area {
    border: 2px dashed #34495e;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s, border-color 0.3s;
    margin-bottom: 15px;
}

.upload-area:hover, .upload-area.highlight {
    background-color: #ecf0f1;
    border-color: #2980b9;
}

.upload-area p {
    margin: 0;
    font-size: 1.1em;
    color: #7f8c8d;
}

.file-queue {
    margin-top: 20px;
}

.queue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f1f1f1;
    border-radius: 4px;
    margin-bottom: 5px;
}

.queue-item .name {
    flex-grow: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.queue-item .remove-btn {
    background: #c0392b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}
