/* Base input styles for non-auth pages */
body:not(.auth-page) .input {
  width: 100%;
  max-width: 100%;
  min-height: 34px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  background: var(--input-bg);
  padding: 6px 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body:not(.auth-page) .input:focus {
  outline: none;
  border-color: var(--accent-color-strong);
  box-shadow: var(--focus-ring);
}

/* Feedback message box component */
body:not(.auth-page) .messageBox {
  width: fit-content;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0 12px;
}

body:not(.auth-page) .messageBox:focus-within {
  border-color: var(--link);
}

body:not(.auth-page) .fileUploadWrapper {
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body:not(.auth-page) #file {
  display: none;
}

body:not(.auth-page) .fileUploadWrapper label {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

body:not(.auth-page) .fileUploadWrapper label svg {
  height: 18px;
}

body:not(.auth-page) .fileUploadWrapper label svg path,
body:not(.auth-page) .fileUploadWrapper label svg circle {
  transition: all 0.2s ease;
}

body:not(.auth-page) .fileUploadWrapper label:hover svg path {
  stroke: var(--link);
}

body:not(.auth-page) .fileUploadWrapper label:hover svg circle {
  stroke: var(--link);
  fill: var(--surface-2);
}

body:not(.auth-page) .fileUploadWrapper label:hover .tooltip {
  display: block;
  opacity: 1;
}

body:not(.auth-page) .tooltip {
  position: absolute;
  top: -40px;
  display: none;
  opacity: 0;
  color: var(--text);
  font-size: 10px;
  text-wrap: nowrap;
  background: var(--surface);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

body:not(.auth-page) #messageInput {
  width: 200px;
  height: 100%;
  background: transparent;
  border: 0;
  outline: none;
  padding-left: 10px;
  color: var(--text);
}

body:not(.auth-page) #sendButton {
  width: fit-content;
  height: 100%;
  background: transparent;
  outline: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body:not(.auth-page) #sendButton svg {
  height: 18px;
}

body:not(.auth-page) #sendButton svg path {
  transition: all 0.2s ease;
}

body:not(.auth-page) #messageInput:focus ~ #sendButton svg path,
body:not(.auth-page) #messageInput:valid ~ #sendButton svg path,
body:not(.auth-page) #sendButton:hover svg path {
  fill: var(--surface-2);
  stroke: var(--link);
}
