/* ============================================================
   🔒 FREEMIUM PAYWALL STYLES
   Psychological conversion tactics: Blur, Lock, FOMO
   ============================================================ */

/* ============================================================
   BLUR & LOCK EFFECTS
   ============================================================ */

.bx-blurred {
  filter: blur(8px) brightness(0.9);
  pointer-events: none;
  transition: filter 0.3s ease;
}

.bx-blurred-text {
  filter: blur(4px);
  color: rgba(255,255,255,0.3);
  user-select: none;
}

/* Locked Photo */
.bx-photo.bx-locked {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.bx-photo.bx-locked:hover {
  transform: scale(1.02);
}

.bx-photo.bx-locked img.bx-blurred {
  filter: blur(10px) brightness(0.7);
}

.bx-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
}

.bx-lock-icon {
  font-size: 24px;
  margin-bottom: 4px;
  animation: pulse 2s infinite;
}

.bx-lock-score {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Lock count badge */
.bx-locked-count {
  font-size: 11px;
  color: #ff9500;
  font-weight: 500;
}

/* ============================================================
   LOSS AVERSION BANNER
   ============================================================ */

.bx-loss-banner {
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 16px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,68,68,0.3);
}

.bx-loss-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,68,68,0.4);
}

.bx-loss-icon {
  font-size: 28px;
  animation: shake 2s infinite;
}

.bx-loss-content {
  flex: 1;
}

.bx-loss-title {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.bx-loss-text {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

.bx-loss-text strong {
  color: #ffcc00;
}

.bx-loss-cta {
  background: rgba(255,255,255,0.2);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* ============================================================
   LOCKED ISSUES
   ============================================================ */

.bx-issues-locked {
  margin: 0 16px 16px;
  cursor: pointer;
}

.bx-issues-teaser {
  background: linear-gradient(135deg, rgba(255,150,0,0.15) 0%, rgba(255,100,0,0.1) 100%);
  border: 1px solid rgba(255,150,0,0.3);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.bx-issues-count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.bx-issues-num {
  font-size: 18px;
  font-weight: 700;
  color: #ff9500;
}

.bx-issues-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.bx-issues-blur {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.bx-issue-fake {
  background: rgba(255,150,0,0.2);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.bx-issues-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #ff9500;
  font-weight: 500;
}

.bx-lock-mini {
  font-size: 12px;
}

/* ============================================================
   LOCKED BIO
   ============================================================ */

.bx-bio-locked {
  cursor: pointer;
}

.bx-bio-locked .bx-bio-box {
  position: relative;
  overflow: hidden;
}

.bx-bio-preview {
  font-size: 14px;
  line-height: 1.5;
}

.bx-bio-visible {
  color: rgba(255,255,255,0.9);
}

.bx-bio-blurred {
  color: rgba(255,255,255,0.2);
  filter: blur(3px);
}

.bx-bio-lock-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bx-lock-icon-lg {
  font-size: 32px;
  animation: pulse 2s infinite;
}

.bx-lock-text {
  font-size: 13px;
  color: #ff9500;
  font-weight: 500;
}

/* ============================================================
   LOCKED FEATURE BOX
   ============================================================ */

.bx-feature-locked {
  background: linear-gradient(135deg, rgba(255,200,0,0.1) 0%, rgba(255,150,0,0.05) 100%);
  border: 1px dashed rgba(255,200,0,0.3);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bx-feature-locked:hover {
  border-color: rgba(255,200,0,0.5);
  background: linear-gradient(135deg, rgba(255,200,0,0.15) 0%, rgba(255,150,0,0.1) 100%);
}

.bx-locked-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bx-locked-icon {
  font-size: 20px;
}

.bx-locked-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  flex: 1;
}

.bx-premium-badge {
  background: linear-gradient(135deg, #ffc800 0%, #ff9500 100%);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.bx-locked-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.bx-locked-cta {
  display: inline-block;
  background: linear-gradient(135deg, #ffc800 0%, #ff9500 100%);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
}

/* ============================================================
   LOCKED TAB (Prompts)
   ============================================================ */

.bx-tab-locked {
  position: relative;
  min-height: 250px;
  cursor: pointer;
}

.bx-locked-preview {
  opacity: 0.3;
  pointer-events: none;
}

.bx-prompt-fake {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.bx-prompt-q-fake {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
  filter: blur(2px);
}

.bx-prompt-a-fake {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  filter: blur(3px);
}

.bx-tab-lock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.bx-lock-icon-xl {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  animation: pulse 2s infinite;
}

.bx-lock-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.bx-lock-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.bx-unlock-btn {
  background: linear-gradient(135deg, #ffc800 0%, #ff9500 100%);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bx-unlock-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255,200,0,0.4);
}

/* ============================================================
   LOCKED ACTIONS
   ============================================================ */

.bx-actions-locked {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  cursor: pointer;
}

.bx-action-fake {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  opacity: 0.4;
}

.bx-checkbox-fake {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
}

.bx-action-blur {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  filter: blur(3px);
}

.bx-actions-lock-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  background: rgba(255,150,0,0.1);
  border-radius: 8px;
  font-size: 13px;
  color: #ff9500;
  font-weight: 500;
}

/* ============================================================
   LOCKED OPTIMIZE PREVIEW
   ============================================================ */

.bx-preview-locked .bx-preview-btn {
  position: relative;
}

.bx-preview-locked .bx-locked-btn {
  opacity: 0.8;
}

.bx-preview-locked .bx-premium-badge {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* ============================================================
   BOTTOM CTA - Simplified
   ============================================================ */

.bx-bottom-cta {
  padding: 20px 16px;
  text-align: center;
}

.bx-cta-main {
  width: 100%;
  background: linear-gradient(135deg, #ffc800 0%, #ff9500 100%);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,200,0,0.3);
}

.bx-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255,200,0,0.4);
}

.bx-cta-icon {
  font-size: 20px;
}

/* ============================================================
   USER BADGE
   ============================================================ */

.bx-user-badge {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  margin-left: auto;
}

.bx-user-badge.free {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

.bx-user-badge.premium {
  background: linear-gradient(135deg, #ffc800 0%, #ff9500 100%);
  color: #000;
}

/* ============================================================
   PAYWALL MODAL
   ============================================================ */

.bx-paywall-modal {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483647 !important; /* Max z-index */
  display: none;
  align-items: center;
  justify-content: center;
}

.bx-paywall-modal.open {
  display: flex;
}

.bx-pw-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.bx-pw-box {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: slideUp 0.4s ease;
}

.bx-pw-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bx-pw-header {
  text-align: center;
  margin-bottom: 24px;
}

.bx-pw-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #ffc800 0%, #ff9500 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

.bx-pw-icon {
  font-size: 40px;
}

.bx-pw-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.bx-pw-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.bx-pw-features {
  margin-bottom: 24px;
}

.bx-pw-feature {
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bx-pw-feature:last-child {
  border-bottom: none;
}

.bx-pw-cta {
  width: 100%;
  background: linear-gradient(135deg, #ffc800 0%, #ff9500 100%);
  color: #000;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,200,0,0.4);
  margin-bottom: 16px;
}

.bx-pw-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,200,0,0.5);
}

.bx-pw-cta-icon {
  font-size: 22px;
}

.bx-pw-guarantee {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(255,200,0,0.5); }
  50% { box-shadow: 0 0 20px rgba(255,200,0,0.8); }
}

/* Premium user - hide all locks */
.bumble-x.is-premium .bx-locked,
.bumble-x.is-premium .bx-locked-count,
.bumble-x.is-premium .bx-loss-banner,
.bumble-x.is-premium .bx-bottom-cta {
  display: none !important;
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */

/* Global mobile fixes */
@media (max-width: 768px) {
  .bumble-x {
    padding: 12px !important;
    overflow-x: hidden !important;
  }
  
  .bumble-x * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* To-Do / Actions bölümü */
.bx-actions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.bx-action-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 16px !important;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border-left: 3px solid #ffc800;
  width: 100% !important;
  cursor: pointer;
}

.bx-action-item:hover {
  background: rgba(255,255,255,0.06);
}

.bx-action-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.bx-checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.bx-action-item input:checked + .bx-checkbox {
  background: #4ade80;
  border-color: #4ade80;
}

.bx-action-item input:checked + .bx-checkbox::after {
  content: '✓';
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.bx-action-item input[type="checkbox"] {
  display: none;
}

.bx-action-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

.bx-action-badge {
  display: block !important;
  width: 100% !important;
  margin-top: 8px;
  padding: 10px 14px !important;
  background: rgba(74, 222, 128, 0.15);
  border-radius: 8px;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #4ade80;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

/* Photo Modal */
.bx-photo-modal,
.photo-detail-modal,
[class*="photo-modal"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.95);
  padding: 16px !important;
  overflow-y: auto !important;
}

/* Photo Detail Modal (main) */
#bxPhotoModal,
.bxPhotoModal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px !important;
}

#bxPhotoModal.open,
.bxPhotoModal.open {
  display: flex !important;
}

.bx-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1;
}

.bx-photo-modal-content,
.photo-modal-content,
[class*="modal-content"] {
  width: 100% !important;
  max-width: 500px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background: #1a1a2e;
  border-radius: 20px;
  padding: 20px !important;
}

/* Photo Modal - Problems/Positives sections */
.bx-problem-item,
.bx-positive-item,
.problem-item,
.positive-item,
[class*="problem-item"],
[class*="positive-item"] {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 14px !important;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  width: 100% !important;
}

.bx-problem-title,
.bx-positive-title,
.problem-title,
.positive-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  word-wrap: break-word !important;
}

.bx-problem-desc,
.bx-positive-desc,
.problem-desc,
.positive-desc,
.problem-description,
.positive-description {
  font-size: 12px !important;
  line-height: 1.5 !important;
  padding: 10px 12px !important;
  border-radius: 8px;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  width: 100% !important;
  max-width: 100% !important;
}

.bx-problem-desc,
.problem-desc,
.problem-description {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.bx-positive-desc,
.positive-desc,
.positive-description {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

/* Tags in photo modal */
.bx-photo-tags,
.photo-tags,
[class*="tags"] {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 12px 0;
}

.bx-photo-tag,
.photo-tag,
[class*="tag"]:not([class*="tags"]) {
  padding: 6px 12px !important;
  font-size: 12px !important;
  border-radius: 20px;
  white-space: nowrap;
}

/* Mobile specific fixes */
@media (max-width: 480px) {
  /* Actions/To-Do */
  .bx-action-item {
    padding: 14px 12px !important;
  }
  
  .bx-action-text {
    font-size: 13px !important;
  }
  
  .bx-action-badge {
    font-size: 11px !important;
    padding: 8px 12px !important;
  }
  
  /* Photo modal */
  .bx-photo-modal-content,
  .photo-modal-content {
    padding: 16px !important;
    border-radius: 16px;
    margin: 10px;
  }
  
  .bx-problem-item,
  .bx-positive-item {
    padding: 12px !important;
  }
  
  .bx-problem-desc,
  .bx-positive-desc,
  .problem-desc,
  .positive-desc {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }
  
  /* Photo score */
  .bx-photo-score {
    font-size: 36px !important;
  }
  
  /* General text */
  .bumble-x h1,
  .bumble-x h2,
  .bumble-x h3 {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden !important;
}

.bumble-x {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Fix any inline widths */
.bumble-x [style*="width"] {
  max-width: 100% !important;
}

/* Bio section mobile fix */
.bx-bio-content,
.bx-bio-text,
[class*="bio-content"],
[class*="bio-text"] {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: pre-wrap !important;
  max-width: 100% !important;
}

/* Issues/Errors section */
.bx-issue-item,
.bx-error-item,
[class*="issue-item"],
[class*="error-item"] {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 14px !important;
  width: 100% !important;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  margin-bottom: 10px;
}

.bx-issue-desc,
.bx-error-desc {
  font-size: 12px !important;
  line-height: 1.5 !important;
  word-wrap: break-word !important;
  white-space: normal !important;
}

/* Photo Modal - Problems/Positives items */
.bx-modal-section {
  margin-bottom: 16px;
}

.bx-modal-section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.9);
}

.bx-modal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bx-modal-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 14px !important;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  width: 100% !important;
}

.bx-modal-item.bad {
  border-left: 3px solid #ef4444;
}

.bx-modal-item.good {
  border-left: 3px solid #4ade80;
}

.bx-item-text {
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.5 !important;
  color: rgba(255,255,255,0.9);
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

.bx-item-badge {
  display: block !important;
  width: 100% !important;
  padding: 10px 12px !important;
  border-radius: 8px;
  font-size: 12px !important;
  line-height: 1.5 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.bx-item-badge.good {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

/* Modal scroll container */
.bx-modal-scroll {
  max-height: 85vh;
  overflow-y: auto;
  padding-right: 5px;
}

.bx-modal-box {
  position: relative;
  z-index: 2;
  width: 95% !important;
  max-width: 450px !important;
  max-height: 90vh !important;
  overflow: hidden;
  background: #1a1a2e;
  border-radius: 20px;
}

.bx-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.bx-modal-close:hover {
  background: rgba(255,255,255,0.2);
}

.bx-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bx-modal-score-box {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.bx-modal-score {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.bx-modal-score-label {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
}

.bx-modal-verdict {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.bx-modal-verdict.excellent {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.bx-modal-verdict.good {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.bx-modal-verdict.average {
  background: rgba(251, 146, 60, 0.2);
  color: #fb923c;
}

.bx-modal-verdict.poor,
.bx-modal-verdict.bad {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Why Good Section */
.bx-why-good {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}

.bx-why-good-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bx-why-good-icon {
  font-size: 16px;
}

.bx-why-good-title {
  font-size: 13px;
  font-weight: 600;
  color: #4ade80;
}

.bx-vibe-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(74, 222, 128, 0.2);
  border-radius: 12px;
  font-size: 11px;
  color: #4ade80;
  margin-bottom: 8px;
}

.bx-why-good-text {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* Fix/Suggestion Box */
.bx-modal-fix {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
}

.bx-fix-title {
  font-size: 13px;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 8px;
}

.bx-fix-text {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  word-wrap: break-word !important;
}

.bx-modal-body {
  padding: 20px !important;
}

.bx-modal-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px 16px 0 0;
}

/* Tags wrapping */
.bx-modal-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 12px 0;
}

.bx-tag {
  padding: 6px 10px !important;
  font-size: 11px !important;
  border-radius: 16px;
  white-space: nowrap;
}

.bx-tag.good {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.bx-tag.bad {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

@media (max-width: 480px) {
  .bx-modal-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px;
    border-radius: 16px;
  }
  
  .bx-modal-body {
    padding: 16px !important;
  }
  
  .bx-modal-item {
    padding: 12px !important;
  }
  
  .bx-item-text {
    font-size: 13px !important;
  }
  
  .bx-item-badge {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }
  
  .bx-tag {
    font-size: 10px !important;
    padding: 5px 8px !important;
  }
}
