body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f6f8fa;
  margin: 0;
  padding: 0;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.file-picker {
  background: #eaf1fb;
  border: 2px solid #4f8cff;
  border-radius: 10px;
  padding: 24px;
  margin: 16px auto;
  max-width: 600px;
  min-width: 30%;
  text-align: center;
  font-size: 1.1em;
  color: #2a4d7a;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.file-picker:hover, .file-picker.dragover {
  background: #d6e6fa;
  border-color: #2a4d7a;
}

#chat {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 24px;
  margin: 0 auto 24px auto;
  max-width: 600px;
  min-width: 40%;
  min-height: 200px;
  overflow-y: auto;
}

#chat img {
  max-width: 300px;
  margin: 8px 0;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

#devicesList {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 16px 24px;
  margin: 24px auto 16px auto;
  max-width: 600px;
  font-size: 1.05em;
}

.device-link {
  display: inline-block;
  margin: 4px 0;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.device-link[style*="green"] {
  color: #fff !important;
  background: #4f8cff;
  cursor: pointer;
}

.device-link[style*="gray"] {
  color: #aaa !important;
  background: #f0f0f0;
  cursor: not-allowed;
}

.device-link:hover {
  background: #2a4d7a;
  color: #fff !important;
}

input[type="file"] {
  margin: 12px 0 0 0;
  padding: 6px;
}

button#sendFile {
  background: #4f8cff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  margin-left: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}

button#sendFile:hover {
  background: #2a4d7a;
}

a {
  color: #4f8cff;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

div[role="progressbar"], .progressDiv {
  margin: 8px 0;
  color: #2a4d7a;
  font-weight: 500;
}

::-webkit-scrollbar {
  width: 8px;
  background: #eaf1fb;
}
::-webkit-scrollbar-thumb {
  background: #c2d6f7;
  border-radius: 4px;
}