.waiting-search-toggle {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #0d83ff;
  color: #fff;
  border: 0;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  z-index: 1100;
  box-shadow: 0 2px 10px rgba(13, 131, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.waiting-search-toggle:hover {
  background: #006edb;
}

.waiting-search-toggle:focus {
  outline: 3px solid rgba(13, 131, 255, 0.35);
  outline-offset: 2px;
}

.waiting-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1190;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.waiting-search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.waiting-search-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 18px rgba(17, 24, 39, 0.16);
  z-index: 1200;
  transition: right 0.25s ease;
  padding: 22px 20px;
  overflow-y: auto;
  box-sizing: border-box;
  font-family: inherit;
}

.waiting-search-panel.open {
  right: 0;
}

.waiting-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8edf3;
}

.waiting-search-header h5 {
  margin: 0;
  color: #222;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.close-waiting-search {
  background: none;
  border: 0;
  color: #666;
  cursor: pointer;
  font-size: 18px;
  padding: 5px 8px;
  border-radius: 6px;
}

.close-waiting-search:hover {
  color: #222;
  background: #f3f6f9;
}

.close-waiting-search:focus {
  outline: 2px solid rgba(13, 131, 255, 0.45);
  outline-offset: 2px;
}

.waiting-form-group {
  margin-bottom: 16px;
}

.waiting-form-group label {
  display: block;
  margin-bottom: 8px;
  color: #243244;
  font-size: 15px;
  font-weight: 600;
}

.waiting-form-group label span {
  color: #e24b55;
}

.waiting-form-group input {
  width: 100%;
  height: 38px;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #1f2937;
  font-size: 16px;
  box-sizing: border-box;
}

.waiting-form-group input:focus {
  border-color: #0d83ff;
  outline: 3px solid rgba(13, 131, 255, 0.14);
}

.waiting-search-submit {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: #0d83ff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.waiting-search-submit:hover {
  background: #006edb;
}

.waiting-search-info {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #e8edf3;
  color: #687789;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .waiting-search-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .waiting-search-panel {
    right: -100vw;
    width: 100vw;
    padding: 18px 20px;
  }
}
