body {
    font-family: 'Roboto', sans-serif;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.lists-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.list-column {
    width: 33%;
    max-width: 250px;
}

.name-list {
    border: 1px solid #ccc;
    min-height: 200px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    width: 100%;
}

.name-item {
    background: white;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.name-item.dragging {
    opacity: 0.5;
}

.edit-button, .delete-button {
    font-family: "Segoe UI Symbol", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 0;
    font-size: 1.5em;
    line-height: 1;
}

.edit-button:hover {
    opacity: 1;
    color: #007bff;
}

.delete-button:hover {
    opacity: 1;
    color: #dc3545;
}

.button-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
}

#saveOrder {
    background-color: #dc3545;
}

#saveOrder:hover {
    background-color: #c82333;
}

#clearOrder {
    background-color: #dc3545;
}

#clearOrder:hover {
    background-color: #c82333;
}

@media (max-width: 600px) {
    .lists-container {
        flex-direction: column;
    }
    
    .list-column {
        min-width: 100%;
    }

    /* Reihenfolge der Listen im Hochformat umkehren */
    .lists-container {
        display: flex;
        flex-direction: column-reverse;  /* Dreht die Reihenfolge der Flex-Items um */
    }
}

.add-dog-container {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.add-dog-container input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
}

#addDog {
    background-color: #28a745;
}

#addDog:hover {
    background-color: #218838;
}

.button-group {
    display: flex;
    gap: 5px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
}

/* Neue Styles für die Rotationswarnung */
.rotation-warning {
    display: none;  /* Standardmäßig versteckt */
    background: #ffeeba;
    border: 1px solid #ffc107;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 15px;
}

@media (max-width: 600px) and (orientation: portrait) {
    .rotation-warning {
        display: block;  /* Nur im Hochformat auf kleinen Bildschirmen anzeigen */
    }
}

.login-container {
    max-width: 300px;
    margin: 100px auto;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-form input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
}

.login-form button {
    background-color: #28a745;
    padding: 8px;
}

.login-form button:hover {
    background-color: #218838;
}

.login-info {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9em;
    line-height: 1.4;
}

#helpButton {
    background-color: #dc3545;  /* Rot statt Info-Blau */
    margin-bottom: 20px;
}

#helpButton:hover {
    background-color: #c82333;  /* Dunkleres Rot beim Hover */
}

.help-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 80%;
    max-height: 80vh;
    overflow-y: auto;
}

.help-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.help-modal h2 {
    margin-top: 0;
    color: #333;
}

.help-modal ul {
    padding-left: 20px;
    line-height: 1.6;
}

.help-modal button {
    margin-top: 15px;
}

.refresh-hint {
    text-align: center;
    color: #800020;  /* Bordeaux-Farbe */
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.help-warning {
    color: #dc3545;
    margin-top: 15px;
    font-weight: 500;
} 