/* Global base styles */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #ffffff;
  color: #333333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

* {
  box-sizing: border-box;
}

/* Root page dark theme styles */
body.dark .container {
  background-color: #2d2d2d;
  border: 1px solid #404040;
}

body.dark h1 {
  color: #f0f0f0;
}

body.dark p {
  color: #b0b0b0;
}

body.dark h2 {
  color: #e0e0e0;
  border-bottom: 1px solid #404040;
}

body.dark input {
  background-color: #3d3d3d;
  border: 1px solid #555;
  color: #e0e0e0;
}

body.dark input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

body.dark button {
  background-color: #007bff;
  color: white;
}

body.dark button:disabled {
  background-color: #555;
  color: #999;
}

body.dark .info {
  background-color: #00596c;
}

body.dark .info p {
  color: #b0b0b0;
}

body.dark .status {
  background-color: #404040;
}

body.dark .status p {
  color: #b0b0b0;
}

body.dark .status strong {
  color: #ff6666;
}

/* Chat page dark theme styles */
body.dark .chat-container {
  background-color: #2d2d2d;
}

body.dark .chat-header {
  background-color: #404040;
  border-bottom: 1px solid #555;
}

body.dark .app-title {
  color: #f0f0f0;
}

body.dark .chat-header h2 {
  color: #666;
}

body.dark .messages-container {
  background-color: #2d2d2d;
}

body .other-message .message-content {
  color: #fff;
}

body.dark .other-message .message-content {
  color: #fff;
}

body.dark .typing-indicator {
  background-color: #404040;
  color: #b0b0b0;
}

body.dark .typing-author {
  color: #b0b0b0;
}

body.dark .typing-dots span {
  background-color: #b0b0b0;
}

body.dark .message-input {
  background-color: #404040;
  border-top: 1px solid #555;
}

body.dark .message-input textarea {
  background-color: #3d3d3d;
  border: 1px solid #555;
  color: #e0e0e0;
}

body.dark .message-input textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

body.dark .message-input textarea:disabled {
  background-color: #555;
  opacity: 0.5;
}

body.dark .rate-limit-warning {
  background-color: #4d1a1a;
  border-color: #663333;
  color: #ff8080;
}

body.dark .send-btn {
  background-color: #007bff;
  color: white;
}

body.dark .send-btn:hover:not(:disabled) {
  background-color: #0056b3;
}

body.dark .send-btn:disabled {
  background-color: #555;
  color: #999;
}

body.dark .share-btn {
  background-color: #17a2b8;
  color: white;
}

body.dark .share-btn:hover {
  background-color: #138496;
}

body.dark .share-btn:active {
  background-color: #117a8b;
}

body.dark .copy-btn.copied {
  background-color: #28a745 !important;
  color: white !important;
}

body.dark .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

  .theme-toggle.svelte-lu0t34 {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
    color: inherit;
    height: 100%;
    aspect-ratio: 1 / 1;
  }

  .theme-toggle.svelte-lu0t34:hover {
    background-color: rgba(128, 128, 128, 0.1);
  }

  .container.svelte-1uha8ag {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    border-radius: 20px;
  }

  .header.svelte-1uha8ag {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  h1.svelte-1uha8ag {
    color: #333;
    margin-bottom: 10px;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.375rem;
    font-weight: bold;
    text-align: left;
  }

  .free.svelte-1uha8ag {
    color: #ff0000;
  }

  .tagline.svelte-1uha8ag {
    color: #666;
    font-family: "Kaushan Script", cursive;
  }

  .intro.svelte-1uha8ag {
    display: flex;
    flex-direction: column;
    padding: 10px 0 20px;
    border-top: 1px solid #ddd;
  }

  .info.svelte-1uha8ag {
    padding: 15px;
    background-color: #d9e0f6;
    border-radius: 8px;
    margin-top: 10px;
  }

  .info.svelte-1uha8ag p:where(.svelte-1uha8ag) {
    margin: 0;
    font-size: 1em;
    color: #555;
  }

  p.svelte-1uha8ag {
    color: #666;
    margin-bottom: 40px;
  }

  .actions.svelte-1uha8ag {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .create-section.svelte-1uha8ag {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
  }

  button.svelte-1uha8ag {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
  }

  button.svelte-1uha8ag:hover:not(:disabled) {
    background-color: #0056b3;
  }

  button.svelte-1uha8ag:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  h2.svelte-1uha8ag {
    margin-top: 0;
    color: #333;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    font-size: 1.375rem;
  }

  .status.svelte-1uha8ag {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
    font-size: 1em;
    display: none;
  }

  .status.svelte-1uha8ag p:where(.svelte-1uha8ag) {
    margin: 0;
    color: #555;
  }

  .status.svelte-1uha8ag strong:where(.svelte-1uha8ag) {
    color: #ff0000;
    font-weight: bold;
  }


  .file-upload-container.svelte-ux1wx1 {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .upload-area.svelte-ux1wx1 {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
  }

  .upload-area.svelte-ux1wx1:hover {
    border-color: #007bff;
    background: #f0f8ff;
  }

  .upload-area.dragging.svelte-ux1wx1 {
    border-color: #007bff;
    background: #e3f2fd;
    transform: scale(1.02);
  }

  .upload-area.disabled.svelte-ux1wx1 {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .upload-prompt.svelte-ux1wx1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .upload-icon.svelte-ux1wx1 {
    font-size: 48px;
    opacity: 0.7;
  }

  .uploading.svelte-ux1wx1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .spinner.svelte-ux1wx1 {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: svelte-ux1wx1-spin 1s linear infinite;
  }

  @keyframes svelte-ux1wx1-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .error-message.svelte-ux1wx1 {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .close-error.svelte-ux1wx1 {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #856404;
  }

  .uploaded-files.svelte-ux1wx1 {
    margin-top: 20px;
  }

  .files-header.svelte-ux1wx1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .files-header.svelte-ux1wx1 h3:where(.svelte-ux1wx1) {
    margin: 0;
    color: #333;
  }

  .clear-all.svelte-ux1wx1 {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
  }

  .files-list.svelte-ux1wx1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .file-item.svelte-ux1wx1 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    transition: all 0.3s ease;
  }

  .file-item.svelte-ux1wx1:hover {
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0,123,255,0.1);
  }

  .file-item.uploading.svelte-ux1wx1 {
    border-color: #ffc107;
    background: #fff8e1;
  }

  .file-item.error.svelte-ux1wx1 {
    border-color: #dc3545;
    background: #fff5f5;
  }

  .file-preview.svelte-ux1wx1 {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
  }

  .file-preview.svelte-ux1wx1 img:where(.svelte-ux1wx1),
  .file-preview.svelte-ux1wx1 video:where(.svelte-ux1wx1) {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .file-icon.svelte-ux1wx1 {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #f8f9fa;
    border-radius: 4px;
  }

  .file-info.svelte-ux1wx1 {
    flex: 1;
    min-width: 0;
  }

  .file-name.svelte-ux1wx1 {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .file-details.svelte-ux1wx1 {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
  }

  .file-timer.svelte-ux1wx1 {
    color: #ff6b6b;
    font-weight: 500;
  }

  .progress-bar.svelte-ux1wx1 {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
  }

  .progress-fill.svelte-ux1wx1 {
    height: 100%;
    background: #007bff;
    transition: width 0.3s ease;
  }

  .file-error.svelte-ux1wx1 {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
  }

  .remove-file.svelte-ux1wx1 {
    background: #dc3545;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .remove-file.svelte-ux1wx1:hover {
    background: #c82333;
    transform: scale(1.1);
  }

  @media (max-width: 768px) {
    .file-upload-container.svelte-ux1wx1 {
      max-width: 100%;
    }
    
    .upload-area.svelte-ux1wx1 {
      padding: 30px 15px;
    }
    
    .file-item.svelte-ux1wx1 {
      padding: 10px;
    }
    
    .file-preview.svelte-ux1wx1,
    .file-icon.svelte-ux1wx1 {
      width: 50px;
      height: 50px;
    }
  }

  .svelte-hcd91h {
    box-sizing: border-box;
  }

  .chat-container.svelte-hcd91h {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    border-radius: 22px;
  }

  .chat-header.svelte-hcd91h {
    position: sticky;
    top: var(--header-top, 0);
    padding: 10px 10px 0 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    flex-shrink: 0;
  }

  .chat-header.svelte-hcd91h .row:where(.svelte-hcd91h) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }

  .app-title.svelte-hcd91h {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.375rem;
    font-weight: bold;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
  }

  .app-title.svelte-hcd91h:hover {
    opacity: 0.8;
  }

  .free.svelte-hcd91h {
    color: #ff0000;
    font-weight: bold;
  }

  .chat-header.svelte-hcd91h h2:where(.svelte-hcd91h) {
    margin: 0;
    color: #ddd;
    font-size: 0.5em;
    line-height: 10px;
    font-weight: 100;
    word-break: break-all;
    flex-shrink: 0;
  }

  .header-info.svelte-hcd91h {
    display: flex;
    align-items: center;
    gap: 0.5em;
  }

  .client-name.svelte-hcd91h {
    text-align: center;
    font-size: 0.825em;
    font-weight: 900;
    color: #57f;
    letter-spacing: -0.04em;
    opacity: 0.5;
    z-index: 1;
  }

  .client-name-label.svelte-hcd91h {
    font-weight: 100;
    color: #666;
  }

  .participant-count.svelte-hcd91h {
    font-size: 1em;
  }

  .share-btn.svelte-hcd91h {
    background-color: #17a2b8;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .share-btn.svelte-hcd91h svg:where(.svelte-hcd91h) {
    width: 14px;
    height: 14px;
  }

  .share-btn.svelte-hcd91h:hover {
    background-color: #138496;
  }

  .share-btn.svelte-hcd91h:active {
    background-color: #117a8b;
  }

  .messages-container.svelte-hcd91h {
    position: relative;
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .message.svelte-hcd91h {
    padding: 8px 15px;
    border-radius: 18px;
    max-width: 70%;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
  }

  .message-author.svelte-hcd91h {
    font-size: 0.8125rem;
    font-weight: 300;
    margin-bottom: 2px;
    opacity: 0.3;
    display: flex;
    align-items: center;
    gap: 0.45em;
  }

  .author-initials.svelte-hcd91h {
    width: 20px;
    height: 20px;
    padding-top: 0.1em;
    margin-left: -0.9em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    background-color: #0005;
  }

  .author-full-name.svelte-hcd91h {
    flex: 1;
  }

  .message-body.svelte-hcd91h {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-wrap: wrap;
  }

  .message-content.svelte-hcd91h {
    font-size: 1em;
    font-weight: 400;
    white-space: pre-wrap;
    line-height: 1.4;
    flex: 1;
  }

  .message-content.emoji-only.svelte-hcd91h {
    font-size: 4em !important;
    line-height: 1.2;
  }

  /* Стили для файлов в сообщениях */
  .file-message.svelte-hcd91h {
    padding-top: 0.3em;
  }

  .file-container.svelte-hcd91h {
    position: relative;
    display: inline-block;
  }

  .video-container.svelte-hcd91h {
    position: relative;
    display: inline-block;
  }

  .file-deletion-overlay.svelte-hcd91h {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: svelte-hcd91h-fadeInDeletionOverlay 60s linear forwards;
    pointer-events: none;
    mix-blend-mode: screen;
    transition: transform 0.3s ease;
  }

  .file-deletion-overlay.overlay-disabled.svelte-hcd91h {
    opacity: 1;
    animation: none;
    pointer-events: none;
  }

  .file-container.svelte-hcd91h:hover .file-deletion-overlay:where(.svelte-hcd91h):not(.overlay-disabled) {
    transform: scale(1.05);
  }

  .video-container.svelte-hcd91h:hover .file-deletion-overlay:where(.svelte-hcd91h):not(.overlay-disabled) {
    transform: scale(1.05);
  }

  .broken-glass.svelte-hcd91h {
    width: inherit;
    height: inherit;
    opacity: 0.8;
  }

  .file-preview.file-disabled.svelte-hcd91h {
    opacity: 0.5;
    filter: brightness(0.5);
    pointer-events: none;
  }

  @keyframes svelte-hcd91h-fadeInDeletionOverlay {
    0% {
      opacity: 0;
    }
    90% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .file-preview.svelte-hcd91h {
    display: block;
    width: 15em;
    height: 15em;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .file-preview.svelte-hcd91h:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }

  .file-download.svelte-hcd91h {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #ddd;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 300px;
  }

  .file-download.svelte-hcd91h:hover {
    background: #e9ecef;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .file-download.file-disabled.svelte-hcd91h {
    opacity: 0.5;
    pointer-events: none;
    background: #f8f9fa;
  }

  .file-download.file-disabled.svelte-hcd91h:hover {
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
  }

  .file-icon.svelte-hcd91h {
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .file-info.svelte-hcd91h {
    flex: 1;
    min-width: 0;
  }

  .file-name.svelte-hcd91h {
    display: block;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
  }

  .file-size.svelte-hcd91h {
    display: block;
    font-size: 0.875em;
    color: #666;
  }

  .message-time.svelte-hcd91h {
    font-size: 0.8125rem;
    font-weight: 300;
    opacity: 0.3;
    white-space: nowrap;
  }

  .own-message.svelte-hcd91h {
    align-self: flex-end;
    background-color: #007bff;
    color: white;
  }

  .other-message.svelte-hcd91h {
    align-self: flex-start;
    background-color: #f1f3f4;
  }

  .system-message.svelte-hcd91h {
    align-self: flex-start;
    background-color: #f1f3f4;
    font-style: italic;
  }

  .system-message.svelte-hcd91h .message-content:where(.svelte-hcd91h) {
    opacity: 0.3;
    font-size: 0.9em;
    font-style: italic;
  }

  .own-message.svelte-hcd91h .message-author:where(.svelte-hcd91h) {
    color: #fff;
  }

  .other-message.svelte-hcd91h .message-author:where(.svelte-hcd91h) {
    color: #fff;
  }

  .own-message.svelte-hcd91h .message-time:where(.svelte-hcd91h) {
    color: #fff;
  }

  .other-message.svelte-hcd91h .message-time:where(.svelte-hcd91h) {
    color: #fff;
  }

  .typing-indicator.svelte-hcd91h {
    align-self: flex-start;
    background-color: #f1f3f4;
    color: #666;
    padding: 8px 15px;
    border-radius: 18px;
    max-width: 70%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .typing-author.svelte-hcd91h {
    font-size: 0.8125rem;
    font-weight: 300;
    opacity: 0.7;
  }

  .typing-dots.svelte-hcd91h {
    display: flex;
    gap: 2px;
    align-items: center;
  }

  .typing-dots.svelte-hcd91h span:where(.svelte-hcd91h) {
    width: 4px;
    height: 4px;
    background-color: #666;
    border-radius: 50%;
    opacity: 0.7;
    animation: svelte-hcd91h-typing 1.4s infinite ease-in-out;
  }

  .typing-dots.svelte-hcd91h span:where(.svelte-hcd91h):nth-child(1) {
    animation-delay: -0.32s;
  }

  .typing-dots.svelte-hcd91h span:where(.svelte-hcd91h):nth-child(2) {
    animation-delay: -0.16s;
  }

  @keyframes svelte-hcd91h-typing {
    0%,
    60%,
    100% {
      transform: translateY(0);
      opacity: 0.7;
    }
    30% {
      transform: translateY(-5px);
      opacity: 1;
    }
  }

  .message-input.svelte-hcd91h {
    padding: 7px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
  }

  .message-input-row.svelte-hcd91h {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5em;
  }

  .rate-limit-warning.svelte-hcd91h {
    background-color: #ffe6e6;
    border: 1px solid #ffcccc;
    color: #cc0000;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 1em;
    text-align: center;
  }

  .message-input.svelte-hcd91h textarea:where(.svelte-hcd91h) {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.6em;
    font-size: 1em;
    font-family: inherit;
    resize: none;
    overflow-y: auto;
  }

  .message-input.svelte-hcd91h textarea:where(.svelte-hcd91h):disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
  }

  .message-input.svelte-hcd91h .send-button:where(.svelte-hcd91h) {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
  }

  .message-input.svelte-hcd91h .send-button:where(.svelte-hcd91h):hover:not(:disabled) {
    background: #0056b3;
    transform: scale(1.05);
  }

  .message-input.svelte-hcd91h .send-button:where(.svelte-hcd91h):disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: scale(1);
  }

  @media (max-width: 768px) {
    .chat-header.svelte-hcd91h {
      flex-direction: column;
      text-align: center;
    }

    .chat-header.svelte-hcd91h h2:where(.svelte-hcd91h) {
      max-width: 100%;
    }

    .message.svelte-hcd91h {
      max-width: 85%;
    }

    textarea.svelte-hcd91h {
      width: 100%;
    }

    .message-input.svelte-hcd91h .send-button:where(.svelte-hcd91h) {
      padding: 6px;
    }

    .message-input.svelte-hcd91h .file-upload-btn:where(.svelte-hcd91h) {
      background: #28a745;
      color: white;
      border: none;
      padding: 10px 12px;
      border-radius: 20px;
      cursor: pointer;
      margin-right: 10px;
      transition: all 0.3s ease;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 44px;
      height: 44px;
    }

    .message-input.svelte-hcd91h .file-upload-btn:where(.svelte-hcd91h):hover:not(:disabled) {
      background: #218838;
      transform: scale(1.05);
    }

    .message-input.svelte-hcd91h .file-upload-btn:where(.svelte-hcd91h):disabled {
      background: #6c757d;
      cursor: not-allowed;
      transform: scale(1);
    }
  }
