/* Upgrade Prompt Modal Styles */
.upgrade-prompt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease;
}

.upgrade-prompt-overlay.active {
    display: flex;
    opacity: 1;
}

.upgrade-prompt-modal {
  background: white;
  padding: 30px;
  border-radius: 20px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  position: relative;
  border: 1px solid rgba(0,0,0,0.1);
  animation: promptFadeIn 0.3s ease-out;
}

/* Dark mode support */
body.dark-mode .upgrade-prompt-modal {
    background: #1e1e1e;
    border-color: #333;
}
body.dark-mode .upgrade-prompt-header h2,
body.dark-mode .benefit-item {
    color: #eeeeee;
}
body.dark-mode .upgrade-prompt-subtitle {
    color: #aaaaaa;
}
body.dark-mode .upgrade-btn-secondary {
    border-color: #444;
    color: #ccc;
}
body.dark-mode .upgrade-btn-secondary:hover {
    background: #333;
    color: white;
}

@keyframes promptFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.upgrade-prompt-header h2 {
    font-size: 22px;
    margin: 15px 0 10px;
    color: #1a1a1a;
    font-weight: 700;
}
.upgrade-prompt-subtitle {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.upgrade-benefits {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}
body.dark-mode .upgrade-benefits {
    background: #2d2d2d;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
    text-align: left;
}
.benefit-item:last-child {
    margin-bottom: 0;
}

.upgrade-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}
.upgrade-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}
/* .upgrade-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
} */
.upgrade-btn-secondary {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    transition: all 0.2s;
}
.upgrade-btn-secondary:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.upgrade-prompt-login-text {
    font-size: 13px;
    margin-top: 15px;
    color: #666;
}
.upgrade-prompt-login-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}
.upgrade-prompt-login-link:hover {
    text-decoration: underline;
}
