.nww-widget {
    position: relative;
    display: inline-block;
    font-family: inherit;
    z-index: 9999;
}

.nww-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nww-trigger:hover {
    background: rgba(128, 128, 128, 0.12);
}

.nww-icon {
    font-size: 20px;
    line-height: 1;
}

.nww-city {
    font-weight: 500;
}

.nww-temp {
    font-weight: 700;
}

.nww-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 290px;
    padding: 20px;
    background: #fff;
    color: #161616;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.nww-popup[hidden] {
    display: none;
}

.nww-popup-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.nww-popup-city {
    font-size: 19px;
    font-weight: 700;
}

.nww-description {
    margin-top: 3px;
    font-size: 13px;
    opacity: 0.65;
}

.nww-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    opacity: 0.6;
}

.nww-current {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.nww-big-icon {
    font-size: 42px;
}

.nww-big-temp {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1px;
}

.nww-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 16px;
    font-size: 13px;
    opacity: 0.75;
}

.nww-search {
    display: flex;
    gap: 7px;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.nww-search-input {
    min-width: 0;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font: inherit;
}

.nww-search button {
    padding: 9px 13px;
    border: 0;
    border-radius: 7px;
    background: #171717;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.nww-error {
    margin-top: 10px;
    font-size: 12px;
    color: #b42318;
}

.nww-source {
    margin-top: 13px;
    font-size: 10px;
    opacity: 0.45;
}

.nww-loading .nww-trigger {
    opacity: 0.65;
}

@media (max-width: 767px) {
    .nww-city {
        display: none;
    }

    .nww-popup {
        width: 270px;
        right: -10px;
    }
}