.fae-parkings-widget {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    z-index: 999999;
    font-family: Arial, Helvetica, sans-serif;
}

.fae-parkings-widget,
.fae-parkings-widget * {
    box-sizing: border-box;
}

.fae-parkings-widget .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.fae-parkings-widget button.fae-parkings-button,
.fae-parkings-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #fff !important;
    border-radius: 4px !important;
    background: #005eb8 !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow:
        0 0 0 1px #005eb8,
        0 2px 8px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer;
    line-height: 1 !important;
    text-decoration: none !important;
    appearance: none !important;
}

.fae-parkings-widget button.fae-parkings-button:hover,
.fae-parkings-widget button.fae-parkings-button:focus,
.fae-parkings-button:hover,
.fae-parkings-button:focus {
    background: #004f9e !important;
    background-image: none !important;
    color: #fff !important;
    outline: 2px solid rgba(255, 255, 255, 0.9) !important;
    outline-offset: 2px !important;
}

.fae-parkings-icon {
    display: block;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 34px;
    text-transform: uppercase;
}

.fae-parkings-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(360px, calc(100vw - 32px));
    max-height: min(70vh, 620px);
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: #fff;
    color: #243421;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.fae-parkings-widget.is-open .fae-parkings-dropdown {
    display: block;
}

.fae-parkings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e4eadf;
    background: #f4f8f1;
    color: #243421;
    font-size: 18px;
}

.fae-parkings-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #243421;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    appearance: none;
}

.fae-parkings-close:hover,
.fae-parkings-close:focus {
    background: #dfead8;
    color: #243421;
    outline: none;
}

.fae-parkings-list {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fae-parkings-item {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid #edf1e9;
}

.fae-parkings-item:last-child {
    border-bottom: 0;
}

.fae-parkings-status {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.fae-parking-status-good {
    background: #2e9e3f;
}

.fae-parking-status-medium {
    background: #f2a900;
}

.fae-parking-status-bad {
    background: #c42d2b;
}

.fae-parkings-info {
    min-width: 0;
    color: #243421;
    font-size: 14px;
    line-height: 1.35;
}

.fae-parkings-title {
    margin-bottom: 5px;
    color: #243421;
    font-size: 16px;
    font-weight: 700;
}

.fae-parkings-title a,
.fae-parkings-map {
    color: #1d5f9f;
    text-decoration: none;
}

.fae-parkings-title a:hover,
.fae-parkings-title a:focus,
.fae-parkings-map:hover,
.fae-parkings-map:focus {
    color: #0c3f70;
    text-decoration: underline;
}

.fae-parkings-closed {
    display: inline-block;
    margin-left: 6px;
    color: #c42d2b;
    font-size: 13px;
    font-weight: 700;
}

.fae-parkings-update {
    margin-bottom: 4px;
    color: #5c6b58;
    font-size: 13px;
}

.fae-parkings-map {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
}

.fae-parkings-empty {
    margin: 0;
    padding: 16px;
    color: #243421;
}

@media (max-width: 782px) {
    .fae-parkings-widget button.fae-parkings-button,
    .fae-parkings-button {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .fae-parkings-icon {
        font-size: 27px;
    }

    .fae-parkings-dropdown {
        position: fixed;
        top: 82px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 104px);
        border-radius: 10px;
    }
}

@media (max-width: 782px) and (max-height: 560px) {
    .fae-parkings-dropdown {
        top: 62px;
        max-height: calc(100vh - 74px);
    }
}
