/* Zestmod Content Locker Styles */
.zest-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: zmFadeIn 0.25s ease-out;
}

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

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

.zest-modal-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: zmSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.zest-modal-header {
  padding: 20px 20px 14px 20px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.zest-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.zest-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.zest-badge-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #0075ff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
  border: 1px solid #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zest-badge-lock i {
  font-size: 0.9rem;
}

.zest-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.zest-modal-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.zest-modal-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.zest-step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.zest-step-indicator b {
  color: #0075ff;
}

.zest-offers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zest-offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.zest-offer-item:hover {
  background: #ffffff;
  border-color: #0075ff;
  box-shadow: 0 4px 12px rgba(0, 117, 255, 0.12);
  transform: translateY(-1px);
}

.zest-offer-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}

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

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

.zest-offer-desc {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zest-offer-btn {
  background: #0075ff;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
}

.zest-offer-item:hover .zest-offer-btn {
  background: #0056cc;
}

.zest-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zest-check-btn {
  width: 100%;
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.zest-check-btn:hover {
  background: #059669;
}

.zest-footer-note {
  font-size: 0.74rem;
  color: #94a3b8;
  text-align: center;
  margin: 0;
}

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

.zest-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: #0075ff;
  border-radius: 50%;
  margin: 0 auto 12px auto;
  animation: zmSpin 0.8s linear infinite;
}

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