
/* ─── Modern reviews modal ────────────────────────────────────────── */
#courierReviewsModal{
  position:fixed; inset:0;
  background:rgba(19,27,38,.55);          /* Wolt-style «туман» */
  backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center;
  z-index:10000;                           /* поверх всего */
  transition:opacity .25s ease;
}
#courierReviewsModal.hidden{opacity:0; pointer-events:none;}

#courierReviewsModal .popup-content{
  --accent:#0785FF;                        /* главный синий сайта */
  background:#fff; color:#1f2d3d;
  border-radius:24px;
  width:90%; max-width:480px;
  box-shadow:0 20px 50px rgba(0,0,0,.15);
  padding:40px 32px;
  position:relative;
  animation:modalPop .3s cubic-bezier(.25,.8,.25,1);
  font-family:'Hellix',sans-serif;
}
@keyframes modalPop{from{transform:translateY(20px); opacity:0;}}

#courierReviewsModal .close-popup{
  background:none; border:none;
  font-size:24px; line-height:1;
  color:#9aa5b1; cursor:pointer;
  position:absolute; top:18px; right:22px;
  transition:color .2s;
}
#courierReviewsModal .close-popup:hover{color:#1f2d3d;}

#courierReviewsModal .popup-title{
  font-weight:700; font-size:20px;
  color:var(--accent); margin:0 0 20px;
  display:flex; align-items:center; gap:8px;
}
#courierReviewsModal .popup-title::before{
  content:''; width:22px; height:22px;
  background:var(--accent);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") no-repeat center / contain;
  display:inline-block;
}

#reviewsModalBody{
  max-height:50vh; overflow:auto;          /* скролл, если много отзывов */
  padding-right:4px;                       /* +чуть места под скролл-бар */
}
#reviewsModalBody::-webkit-scrollbar{width:6px;}
#reviewsModalBody::-webkit-scrollbar-thumb{
  background:#d6e4ff; border-radius:3px;
}

/* одна строка отзыва */
.wr-item{
  font-size:15px; line-height:1.45;
  margin:12px 0; letter-spacing:.2px;
  color:#344050;
  display:flex; align-items:flex-start; gap:6px;
}
.wr-item::before{
  content:'★'; color:#FFD700; font-size:17px; line-height:1;
  margin-top:1px;
}

/* Скрываем попап по умолчанию */
.popup-overlay.hidden {
  display: none;
}

/* Фон и позиционирование */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* Окно попапа */
.popup-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  text-align: center;
  font-family: 'Hellix', sans-serif;
  color: #1f2d3d;
}

/* Текст внутри */
.popup-content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.4;
}

.feedback-positive,
.feedback-negative
{
  cursor:pointer;
}

/* Кнопка закрыть */
.popup-content .close-popup {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}
.popup-content .close-popup:hover {
  color: #333;
}



.popup-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 999;
  display: flex; justify-content: center; align-items: center;
}
.popup-content {
  background: white; padding: 20px;
  border-radius: 12px; max-width: 500px;
  width: 90%;
}



.close-popup {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}
.close-popup:hover {
  color: #333;
}
.popup-content {
  position: relative;
}

.courier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.courier-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding-top: 40px;
}

.courier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}



.courier-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: block;
  border: 1px solid #ECF0F4;
}

.courier-card .name {
  font-weight: 700;
  color: #222;
  font-size: 18px;
  margin-bottom: 4px;
  text-align: center;
}

.courier-card .verified {
  color: #0785FF;
  margin-left: 6px;
  font-size: 14px;
}

/* Звёзды с анимацией */
.courier-card .stars {
  color: #FFD700;
  font-size: 16px;
  letter-spacing: 2px;
  text-align: center;
}

/* Теги с градиентом */
.courier-card .tag {
  display: inline-block;
  background: linear-gradient(135deg, #E0F0FF, #F0F7FF);
  color: #0785FF;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin: 4px;
  font-weight: 500;
  border: 1px solid rgba(7, 133, 255, 0.1);
}

/* Кнопка с анимацией */
.contact-btn {
  background: linear-gradient(135deg, #0785FF, #00A3FF);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 36px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
}


.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


.verification-status {
  display: block;
  text-align: center;
  font-size: 13px;
  margin:0;
  padding: 0px 12px;
  border-radius: 12px;
  background:none;
  color: #666;
}


.feedbacki
{
    border-top:1px #eee solid;
     border-bottom:1px #eee solid;
    padding-top:10px;
    padding-bottom:10px;
    margin-top:30px;
    margin-bottom:10px;
    border-radius:0px;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}


.feedback-positive
{
    color:green;
    font-weight: bold;
}


.feedback-negative
{
    color:red;
    font-weight: bold;
}

.verification-status.verified {
  background:none;
  color: #0785FF;
}

.verified::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #0785FF;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2m-2 15l-5-5l1.4-1.4l3.6 3.6l7.6-7.6L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center;
}



.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px #ddd;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.courier-card {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.courier-card:nth-child(1) { animation-delay: 0.1s; }
.courier-card:nth-child(2) { animation-delay: 0.2s; }
/* ... и так далее ... */


.waiting
{
    background:#CC3466;
}

.waiting:hover {
  transform:none;
  box-shadow:none;
   background:#CC3466 !important;
}

/* ─── Courier list loader ───────────────────────── */

.courier-loader{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:60px 0;
  color:#005fd1;
  font-family:'Hellix',sans-serif;
  font-size:15px;
}

/* круговой спиннер */
.courier-spinner{
  width:42px; height:42px;
  border:4px solid #e0ecff;
  border-top-color:#005fd1;
  border-radius:50%;
  animation:courierSpin .9s linear infinite;
  margin-bottom:16px;
}

@keyframes courierSpin{to{transform:rotate(360deg);}}

/* скрываем, когда данные получены */
.courier-loader.hidden{display:none;}


.schedule-section,
.emailinbiz
{
    display:none !important;
}

body {
  margin: 0;
  font-family: 'Hellix', sans-serif;
  background: #f9fbfd;
  color: #1f2d3d;
}

.wings-business-wrapper {
  max-width: 100%;
  margin: 40px auto;
  padding: 0 20px;
}

.business-slider {
  position: relative;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.business-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.business-slider img.active {
  opacity: 1;
  z-index: 2;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}
.slider-arrow.left { left: 12px; }
.slider-arrow.right { right: 12px; }

.business-header {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}

.business-logo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.business-intro h1 {
  font-size: 28px;
  margin: 0 0 6px;
  color: #0785FF;
}
.business-intro p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.info-box {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  font-size: 15px;
}
.info-box strong {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 4px;
}
.clickable-phone {
  color: #0785FF;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 17px;
}
.clickable-phone:hover {
  text-decoration: underline;
}

.schedule-section {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}
.schedule-section h2 {
  margin-bottom: 16px;
  font-size: 18px;
  color: #1f2d3d;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
}
.schedule-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
}
.schedule-table td:first-child {
  font-weight: 600;
  width: 30%;
  color: #666;
}

@media (max-width: 600px) {
  .business-header {
    flex-direction: column;
    text-align: center;
  }
  .business-logo {
    margin-bottom: 12px;
  }
}

.popup-actions .btn-secondary
{
    display:none;
}
/* ---- Overlay ---- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 45, 61, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .2s ease;
}
.popup-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ---- Popup Window ---- */
.popup-content.modern {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 12px 36px rgba(31,45,61,0.16);
  text-align: center;
  font-family: 'Hellix', sans-serif;
  color: #1f2d3d;
  animation: popIn .3s ease-out;
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ---- Close Button ---- */
.popup-content.modern .close-popup {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}
.popup-content.modern .close-popup:hover {
  color: #333;
}

/* ---- Icon ---- */
.popup-icon {
  margin-bottom: 16px;
}
.popup-icon svg {
  display: block;
  margin: 0 auto;
}

/* ---- Title & Text ---- */
.popup-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: #005FD1;
}
.popup-text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.4;
}

/* ---- Actions ---- */
.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.btn {
  font-family: 'Hellix', sans-serif;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s;
}
.btn-primary {
  background: #0785FF;
  color: #fff;
}
.btn-primary:hover {
  background: #005FD1;
}


