/* Drexorra Mail · Theme: colours, fonts, base text, buttons and inputs. Change brand colours HERE. */
:root {
  --teal: #0f6e6a;
  --teal2: #0a514e;
  --teal3: #e3f1ef;
  --coral: #f06a4c;
  --coral2: #d9553a;
  --sun: #f5b841;
  --bg: #f3f5f4;
  --card: #ffffff;
  --line: #e1e7e5;
  --text: #111a18;
  --muted: #4a5754;
  --label: #36423f;
  --chip: #eaf0ee;
  --hover: #f6f9f8;
  --sel: #e6f2f0;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Nunito Sans', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0f1716;
    --card: #16201f;
    --line: #25322f;
    --text: #e7efed;
    --muted: #aebdb9;
    --label: #cfdad7;
    --chip: #1e2b29;
    --hover: #1a2524;
    --sel: #1c3330;
    --teal3: #173532;
  }
}
:root[data-theme='dark'] {
  --bg: #0f1716;
  --card: #16201f;
  --line: #25322f;
  --text: #e7efed;
  --muted: #aebdb9;
  --label: #cfdad7;
  --chip: #1e2b29;
  --hover: #1a2524;
  --sel: #1c3330;
  --teal3: #173532;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  height: 100%;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
.hidden {
  display: none !important;
}
.btn {
  border: 0;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-p {
  background: var(--teal);
  color: #fff;
}
.btn-p:hover {
  background: var(--teal2);
}
.btn-c {
  background: var(--coral);
  color: #fff;
}
.btn-c:hover {
  background: var(--coral2);
}
.btn-g {
  background: var(--chip);
  color: var(--text);
}
.btn-g:hover {
  filter: brightness(0.97);
}
.btn-sm {
  padding: 6px 11px;
  font-size: 13.5px;
  border-radius: 8px;
}
.ib {
  border: 0;
  background: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
}
.ib:hover {
  background: var(--chip);
  color: var(--text);
}
.ib svg {
  width: 19px;
  height: 19px;
}
.inp {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.inp:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 110, 106, 0.14);
}
