/* BEM methodology */

/* Block: .churros-form */
.churros-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.churros-form__field {
    margin-bottom: 15px;
}

.churros-form__label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.churros-form__input,
.churros-form__select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.churros-form__map {
    height: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.churros-form__actions {
    margin-top: 20px;
}

.churros-form__button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.churros-form__button--submit {
    background-color: #2ea44f;
    color: white;
}

.churros-form__button--deactivate {
    background-color: #cb2431;
    color: white;
    margin-left: 10px;
}

.churros-form__messages {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.churros-form__messages--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.churros-form__messages--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Block: .churros-map */
.churros-map {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.churros-map__container {
    flex: 3;
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.churros-map__legend {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.churros-map__legend-title {
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.churros-map__legend-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.churros-map__legend-list li {
    margin-bottom: 8px;
}

/* Modifiers */
.churros-map--loading {
    opacity: 0.5;
}
