/* Regular formatted text */
.formatted-text {
    font-size: 20px;
    font-weight: bolder;
    color: yellow;
}

/* Large formatted text, also bold */
.formatted-text-large {
    font-size: 25px;
    font-weight: bolder;
    color: yellow;
}

/* Specifically for bold text, without altering size */
.bold-text {
    font-weight: bolder;
    color: yellow;
}

h3 {
    font-size: 20px;
    font-weight: bolder;
    color: yellow;
}
.special-text {
    font-weight: bolder;
    color: yellow;
}

/* Formatted URLs */
.formatted-url {
    color: blue;
    text-decoration: underline;
}

/* Remove underline on hover for URLs */
.formatted-url:hover {
    text-decoration: none;
    color: darkblue;
}

/* Highlighted text */
.highlighted-text {
    background-color: yellow;
    color: black;
}

/* Code block styling */
.code-block {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    color: #333;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 100%;
    font-size: 14px;
}

/* Blockquote styling */
blockquote {
    border-left: 3px solid #ccc;
    margin: 5px 0;
    padding-left: 20px;
    color: #666;
    font-style: italic;
}

/* Styling for formatted text output */
.analysis-content strong {
  font-weight: bold;
}

.analysis-content em {
  font-style: italic;
}

.analysis-content .large-text {
  font-size: 1.5em;
  margin: 0.5em 0;
}

.analysis-content .formatted-text {
  font-family: 'Segoe UI', sans-serif;
}

.analysis-content a {
  color: #a142d1;
  text-decoration: underline;
}

.analysis-content mark {
  background-color: rgba(161, 66, 209, 0.2);
  padding: 0 2px;
}

.analysis-content del {
  text-decoration: line-through;
}

.analysis-content code.inline-code {
  background-color: rgba(0, 0, 0, 0.7);
  color: #f8f8f2;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
}

/* AI Response Icons Container */
.ai-response-icons {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  margin-top: 20px;
  padding: 15px 10px;
  border-top: 1px solid rgba(161, 66, 209, 0.3);
}

.ai-icon-btn {
  background-color: #4B0082;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.ai-icon-btn:hover {
  background-color: #6a1d9e;
  transform: scale(1.1);
}

.ai-icon-btn:active {
  transform: scale(0.95);
}

/* Button-specific colors */
#aiDownloadBtn {
  background-color: #4285F4;
}

#aiCopyBtn {
  background-color: #34A853;
}

#aiShareBtn {
  background-color: #FBBC05;
}

#aiDeleteBtn {
  background-color: #EA4335;
}

#aiPlusBtn {
  background-color: #9c27b0;
}

.analysis-content pre.code-block {
  background-color: #2d2d2d;
  color: #f8f8f2;
  padding: 1em;
  border-radius: 5px;
  white-space: pre-wrap;
  margin: 1em 0;
  overflow-x: auto;
}

.analysis-content sub {
  vertical-align: sub;
  font-size: smaller;
}

.analysis-content sup {
  vertical-align: super;
  font-size: smaller;
}

.analysis-content blockquote {
  border-left: 3px solid #a142d1;
  padding-left: 10px;
  margin: 0.5em 0 0.5em 10px;
  color: #dddddd;
}
