.isp-info-widgets {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.isp-info-widgets > .isp-info-card:nth-child(3),
.isp-proxy-type-section {
  display: none !important;
}

.isp-extend-section.bp-subscription-hidden {
  display: none !important;
}

.bp-isp-renewal-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
  border: 1.4px solid rgba(16, 185, 129, 0.22);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: inset 0 2px 28px rgba(16, 185, 129, 0.05);
}

.bp-isp-renewal-section.is-cancelled {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
  border-color: rgba(245, 158, 11, 0.24);
}

.bp-isp-renewal-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bp-isp-renewal-copy h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.bp-isp-renewal-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
}

.bp-isp-renewal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 154px;
  padding: 10px 18px;
  border: 1.4px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.bp-isp-renewal-button:hover {
  background: rgba(239, 68, 68, 0.25);
}

.bp-isp-renewal-section.is-cancelled .bp-isp-renewal-button {
  border-color: #7457ff;
  background: linear-gradient(116deg, #7055e2 0%, #8166f7 100%);
  color: #fff;
}

.bp-isp-renewal-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.bp-isp-renewal-error {
  margin-top: 10px !important;
  color: #ef4444 !important;
}

.bp-isp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 4, 5, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: bp-isp-modal-fade 160ms ease-out;
}

.bp-isp-modal {
  width: min(100%, 470px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 85, 226, 0.15), transparent 42%),
    #191918;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58), inset 0 1px rgba(255, 255, 255, 0.04);
  animation: bp-isp-modal-enter 190ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bp-isp-modal-body {
  padding: 30px 30px 24px;
}

.bp-isp-modal-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 13px;
  background: rgba(239, 68, 68, 0.1);
  color: #ff6666;
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.bp-isp-modal h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bp-isp-modal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.bp-isp-modal-date {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.bp-isp-modal-error {
  margin-top: 12px !important;
  color: #ff6666 !important;
}

.bp-isp-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.12);
}

.bp-isp-modal-button {
  min-width: 132px;
  padding: 11px 17px;
  border-radius: 9px;
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 650;
  transition: transform 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}

.bp-isp-modal-button:hover {
  transform: translateY(-1px);
}

.bp-isp-modal-button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
}

.bp-isp-modal-button.secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.bp-isp-modal-button.danger {
  border: 1px solid rgba(255, 105, 105, 0.32);
  background: linear-gradient(135deg, #d83f47, #b92e39);
  color: #fff;
  box-shadow: 0 7px 20px rgba(185, 46, 57, 0.2);
}

.bp-isp-modal-button.danger:hover {
  background: linear-gradient(135deg, #e24851, #c73541);
}

.bp-isp-modal-button:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

@keyframes bp-isp-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bp-isp-modal-enter {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .isp-info-widgets {
    grid-template-columns: 1fr !important;
  }

  .bp-isp-renewal-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .bp-isp-renewal-button {
    width: 100%;
  }

  .bp-isp-modal-body {
    padding: 24px 22px 20px;
  }

  .bp-isp-modal-actions {
    flex-direction: column-reverse;
    padding: 16px 22px 22px;
  }

  .bp-isp-modal-button {
    width: 100%;
  }
}
