.modal {
    position: fixed; 
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px);
    z-index: 1050;
    opacity: 0; 
    -webkit-transition: opacity 200ms ease-in; 
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; 
    pointer-events: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


  .modal:target {
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  .modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
  }

  @media (min-width: 576px) {
    .modal-dialog {
      max-width: 380px;
      margin: 5vh auto;
    }
  }

  .modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: 15px;
    outline: 0;
    border: 1px solid #f5f5f5;
  }

  .modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 20px 25px 5px;
    /* border-bottom: 1px solid #eceeef; */
  }

  .modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 18px;
      font-weight: bold;
  }

  .close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
  }

  .close:focus,
  .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
  }

  .modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 25px 25px 22px;
    line-height: 1.4;
    overflow: auto;
    font-size: 14px;
  }

.modal-input {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 5px;
    outline: none !important;
    border: 1px solid #eee;
    padding: 10px;
    font-size: 14px;
    font-family: 'Golos', sans-serif;
    transition: 0.3s;
}

.modal-input:focus {
    border: 1px solid #d3d3d3;
    transition: 0.3s;
}

.modal-button {
    border-radius: 10px;
    height: 48px;
    background: #e9cda9;
    transition: 0.3s;
    color: #fff;
    font-weight: 600;
    border: none;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 30px;
}

.modal-button-dop {
    border-radius: 0px;
    transition: 0.3s;
    font-weight: 500 !important;
    border: none;
    font-size: 14px;
    cursor: pointer;
    margin-left: 6px;
    margin-right: 6px;
}

.modal-body a {
    color: #000;
    transition: 0.3s;
    font-weight: 500;
}

.modal-body a:hover {
    color: var(--accent);
    transition: 0.3s;
}

.reg-accept { 
    margin-top: 25px;
    opacity: 0.6;
}

.pass-accept { 
    margin-top: 15px;
    opacity: 0.6;
}

.search-dialog {
  max-width: 600px;
}

.recheck-dialog {
  max-width: 760px;
}

.search-button {
    position: absolute;
    margin-left: -34px;
    margin-top: 12px;
    border: none;
    background: #fff;
    outline: none;
    cursor: pointer;
}

.modal-input-search {
    margin-bottom: 5px;
}

.mt-20 {
  margin-top: 20px;
}

.search-tips {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.search-tip {
  background: #fbf9f9;
  border-radius: 0px;
  padding: 12px 20px;
  color: #000;
  transition: 0.3s;
}

.search-tip:hover {
  background: var(--light-brown);
  transition: 0.3s;
  color: #000 !important;
}

.phone-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .country-select {
    padding: 10px 30px 10px 10px; /* СЃРїСЂР°РІР° РґРѕР±Р°РІР»РµРЅ РѕС‚СЃС‚СѓРї */
    font-size: 15px;
    font-family: 'Mulish', sans-serif;
    border: 1px solid #eee;
    border-radius: 0px;
    outline: none;
    background-color: white;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5' viewBox='0 0 10 5'%3E%3Cpath fill='%23666' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  .phone-input {
    flex: 1;
    margin-bottom: 0; /* СѓР¶Рµ СѓС‡С‚С‘РЅ РІ wrapper */
  }

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  width: 940px;
  padding-top: 20px;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* РџРѕРєР°Р·С‹РІР°РµРј РїСЂРё hover */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content-about {
  width: 180px;
}

.dropdown-inside { border-radius: 0px; background: #fff; display: flex; flex-wrap: wrap; gap: 15px; padding: 25px; box-shadow: 0 0 30px rgba(0,0,0,.1); }

/*.dropdown-inside a {
  color: #222;
  text-shadow: none;
  text-transform: none;
  display: block;
  width: calc(100% - 14px);
  text-align: left;
  transition: 0.3s;
  margin-bottom: 15px;
}*/

 .dropdown-inside a {
  color: #222;
  text-shadow: none;
  text-transform: none;
  display: block;
  width: calc(33% - 14px);
  text-align: left;
  transition: 0.3s;
} 

.dropdown-inside a:hover {
  transform: translateX(3px);
  transition: 0.3s;
}

.dropdown-content-about a {
  width: 100%;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content { display: block; }

/* Интерактивные звезды */
.star-rating {
    display: flex;
    gap: 8px;
    font-size: 28px;
    justify-content: center;
    margin: 8px 0 20px 0;
    user-select: none;
}

.star-rating .star {
    color: #e5e7eb;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating .star.active {
    color: #ffb800;
}

.star-rating .star:hover {
    transform: scale(1.15);
}

/* Поле для отзыва и кнопка */
.review-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    margin-bottom: 16px;
}

.review-textarea:focus {
    border-color: #000;
}

.submit-review-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-review-btn:hover {
    background: #222;
}