/** GLOBAL STYLES **/

:root {
  --text: #1e293b;
  --muted: #222;
  --brand: #E01280;
  --brand-hover: #FF8FC7;
  --background-1: #FAF9F6;
  --background-2: #F0EFEC;
  --border: #e5e7eb;
  --chrome-base:    #EDECEA;
  --chrome-raised:  #E5E4E1;
  --chrome-surface: #DDDCDA;
  --chrome-border:  #D5D4D1;
  --chrome-border2: #C8C7C4;
  --chrome-text:    #1e293b;
  --chrome-muted:   #6b7280;
  --chrome-faint:   #9ca3af;
}

* {
  box-sizing: border-box;
  margin: 0;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #ccc transparent; /* Firefox */
}

html { 
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, Arial, sans-serif;
  background-color: var(--background-1);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 32px;
  box-sizing: border-box;
}

button {
  background-color: transparent;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  padding: 14px 28px;
  font-size: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: inherit;
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

button:active {
  transform: translateY(-1px);
}

input:focus {
    box-shadow: 0 4px 24px var(--brand);
}

ol, ul {
  list-style: none;
}

hr {
  width: 95%;
  border: none;
  border-top: 1px solid var(--muted);
  margin: 100px 0;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.2;
}

table {
  width: 100%;
  border-spacing: 0 3px;
  border-collapse: separate;
}

table th {
  text-align: left;
}

table tbody tr {
  background-color: white;
  border-radius: 12px;
}

table tbody tr:hover {
  background-color: var(--background-1);
}

table td {
  font-size: 14px;
  padding: 5px 6px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
}

table td img {
  border: 1px solid var(--background-2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-radius: 50%;
  height: 30px;
}

/** scrollbars **/

*::-webkit-scrollbar {
  display: none;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 1px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #999;
}