 @font-face {
   font-family: "Copernicus";
   src: url("/assets/fonts/copernicus.woff2") format("woff2");
   font-display: swap;
 }

 :root {
  --font-color: rgb(194, 192, 182);
 }

 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }

 body {
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
   background: rgb(38, 38, 36);
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   padding: 20px;
 }

 .container {
   box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
   background: rgb(48, 48, 46);
   border-radius: 1rem;
   padding: 1rem;
   max-width: 900px;
   width: 100%;
   margin-bottom: 50px;
 }

 h1 {
   font-family: 'Copernicus';
   text-align: center;
   color: var(--font-color);
   margin-bottom: 30px;
   font-weight: 600;
   font-size: 2rem;
 }

 label {
   font-size: 14px;
   color: #4a5568;
   margin-bottom: 5px;
   font-weight: 500;
   display: block;
 }

 input[type="text"],
 input[type="password"] {
   width: 100%;
   padding: 12px 16px;
   padding-left: 0px;
   border: none;
   border-radius: 8px;
   font-size: 14px;
   transition: all 0.3s ease;
   background: rgb(48, 48, 46);
   color: var(--font-color);;
 }

 input[type="text"]:focus,
 input[type="password"]:focus {
   outline: none;
   border: none;
 }

 .input-group {
   display: flex;
   gap: 15px;
 }

 button {
   padding: 15px 30px;
   background: rgb(38, 38, 36);
   color: var(--font-color);;
   border: none;
   border-radius: 12px;
   font-size: 16px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s ease;
   white-space: nowrap;
 }

 button:disabled {
   opacity: 0.25;
   cursor: not-allowed;
 }

 @keyframes pulse {

   0%,
   100% {
     transform: scale(1);
   }

   50% {
     transform: scale(1.1);
   }
 }

 .response-section {
   min-height: 300px;
   max-height: 500px;
   overflow-y: auto;
   border: none;
   border-radius: 12px;
   padding: 20px;
  background: rgb(38, 38, 36);
   position: relative;
   display: none;
 }

 .loading {
   display: flex;
   align-items: center;
   justify-content: center;
   height: 200px;
   color: var(--font-color);
   font-weight: 500;
   flex-direction: column;
   gap: 15px;
 }

 .loading .message {
  font-size: 0.75rem;
 }

.loading .spinner {
   display: inline-block;
   width: 40px;
   height: 40px;
   border: 4px solid rgb(48, 48, 46);
   border-top: 4px solid #f3f3f3;
   border-radius: 50%;
   animation: spin 1s linear infinite;
 }

 @keyframes spin {
   0% {
     transform: rotate(0deg);
   }

   100% {
     transform: rotate(360deg);
   }
 }

 .error {
   color: #e53e3e;
   background: #fed7d7;
   padding: 15px;
   border-radius: 8px;
   border-left: 4px solid #e53e3e;
 }

 .markdown-content {
   line-height: 1.6;
   color: var(--font-color);;
 }

 .markdown-content h1,
 .markdown-content h2,
 .markdown-content h3 {
   margin: 20px 0 10px 0;
   color: var(--font-color);;
 }

 .markdown-content p {
   margin-bottom: 15px;
 }

 .markdown-content code {
   background: #e2e8f0;
   padding: 2px 6px;
   border-radius: 4px;
   font-family: 'Monaco', 'Consolas', monospace;
 }

 .markdown-content pre {
   background: rgb(38, 38, 36);
   color: #e2e8f0;
   padding: 15px;
   border-radius: 8px;
   overflow-x: auto;
   margin: 15px 0;
 }

 .markdown-content blockquote {
   border-left: 4px solid #667eea;
   padding-left: 15px;
   margin: 15px 0;
   font-style: italic;
   color: #4a5568;
 }

 .markdown-content ul,
 .markdown-content ol {
   margin: 15px 0;
   padding-left: 30px;
 }

 .markdown-content li {
   margin-bottom: 5px;
 }

 .typewriter {
   border-right: 2px solid #667eea;
   animation: blink 1s infinite;
 }

 #qrcode {
  display: none;
  background-color: white;
  padding: 5px;
 }

 @keyframes blink {

   0%,
   50% {
     border-right-color: #667eea;
   }

   51%,
   100% {
     border-right-color: transparent;
   }
 }

 .fade-in {
   animation: fadeIn 0.5s ease-in;
 }

 @keyframes fadeIn {
   from {
     opacity: 0;
     transform: translateY(10px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 @media (max-width: 768px) {
   .container {
     padding: 20px;
     margin: 10px;
     margin-bottom: 25px;
   }

   .input-group {
     flex-direction: column;
   }

   h1 {
     font-size: 1.5rem;
   }
 }