@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 100;
  src: url("/assets/fonts/jetbrainsmono/fonts/webfonts/JetBrainsMono-Thin.woff2") format('woff2');
  font-display: block;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 200;
  src: url("/assets/fonts/jetbrainsmono/fonts/webfonts/JetBrainsMono-ExtraLight.woff2") format('woff2');
  font-display: block;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 300;
  src: url("/assets/fonts/jetbrainsmono/fonts/webfonts/JetBrainsMono-Light.woff2") format('woff2');
  font-display: block;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  src: url("/assets/fonts/jetbrainsmono/fonts/webfonts/JetBrainsMono-Regular.woff2") format('woff2');
  font-display: block;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 500;
  src: url("/assets/fonts/jetbrainsmono/fonts/webfonts/JetBrainsMono-Medium.woff2") format('woff2');
  font-display: block;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 600;
  src: url("/assets/fonts/jetbrainsmono/fonts/webfonts/JetBrainsMono-Bold.woff2") format('woff2');
  font-display: block;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 700;
  src: url("/assets/fonts/jetbrainsmono/fonts/webfonts/JetBrainsMono-ExtraBold.woff2") format('woff2');
  font-display: block;
}
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #1b1b1b;
  color: #c2c2c2;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
}
main[tc__auth="auth_main"] {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
}
.auth__container {
  background: #252525;
  border-left: 1px solid #444;
  border-top: 1px solid #444;
  border-top-left-radius: 4px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-bottom-right-radius: 4px;
  box-shadow: 4px 4px 0px 0px #0055da;
  padding: 2rem;
}
.auth__container .auth__header {
  text-align: center;
  margin-bottom: 2rem;
}
.auth__container .auth__header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.5px;
  color: #fff;
}
.auth__container .auth__header p {
  font-size: 0.95rem;
  color: #888;
  margin: 0;
}
.auth__container .auth__header .auth__service {
  font-size: 0.8rem;
  color: #3986ff;
  margin-top: 0.5rem;
}
.form__group {
  margin-bottom: 1.25rem;
}
.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #c2c2c2;
}
.form__group input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #444;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.1s ease;
  background: #000;
  color: #c2c2c2;
}
.form__group input:focus {
  border-color: #3986ff;
  box-shadow: 0 0 0 2px rgba(57,134,255,0.2);
}
.form__group input::placeholder {
  color: #444;
}
.form__group small {
  display: block;
  font-size: 0.75rem;
  color: #444;
  margin-top: 0.25rem;
}
.password__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password__wrapper input {
  padding-right: 2.75rem;
}
.password__toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.password__toggle:hover {
  color: #c2c2c2;
}
.password__toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}
.form__forgot {
  text-align: right;
  margin-bottom: 1rem;
  margin-top: -0.5rem;
}
.form__forgot a {
  font-size: 0.85rem;
  color: #888;
  text-decoration: none;
}
.form__forgot a:hover {
  color: #3986ff;
  text-decoration: underline;
}
.form__error {
  background: rgba(239,68,68,0.15);
  border: 1px solid #ef4444;
  color: #f37373;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.form__success {
  background: rgba(52,211,153,0.15);
  border: 1px solid #34d399;
  color: #52daa8;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
button[type="submit"] {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #3986ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border-left: 1px solid #5798ff;
  border-top: 1px solid #5798ff;
  border-top-left-radius: 4px;
  border-right: 1px solid #0a69ff;
  border-bottom: 1px solid #0a69ff;
  border-bottom-right-radius: 4px;
  box-shadow: 2px 2px 0px 0px #0055da;
  transition: all 0.1s ease;
}
button[type="submit"]:hover {
  box-shadow: 4px 4px 0px 0px #0055da;
  background: #5798ff;
}
button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.auth__footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
}
.auth__footer p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}
.auth__footer p a {
  color: #3986ff;
  font-weight: 500;
  text-decoration: none;
  margin-left: 0.25rem;
}
.auth__footer p a:hover {
  text-decoration: underline;
}
.auth__footer a.auth__signout {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: #252525;
  color: #c2c2c2;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 1px solid #444;
  border-top: 1px solid #444;
  border-top-left-radius: 4px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-bottom-right-radius: 4px;
  box-shadow: 2px 2px 0px 0px #0055da;
  transition: all 0.1s ease;
}
.auth__footer a.auth__signout:hover {
  box-shadow: 4px 4px 0px 0px #0055da;
}
.auth__tabs {
  display: flex;
  margin-bottom: 1.5rem;
  background: #000;
  border-radius: 4px;
  padding: 4px;
}
.auth__tab {
  flex: 1;
  padding: 0.6rem 1rem;
  background: transparent;
  border: none;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  transition: all 0.15s ease;
}
.auth__tab:hover {
  color: #c2c2c2;
}
.auth__tab.active {
  background: #333;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.auth__back {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #888;
  text-decoration: none;
}
.auth__back:hover {
  color: #3986ff;
  text-decoration: underline;
}
.profile__info {
  margin-bottom: 2rem;
}
.profile__field {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #444;
}
.profile__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
}
.profile__field span {
  font-size: 0.9rem;
  color: #c2c2c2;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #c2c2c2;
}
