.field {
    margin: 0 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
}
.field label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #334155;
}
.input,
textarea,
select {
    border: 1px solid var(--color-contrast);
    border-radius: 10px;
    padding: 10px;
    background: #fff;
    font: inherit;
}
::-webkit-input-placeholder {
    color: #c1c1c1;
}
textarea {
    min-height: 120px;
}

.flex-form{
    display: flex;
    flex-direction: column;
    gap: 24px; /* Space between flex items */

    button[type="submit"] {
        width: 100%;
        margin: auto;
        justify-content: center;
    }
}

.flex-row {
    display: flex;
    gap: 15px; /* Space between flex items */
    flex-wrap: wrap;
}

.flex-row[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
        gap: 20px;
    }
}

.btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
}
.btn.primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
}

.btn.primary:disabled {
    background: #ccc;
    border-color: #ccc;
    color: #fff;
    font-weight: 600;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.media-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.media-fieldset {
    /* padding: 0;
    border: 0; */
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 2rem;
}
ul.locations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

ul.locations-list li.location-entry {
    background-color: #e6e6e6;
    border: 1px solid #999;
    border-radius: 10px;
    padding: 4px 15px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: 100%;
    flex-grow: 1;
    align-items: flex-start;
    gap: 10px;
}

ul.locations-list li.location-entry .address {
    flex-grow: 2;
}

@media (min-width: 1200px) {
    ul.locations-list li.location-entry {
        flex-basis: 45%;
        gap: 10px;
    }
}