:root {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-spacing: 1.5;
  background-color: color-mix(in srgb, var(--pink) 14%, #fdfbff);
  color: #3a2b45;

  --blue: #8ec5fc;
  --pink: #ffb3c6;
}

body.user-panel-page {
  padding: 0 1rem;
}

.login-page {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

form {
  --bg-color: var(--blue);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--bg-color) 30%, white);
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg-color) 10%, white);
}

form > h2 {
  margin: 0;
  color: color-mix(in srgb, var(--pink) 55%, #3a2b45);
}

input[type=submit] {
  border: 1px solid color-mix(in srgb, var(--bg-color) 30%, white);
  border-radius: 4px;
  cursor: pointer;
  background-color: color-mix(in srgb, var(--bg-color) 8%, white);
  color: #3a2b45;
}

input[type=submit]:hover {
  border: 1px solid var(--pink);
  background-color: color-mix(in srgb, var(--pink) 30%, white);
}

label {
  display: flex;
  flex-direction: column;
}

.user-panel {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}

.panel-entry {
  flex: 1;
}

.editor {
  width: 100%;
  height: 400px;
  background-color: color-mix(in srgb, var(--blue) 8%, white);
  color: #3a2b45;
  border: 1px solid color-mix(in srgb, var(--blue) 30%, white);
}

a {
  font-weight: 300;
  color: color-mix(in srgb, var(--pink) 80%, #3a2b45);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.note {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.note-post {
  padding: 0 2rem;
  border: 1px solid color-mix(in srgb, var(--blue) 25%, white);
  background: color-mix(in srgb, var(--pink) 8%, var(--blue) 8%, white);
}