.t-popup {
    z-index: 30000 !important;
}

#map {
    width: 100%;
    height: 600px;
    padding: 0;
    margin: 0;
}

#map .btn {
    font-family: 'Noto Sans', Arial, sans-serif;
    background-color: #28a745;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#map .dropdown-menu {
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 99;
    position: relative;
}

#map .dropdown-menu li {
    font-family: 'Noto Sans', Arial, sans-serif;
    padding: 5px 10px;
    cursor: pointer;
}

#map .dropdown-menu li:hover {
    background-color: #f5f5f5;
}

.widget__map-wrap {
    background: #f5f5f6;
    font-family: 'Noto Sans', Arial, sans-serif;
}

.widget__map-container {
    width: 1101px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 24px 0;
    justify-content: space-between;
    align-items: center;
}

.widget__map-content {
    max-width: 520px;
    padding: 1rem;
}

.widget__map-content h1 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.widget__map-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #555;
}

.widget__map-form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.widget__map-container input {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0.5px 2px rgba(0, 0, 0, 0.1), 0 0.5px rgba(255, 255, 255, 0.1);
    position: relative;
}
.widget__map-switch-field {
	display: flex;
	overflow: hidden;
}

.widget__map-switch-field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.widget__map-switch-field label {
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    line-height: 1;
    text-align: center;
    padding: 16px 48px;
    margin-right: -1px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0.5px 2px rgba(0, 0, 0, 0.1), 0 0.5px rgba(255, 255, 255, 0.1);
    transition: all 0.1s ease-in-out;
    font-weight: 700;
    width: 30%;
}
.widget__map-switch-field label span{
    font-weight: 600;   
}
.widget__map-switch-field label:hover {
	cursor: pointer;
}

.widget__map-switch-field input:checked + label {
background-color: #384bfb;
    box-shadow: none;
    color: #fff;
}

.widget__map-switch-field label:first-of-type {
	border-radius: 4px 0 0 4px;
}

.widget__map-switch-field label:last-of-type {
	border-radius: 0 4px 4px 0;
}

.widget__map-btn {
    padding: 20px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.widget__map-btn--primary {
    background-color: #000;
    color: #fff !important;
}

.widget__map-btn--secondary {
    background-color: #f1f1f1;
    color: #000 !important;
}

.widget__map-container .image-block {
    max-width: 460px;
}

.widget__map-container .image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.tariff-select {
    color: #fff;
    position: absolute;
    z-index: 99;
    right: 10px;
    top: 10px;
    width: 150px;
  border: 1px solid #5bb75b;
  background-color: #5bb75b;
  border-radius: 4px;
  padding: 4px 8px 4px 8px;

}
.tariff-select:active {
    border-color: #0068d1;
}

.tariff-select:focus {
    border-color: #0071e3;
}
.tariff-select:hover {
      border-color: #147ce5;
}
@media screen and (max-width: 959px) and (min-width: 480px) {
    .widget__map-container {
      width: 557px;    
    }
    .widget__map-content h1 {
        font-size: 20px;
    }
    .widget__map-switch-field label {
        font-size: 8px;
        padding: 12px 4px;
    }
    .widget__map-content {
        max-width: 280px;
    }
    
    .widget__map-container .image-block {
        max-width: 240px;
        padding: 0;
    }
    .widget__map-container input {
        padding: 10px 8px;
        font-size: 12px;
    }
    .widget__map-btn {
        padding: 12px 12px;
        font-size: 14px;
    }
    .widget__map-form-group {
        margin-bottom: 8px;
        gap: 8px;
    }
}
@media screen and (max-width: 479px) {
    .widget__map-content {
        max-width: 320px;
    }
    .widget__map-container {
        width: 100%;
        flex-direction: column;
   }
    .widget__map-wrap {
        padding-top: 48px;
    }
    .widget__map-content h1 {
        font-size: 24px;
    }
    .widget__map-container .image-block {
        display: none;   
    }

    .widget__map-switch-field label {
        font-size: 16px;
        padding: 16px 12px;
    }
    
    .widget__map-form-group {
        margin-bottom: 12px;
        gap: 12px;
    }
    
}