/* PluginEasy Content Locker Stylesheet */

.plugineasy-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
  padding: 16px;
  overflow-y: auto;
  animation: peFadeIn 0.25s ease-out;
}

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

.plugineasy-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #15151e;
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 255, 136, 0.2);
  overflow: hidden;
  animation: peSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
  font-family: "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@keyframes peSlideUp {
  from {
    transform: translateY(20px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.plugineasy-modal-header {
  position: relative;
  padding: 24px 24px 18px;
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.12) 0%, rgba(21, 21, 30, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.plugineasy-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.plugineasy-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.plugineasy-badge-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: #00ff88;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plugineasy-modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.25;
}

.plugineasy-modal-subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.45;
}

.plugineasy-modal-body {
  padding: 18px 24px 20px;
}

.plugineasy-step-indicator {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.plugineasy-step-indicator b {
  color: #00ff88;
}

.plugineasy-offers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 330px;
  overflow-y: auto;
  padding-right: 4px;
}

.plugineasy-offer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}

.plugineasy-offer-item:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.4);
  transform: translateY(-1px);
}

.plugineasy-offer-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #232332;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.plugineasy-offer-info {
  flex: 1;
  min-width: 0;
}

.plugineasy-offer-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plugineasy-offer-desc {
  font-size: 0.82rem;
  color: #00ff88;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plugineasy-offer-btn {
  padding: 6px 14px;
  background: #00ff88;
  color: #15151e;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
  transition: filter 0.15s ease;
}

.plugineasy-offer-item:hover .plugineasy-offer-btn {
  filter: brightness(1.1);
}

.plugineasy-modal-footer {
  padding: 16px 24px 22px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.plugineasy-check-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #00ff88;
  color: #15151e;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.plugineasy-check-btn:hover {
  background: #1aff96;
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
  transform: translateY(-1px);
}

.plugineasy-footer-note {
  font-size: 0.74rem;
  color: #777;
  margin: 10px 0 0;
  line-height: 1.4;
}

.plugineasy-loading-offers {
  text-align: center;
  padding: 30px 10px;
  color: #bbb;
  font-size: 0.9rem;
}

.plugineasy-spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #00ff88;
  border-radius: 50%;
  animation: peSpin 0.8s linear infinite;
}

@keyframes peSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .plugineasy-modal-card {
    border-radius: 14px;
  }
  .plugineasy-modal-header {
    padding: 20px 18px 14px;
  }
  .plugineasy-modal-title {
    font-size: 1.25rem;
  }
  .plugineasy-modal-body {
    padding: 14px 18px 16px;
  }
  .plugineasy-offer-item {
    gap: 10px;
    padding: 10px 12px;
  }
  .plugineasy-offer-icon {
    width: 40px;
    height: 40px;
  }
  .plugineasy-offer-name {
    font-size: 0.9rem;
  }
  .plugineasy-offer-desc {
    font-size: 0.76rem;
  }
  .plugineasy-offer-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}
