/* === Allgemein === */
body {
    font-family: Arial, sans-serif;
    background: #f9fafb;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Hauptcontainer für Newsletter-Seiten */
.newsletter-container {
    background: #ffffff;
    width: 400px;
    max-width: 90%;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.newsletter-container h1 {
    margin-top: 0;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Form-Elemente */
.newsletter-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-container label {
    text-align: left;
    font-weight: bold;
    color: #555;
}

.newsletter-container input[type="email"],
.newsletter-container input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-container button,
.newsletter-container input[type="submit"] {
    background: #007bff;
    color: #fff;
    font-size: 1rem;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.newsletter-container button:hover,
.newsletter-container input[type="submit"]:hover {
    background: #0056b3;
}

/* Links */
.newsletter-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    margin: 5px 0;
    display: inline-block;
}

.newsletter-container a:hover {
    text-decoration: underline;
}

/* Erfolgsmeldung */
.success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

/* Fehlermeldung */
.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
}

/* Kleinere Geräte */
@media (max-width: 480px) {
    .newsletter-container {
        width: 95%;
        padding: 15px;
    }
    .newsletter-container h1 {
        font-size: 1.3rem;
    }
}
.newsletter-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.newsletter-container input[type="text"] {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.newsletter-container button[type="submit"] {
    padding: 10px 20px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.newsletter-container button[type="submit"]:hover {
    background-color: #e60000;
}

.success {
    color: green;
    font-weight: bold;
    margin-bottom: 10px;
}

.error {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}
/* Empfängerliste im Dashboard */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul li {
    background: #f9f9f9;
    margin: 3px 0;
    padding: 5px;
    border-radius: 4px;
    font-size: 14px;
}
ul li small {
    display: block;
    color: #6c757d;
    font-size: 12px;
}
.text-muted {
    color: #6c757d;
}
.text-warning {
    color: #ffc107;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul li {
    background: #f9f9f9;
    margin: 3px 0;
    padding: 5px;
    border-radius: 4px;
    font-size: 14px;
}
ul li small {
    display: block;
    color: #6c757d;
    font-size: 12px;
}
