/* ==================================================
   FLOATING ROUND BUTTON (GLOBAL)
   ================================================== */
.yc-open-popup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFC46A 0%, #FFB347 100%);
  color: #0056B3;
  border: 2px solid #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  z-index: 10000;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.18),
    0 3px 8px rgba(0,0,0,0.10),
    inset 0 2px 4px rgba(255,255,255,0.45);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
  animation: ycBreath 3.5s ease-in-out infinite;
}

.yc-open-popup:hover {
  background: linear-gradient(180deg, #0056B3 0%, #00439A 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.22),
    0 5px 12px rgba(0,0,0,0.12);
  animation: none;
}

.yc-open-popup .yc-open-popup__text {
  font-size: 12px;
  line-height: 1.15;
  white-space: normal;
  max-width: 64px;
  word-break: normal;
}

@media (min-width: 1024px) {
  .yc-open-popup {
    width: 84px;
    height: 84px;
  }

  .yc-open-popup .yc-open-popup__text {
    font-size: 13px;
    max-width: 74px;
  }
}

@media (max-width: 480px) {
  .yc-open-popup {
    right: 14px;
    bottom: 14px;
    width: 64px;
    height: 64px;
  }

  .yc-open-popup .yc-open-popup__text {
    font-size: 11px;
    max-width: 56px;
  }
}

@keyframes ycBreath {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .yc-open-popup {
    animation: none;
  }
}


/* ==================================================
   POPUP OVERLAY
   ================================================== */
.yc-popup {
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001 !important;
  margin: 0 !important;
  padding: 20px !important;
}

.yc-popup.active {
  display: flex !important;
}

/* ==================================================
   POPUP CONTENT CONTAINER
   ================================================== */
.yc-popup-content {
  background: #fff;
  padding: 30px 35px;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
  animation: popupFadeIn 0.3s ease;
  box-sizing: border-box;
}

@keyframes popupFadeIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==================================================
   CLOSE BUTTON
   ================================================== */
.yc-popup-close {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: #FFB347;
  color: #000;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.yc-popup-close:hover {
  background-color: #0056B3;
  color: #fff;
}

/* ==================================================
   POPUP TITLE
   ================================================== */
.yc-popup-content h3 {
  text-align: center;
  margin: 0 0 20px;
  color: #000;
}

/* ==================================================
   FORM
   ================================================== */
.yc-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.yc-popup-form input,
.yc-popup-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  color: #000;
  box-sizing: border-box;
}

.yc-popup-form input:focus,
.yc-popup-form textarea:focus {
  border-color: #0056B3;
  box-shadow: 0 0 0 2px rgba(0,86,179,0.3);
}

.yc-popup-form button[type="submit"] {
  background-color: #FFB347;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.yc-popup-form button[type="submit"]:hover {
  background-color: #0056B3;
  color: #fff;
}

/* ==================================================
   STATUS
   ================================================== */
.yc-popup-status {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  text-align: center;
}