body {
    font-family: Arial, sans-serif;
    background: #c3c3c3 url(img/pexels-wendywei-1306791.jpg) no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    color: #222;
}

.form-container, .admin-table-container, .admin-delete-container, .edit-form-container {
    max-width: 700px;
    margin: 3rem auto;
    background: rgba(255,255,255,0.97);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    letter-spacing: 1px;
    font-weight: 700;
}

.form-group, fieldset {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #222;
}

input, select, textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1.5px solid #b0b0b0;
    border-radius: 8px;
    background: #f4f8fb;
    color: #222;
    box-sizing: border-box;
    margin-bottom: 0.3rem;
    transition: border 0.2s;
}

input:focus, select:focus, textarea:focus {
    border: 1.5px solid #c3c3c3;
    outline: none;
}

button, .action-btn {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    background: linear-gradient(90deg, #888 60%, #bbb 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    text-decoration: none;
    display: inline-block;
}

button:hover, .action-btn:hover {
    background: linear-gradient(90deg, #b00000 60%, #ff4d4d 100%);
}

.edit-btn {
    background: linear-gradient(90deg, #888 60%, #bbb 100%);
}

.edit-btn:hover {
    background: linear-gradient(90deg, #b9b9b9 60%, #ebebeb 100%);
}

.delete-btn {
    background: #888 !important;   /* z.B. ein mittleres Grau */
    color: #fff !important;
}

.delete-btn:hover {
    background: #555 !important;   /* dunkleres Grau beim Hover */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.98);
    font-size: 1.08rem;
}

th, td {
    padding: 0.8rem 0.5rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

th {
    background: #cfcfcf;   
    color: #b00000;        /* Rot für Text */
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

tr:nth-child(even) {
    background: #f4f8fb;
}

tr:hover td {
    background: #f0f0f0;
}

fieldset {
    border: 1.5px solid #b0b0b0;
    border-radius: 8px;
    background: #f4f8fb;
    padding: 1rem;
}

legend {
    color: #888;
    font-weight: 600;
    padding: 0 0.5rem;
}

.success, .error {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
}

.success {
    color: #155724;
    background: #d4edda;
    border: 1.5px solid #c3e6cb;
}

.error {
    color: #721c24;
    background: #f8d7da;
    border: 1.5px solid #f5c6cb;
}

a {
    color: #b8b8b8;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

.admin-table-container,
.admin-table-container h2,
.admin-table-container th,
.admin-table-container td,
.admin-table-container a,
.admin-table-container label {
    color: #b00000 !important;
}

@media (max-width: 700px) {
    .form-container, .admin-table-container, .admin-delete-container, .edit-form-container {
        padding: 1rem;
        max-width: 98vw;
    }
    table, th, td {
        font-size: 0.95rem;
    }
}