@charset "UTF-8";
/* Light Mode (Default) */
:root {
  --background-color: #fafbfc;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --text-color: #4e4b66;
  --input-border-color: #1e8fd3;
  --input-background-color: white;
  --answer-background-color: white;
  --answer-shadow-color: rgba(0, 0, 0, 0.05), -5px -5px 10px rgba(255, 255, 255, 0.9);
  --skeleton-start: #eee;
  --skeleton-mid: #f5f5f5;
}

@media only screen and (min-width: 0rem) {
  #tiltstack-chatbot .chatbot-container {
    width: 96%;
    /* Use 95% width for mobile and tablet */
    max-width: 80rem;
    margin: clamp(3.75rem, 7.82vw, 6.25rem) auto;
    padding: 0.8rem;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
    border-radius: 15px;
    background-color: var(--background-color);
    box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px var(--shadow-color);
    color: var(--bodyTextColor);
  }
  #tiltstack-chatbot .chatbot-container .cs-content {
    width: 100%;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #05bf81, #1e8fd3, #8a4fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-title:hover {
    transform: scale(1.02);
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area .input-wrapper {
    position: relative;
    flex-grow: 1;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area .input-wrapper::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: linear-gradient(135deg, #05bf81, #1e8fd3, #8a4fff);
    border-radius: 12px;
    z-index: 0;
    opacity: 1;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area .input-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--input-background-color);
    border-radius: 10px;
    z-index: 1;
    margin: 2px;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area .input-wrapper input {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: transparent;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-family: "Lora", Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area .input-wrapper input:focus {
    outline: none;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area button {
    background: linear-gradient(135deg, #05bf81, #1e8fd3, #8a4fff);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 143, 211, 0.3);
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(30, 143, 211, 0.2);
  }
  #tiltstack-chatbot .chatbot-container .chatbot-input-area button svg {
    height: 1.2rem;
    width: 1.2rem;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-skeleton {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-skeleton .skeleton-item {
    height: 1rem;
    margin: 0.25rem;
    background: linear-gradient(90deg, var(--skeleton-start), var(--skeleton-mid), var(--skeleton-start));
    background-size: 200% 100%;
    border-radius: 5px;
    animation: skeleton-loading 1.5s infinite;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-skeleton .skeleton-item:nth-child(1) {
    width: 55%;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-skeleton .skeleton-item:nth-child(2) {
    width: 100%;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-skeleton .skeleton-item:nth-child(3) {
    width: 100%;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-skeleton .skeleton-item:nth-child(4) {
    width: 100%;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-skeleton .skeleton-item:nth-child(5) {
    width: 85%;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: var(--answer-background-color);
    border-radius: 10px;
    box-shadow: 5px 5px 10px var(--answer-shadow-color);
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer h1,
  #tiltstack-chatbot .chatbot-container .chatbot-answer h2,
  #tiltstack-chatbot .chatbot-container .chatbot-answer h3,
  #tiltstack-chatbot .chatbot-container .chatbot-answer h4,
  #tiltstack-chatbot .chatbot-container .chatbot-answer h5,
  #tiltstack-chatbot .chatbot-container .chatbot-answer h6 {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-line;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-family: "Lora", Arial, sans-serif;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer p {
    margin-bottom: 1rem;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer strong {
    font-weight: 700;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer em {
    font-style: italic;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer a:hover {
    text-decoration: underline;
    color: #1871a6;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer a[href^=http]:after {
    content: " ↗";
    font-size: 0.7em;
    opacity: 0.7;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer ul,
  #tiltstack-chatbot .chatbot-container .chatbot-answer ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer ul li,
  #tiltstack-chatbot .chatbot-container .chatbot-answer ol li {
    margin-bottom: 0.5rem;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer code {
    background-color: rgba(30, 143, 211, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer pre {
    background-color: rgba(30, 143, 211, 0.05);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
  }
  #tiltstack-chatbot .chatbot-container .chatbot-answer pre code {
    background-color: transparent;
    padding: 0;
  }
}
@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
/* Dark Mode */
body.dark-mode .chatbot-container {
  --background-color: #121212;
  --shadow-color: rgba(255, 255, 255, 0.1);
  --text-color: #fafbfc;
  --input-border-color: #333;
  --input-background-color: #1e1e1e;
  --answer-background-color: #1e1e1e;
  --answer-shadow-color: 5px 5px 10px rgba(0, 0, 0, 0.5), -5px -5px 10px rgba(0, 0, 0, 0.5);
  --skeleton-start: #333;
  --skeleton-mid: #444;
}

/* Tablet - 768px and above */
@media only screen and (min-width: 48rem) {
  #tiltstack-chatbot .chatbot-container {
    width: 100%;
    padding: 4rem;
    /* Reset width to 100% for larger screens */
  }
  #tiltstack-chatbot .chatbot-container .chatbot-title {
    font-size: 2.2rem;
  }
}

/*# sourceMappingURL=chatbot.css.map */
