/* Minimalistische Stildefinitionen */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 0;
    color: #333;
    line-height: 1.5;
}

/* Überschriften */
h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: normal;
    display: center;
}

/* Labels */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

/* Formularelemente */
form {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

input,
textarea,
select {
    width: 100%;
    padding: 8px;
    margin: 5px 0 15px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Buttons */
button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

button:hover {
    background-color: #45a049;
}

button.cancel-btn {
    background-color: #f44336;
}

button.cancel-btn:hover {
    background-color: #d32f2f;
}

/* Link-Styling für Cancel-Button */
a {
    text-decoration: none;
    display: inline-block;
}

/* Ticker-Container */
.ticker-container {
    margin-bottom: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Ticker-Einträge */
.ticker-item {
    margin: 10px 0;
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 5px;
    position: relative;
}

.ticker-item div {
    margin-bottom: 5px;
}

.ticker-item .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.ticker-item .delete-btn:hover {
    background-color: #d32f2f;
}

/* Typen-Styling */
.ticker-item.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.ticker-item.info {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

.ticker-item.success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
}

.ticker-item.div {
    background-color: #e2e3e5;
    border-left: 4px solid #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    form {
        padding: 15px;
    }
    
    input, textarea, select {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
    
    button {
        padding: 12px 16px;
        font-size: 16px;
    }
}
