[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Colfax Regular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #1a1a1a;
  color: #e0e0e0;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
}
main[ceots__auth="auth_main"] {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
}
.auth__container {
  background: #252525;
  border-left: 1px solid #3a3a3a;
  border-top: 1px solid #3a3a3a;
  border-top-left-radius: 4px;
  border-right: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  border-bottom-right-radius: 4px;
  box-shadow: 4px 4px 0px 0px #2a4a5a;
  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: #96d4ee;
  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: #bbb;
}
.form__group input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.1s ease;
  background: #1a1a1a;
  color: #e0e0e0;
}
.form__group input:focus {
  border-color: #96d4ee;
  box-shadow: 0 0 0 2px rgba(150,212,238,0.2);
}
.form__group input::placeholder {
  color: #666;
}
.form__group small {
  display: block;
  font-size: 0.75rem;
  color: #666;
  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: #e0e0e0;
}
.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: #96d4ee;
  text-decoration: underline;
}
.form__error {
  background: rgba(220,53,69,0.15);
  border: 1px solid #dc3545;
  color: #ff6b7a;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.form__success {
  background: rgba(40,167,69,0.15);
  border: 1px solid #28a745;
  color: #5dd879;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
button[type="submit"] {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #96d4ee;
  color: #1a1a1a;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border-left: 1px solid #a5daf0;
  border-top: 1px solid #a5daf0;
  border-top-left-radius: 4px;
  border-right: 1px solid #6ab8d4;
  border-bottom: 1px solid #6ab8d4;
  border-bottom-right-radius: 4px;
  box-shadow: 2px 2px 0px 0px #2a4a5a;
  transition: all 0.1s ease;
}
button[type="submit"]:hover {
  box-shadow: 4px 4px 0px 0px #2a4a5a;
  background: #a5daf0;
}
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 #3a3a3a;
}
.auth__footer p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}
.auth__footer p a {
  color: #96d4ee;
  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: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 1px solid #3a3a3a;
  border-top: 1px solid #3a3a3a;
  border-top-left-radius: 4px;
  border-right: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  border-bottom-right-radius: 4px;
  box-shadow: 2px 2px 0px 0px #2a4a5a;
  transition: all 0.1s ease;
}
.auth__footer a.auth__signout:hover {
  box-shadow: 4px 4px 0px 0px #2a4a5a;
}
.auth__tabs {
  display: flex;
  margin-bottom: 1.5rem;
  background: #1a1a1a;
  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: #bbb;
}
.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: #96d4ee;
  text-decoration: underline;
}
.profile__info {
  margin-bottom: 2rem;
}
.profile__field {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #3a3a3a;
}
.profile__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
}
.profile__field span {
  font-size: 0.9rem;
  color: #e0e0e0;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #e0e0e0;
}
[ceots__auth="toast"] {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
[ceots__auth="toast"] > div {
  padding: 15px 20px;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-family: sans-serif;
  font-size: 14px;
  max-width: 400px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
[ceots__auth="toast"] > div.visible {
  opacity: 1;
  transform: translateY(0);
}
[ceots__auth="toast"] > div.dismissing {
  opacity: 0;
  transform: translateY(-10px);
}
[ceots__auth="toast"] > div.success {
  background: #28a745;
}
[ceots__auth="toast"] > div.error {
  background: #dc3545;
}
[ceots__auth="toast"] > div button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}
[ceots__auth="toast"] > div span {
  flex: 1;
  cursor: pointer;
}
[ceots__auth="toast"] > div a {
  color: #fff;
  text-decoration: underline;
}
.ceots__auth__dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ceots__auth__dialog__box {
  background: #252525;
  border-radius: 8px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.ceots__auth__dialog__box p {
  margin: 0 0 16px 0;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.5;
}
.ceots__auth__dialog__input {
  width: 100%;
  padding: 8px;
  margin: 0 0 16px 0;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  background: #1a1a1a;
  color: #e0e0e0;
  font-size: 14px;
}
.ceots__auth__dialog__input:focus {
  outline: none;
  border-color: #96d4ee;
}
.ceots__auth__dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.ceots__auth__dialog__btn {
  padding: 6px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.ceots__auth__dialog__btn.secondary {
  background: #3a3a3a;
  color: #e0e0e0;
}
.ceots__auth__dialog__btn.primary {
  background: #2a4a5a;
  color: #96d4ee;
}
.ceots__auth__dialog__btn.danger {
  background: #dc3545;
  color: #fff;
}
