.vk-pix-panel {
  width: min(92vw, 560px);
  margin: 18px auto;
  padding: 18px 18px 50px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 191, 99, 0.34);
  color: #18212f;
  font-family: Montserrat, Arial, sans-serif;
}

.vk-pix-title {
  margin: 0 0 12px;
  color: #18212f;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.vk-pix-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.vk-pix-value {
  min-height: 48px;
  border: 2px solid #00bf63;
  border-radius: 8px;
  background: #f4fff9;
  color: #08723e;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.vk-pix-value.is-active {
  background: #00bf63;
  color: #ffffff;
}

.vk-generate-pix-button {
  display: inline-flex;
  min-width: 142px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  background: #ff914d !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24);
}

.vk-pix-custom {
  width: 100%;
  height: 50px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 2px solid #d5dbe3;
  border-radius: 8px;
  color: #18212f;
  font-size: 16px;
  font-weight: 700;
  outline: none;
}

.vk-pix-custom:focus {
  border-color: #00bf63;
  box-shadow: 0 0 0 3px rgba(0, 191, 99, 0.18);
}

.vk-pix-result {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4e8ee;
  text-align: center;
}

.vk-pix-result.is-visible {
  display: block;
}

.vk-pix-result img {
  width: min(260px, 84vw);
  height: auto;
  margin: 4px auto 12px;
  display: block;
}

.vk-pix-code {
  width: 100%;
  min-height: 92px;
  padding: 10px;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  color: #263244;
  font-size: 13px;
  resize: vertical;
}

.vk-pix-copy {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border-radius: 8px;
  background: #18212f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.vk-pix-status {
  min-height: 22px;
  margin-top: 10px;
  color: #394452;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.vk-pix-status.is-error {
  color: #b42318;
}

.vk-pix-modal-open {
  overflow: hidden;
}

.vk-pix-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-family: Montserrat, Arial, sans-serif;
}

.vk-pix-modal.is-open {
  display: flex;
}

.vk-pix-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.72);
}

.vk-pix-modal-card {
  position: relative;
  width: min(94vw, 440px);
  max-height: 92vh;
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  color: #18212f;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.vk-pix-modal-card h2 {
  margin: 0 0 8px;
  color: #18212f;
  font-size: 24px;
  font-weight: 800;
}

.vk-pix-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2f6;
  color: #18212f;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.vk-pix-modal-amount {
  margin: 0 0 14px;
  color: #08723e;
  font-size: 17px;
  font-weight: 800;
}

.vk-pix-modal-qr {
  display: block;
  width: min(320px, 78vw);
  height: auto;
  margin: 0 auto 14px;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
}

.vk-pix-modal-label {
  display: block;
  margin: 0 0 8px;
  color: #394452;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.vk-pix-modal-help {
  margin: 12px 0 0;
  color: #394452;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.vk-pix-hidden {
  display: none !important;
}

@media screen and (max-width: 480px) {
  .vk-pix-panel {
    padding: 14px;
  }

  .vk-pix-values {
    grid-template-columns: 1fr;
  }
}
