/* ============================================================================
 *  PCPopup.css
 * ----------------------------------------------------------------------------
 *  从老项目 src/components/PCPopup.vue 的 <style> 块中提取，内容未作改动。
 *  只改了两处：删掉 @import 行（改由 site.config.js 决定加载哪些 CSS），
 *  以及图片路径 ../assets/img/ → ../img/（对齐其他 CSS 文件的写法）。
 * ========================================================================== */

.popup_mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: popupFadeIn 0.2s ease forwards;
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.bcmodal {
  position: relative;
  width: 630px;
  height: 250px;
  background-image: url(../img/tjsj_div.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  animation: popupZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popupZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.bcmodal_tit {
  font-size: 34px;
  padding-top: 50px;
  padding-bottom: 22px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.bcmodal_tit > span {
  font-weight: normal;
}

.bcmodal_input {
  width: 400px;
  height: 44px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.input_left {
  flex: 1;
  height: 100%;
}

.input_left > input {
  border: 0 none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 4px 0 0 4px;
  color: #333;
  font-size: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  height: 100%;
  width: 100%;
  padding: 0 14px;
  box-sizing: border-box;
  background: #fff;
}

.input_left > input:focus,
.input_left > input:focus-visible {
  border: 0 none !important;
  outline: none !important;
  box-shadow: none !important;
}

.input_left > input::placeholder {
  color: #aaa;
  font-size: 16px;
}

.input_right {
  width: 90px;
  height: 100%;
}

.input_right > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 0 4px 4px 0;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(135deg, #ffc82c, #f5bd1a);
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.1s ease;
}

.input_right > a:hover {
  filter: brightness(1.06);
  color: #fff;
}

.input_right > a:active {
  transform: scale(0.98);
}

.bcmodal_close {
  position: absolute;
  top: 14px;
  right: 14px;
  height: 26px;
  width: 26px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.bcmodal_close:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: rotate(90deg);
}

.bcmodal_close img {
  width: 12px;
  height: 12px;
  opacity: 0.9;
}
