/* Quote Editor Modal */
.quote-editor-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.quote-editor-modal.visible {
  display: flex;
}

.quote-editor-content {
  background: #1A1A1A;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.quote-editor-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quote-editor-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.quote-editor-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.quote-editor-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.quote-editor-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.quote-editor-instructions {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px;
  line-height: 1.6;
}

.quote-editor-textarea {
  width: 100%;
  min-height: 400px;
  background: #0F0F0F;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #FFFFFF;
  resize: vertical;
  line-height: 1.6;
}

.quote-editor-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.quote-editor-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.quote-editor-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}

.quote-editor-actions button {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.quote-editor-reset {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.quote-editor-reset:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.quote-editor-save {
  background: #FFFFFF;
  color: #000000;
}

.quote-editor-save:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.quote-editor-save:active {
  transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .quote-editor-content {
    max-height: 95vh;
  }
  
  .quote-editor-header {
    padding: 16px 20px;
  }
  
  .quote-editor-header h2 {
    font-size: 18px;
  }
  
  .quote-editor-body {
    padding: 20px;
  }
  
  .quote-editor-textarea {
    min-height: 300px;
    font-size: 12px;
  }
  
  .quote-editor-actions {
    flex-direction: column-reverse;
  }
  
  .quote-editor-actions button {
    width: 100%;
  }
}
