.torgo-location {
    box-sizing: border-box;
    width: min(100%, 760px);
    max-width: calc(100vw - 16px);
    margin: 18px auto;
    padding: 14px;
    border: 1px solid #aaaacc;
    background: #f7f7ff;
    color: #222;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 13px;
    text-align: left;
}

.torgo-location__title {
    margin: 0 0 8px;
    color: #882222;
    font-size: 18px;
    text-align: center;
}

.torgo-location__help,
.torgo-location__controls,
.torgo-location__status {
    margin: 8px 0;
}

.torgo-location__map {
    width: 100%;
    max-width: 100%;
    height: 360px;
    border: 1px solid #888;
    background: #e8e8e8;
}

.torgo-location__locate {
    min-height: 34px;
    padding: 5px 12px;
    cursor: pointer;
}

.torgo-location__status {
    min-height: 18px;
    font-weight: bold;
}

.torgo-location__status.is-error {
    color: #a40000;
}

.torgo-location__status.is-success {
    color: #285f18;
}

.torgo-location__routes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 0;
    text-align: center;
}

.torgo-location__routes a {
    color: #0000cc;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .torgo-location {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        margin: 12px 0;
        padding: 10px;
    }

    .torgo-location__map {
        height: 280px;
    }

    .torgo-location__locate {
        width: 100%;
    }

    .torgo-location__routes {
        display: grid;
        gap: 10px;
    }
}
