.modal-location-top.popup.arrow:hover {
    background-color: #1E2C3C; /* Изменение фона при наведении */
	.popup-text{color:#fff;}
.btn-no{
border:1px solid #fff;
color:#fff;
}
    

}

.arrow:hover:after {
    border-bottom-color: #1E2C3C; /* Замените на желаемый цвет при наведении */
}




.popup {
        display: none;
        position: absolute;
        top: 230px;
        right: calc(10% - 20px);
        transform: translate(-50%, -50%);
        width: 264px;
        height: auto;
        background-color: #fff;
        padding: 10px;
        box-shadow: 0 2px 10px rgba(71, 37, 178, 0.1);
        box-sizing: border-box;
	z-index:10000;
    }

    .arrow:after,
    .arrow:before {
        content: "";
        border: solid transparent;
        position: absolute;
        bottom: 100%;
        left: 50%;
    }

    @media (max-width: 1692px) {
        .arrow:after,
        .arrow:before {
            left: 90%;
        }
    }

    .arrow:after {
        border-bottom-color: #fff;
        border-width: 15px;
        margin-left: -100px;
    }

    .arrow:before {
        border-bottom-color: d70b0c;
        border-width: 16px;
        margin-left: -16px;
    }

    .popup-content {
        position: relative;
        height: 100%;
    }

    .close-btn {
        position: absolute;
        top: 0px;
        right: -60px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #7F94AA;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
    }

    .popup-text {
        margin-top: 10px;
	margin-bottom: 10px;
        padding-top: 10px;
        font-size: 16px;
        line-height: 16px;
        font-weight: 700;
	font-family: "Proxima Nova Rg";
    }

    .popup-buttons {
        display: flex;
	justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
	font-family: "Proxima Nova Rg";
    }

    .btn-yes {
        width: 89px;
        height: 34px;
        background-color: #C33530;
        color: #fff;
        font-size: 12px;
        line-height: 12px;
        font-weight: 700;
        border: none;
    }

    .btn-no {
        width: 89px;
        height: 34px;
        background-color: transparent;
        color: #1E2C3C;
        font-size: 12px;
        line-height: 12px;
        font-weight: 700;
        border: 1px solid #1E2C3C;
    }


/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
.close-btn {
    position: absolute;
            top: -11px;
       	  right: -100px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #7F94AA;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}






.btn-yes, .btn-no {
       font-size: 13px;
  }

	

    .popup {
        top: 25%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 314px;
        height: auto;
        padding: 20px;
    }

    .arrow:after,
    .arrow:before {
        display: none; /* Скрыть стрелку на мобильных устройствах */
    }

    .popup-text {
        font-size: 16px;
        line-height: 18px;
    }

   .popup-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 4px;
    margin-top: 10px;
    justify-items: center;
    align-items: center;
}
   }