*,
*:before,
*:after {
  color: white;
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: var(--sl-font-sans);
}

::-webkit-scrollbar {
  width: 0;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

:root {
  --blue: #0149f2;
  --white: #ffffff;
  --green: #00ff0a;
  --yellow: #ffe141;
  --grey: #6f6f6f;
  --red: #ff0000;
  --border: #202020;
  --black: #0a0a0a;
  --graphite: #0f0f12;
  --black-glass: rgba(5, 5, 5, 0.5);
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: sans-serif;
  margin: 0;
  padding: 16px;
}

.login-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.login {
  width: 100%;
  max-width: 500px;
  background-color: var(--graphite);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login h2 {
  text-align: center;
}

h2 {
  color: var(--white);
  font-size: 32px;
  font-weight: 500;
  line-height: 120%;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-control label {
  margin: 0;
}

form sl-input {
  width: 100%;
}

form sl-button {
  width: 100%;
}

.error {
  color: var(--red);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

header div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 24px;
}

main {
  margin: 20px 0;
  padding-bottom: 16px;
}

.tab {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-add {
  align-self: center;
  width: fit-content;
}

.card__btn {
  display: flex;
  gap: 8px;
}

.card {
  background-color: var(--graphite);
  border: 1px solid var(--border);
}

.card > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card .left-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chips-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

sl-input::part(form-control-label) {
  margin-bottom: 8px;
}

@media screen and (max-width: 600px) {
  .form-actions {
    flex-direction: column;
  }

  .card .left-side {
    align-items: start;
    flex-direction: column;
  }

  .card > div {
    flex-direction: column;
    align-items: start;
  }

  .card__btn {
    width: 100%;
  }

  .card__btn sl-button {
    flex: 1;
  }
}
