/* Login1A */

.Login1A {
  background-color: #222222;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 8vh 6vw;
  position: relative;
  overflow: hidden;
}

.Login1A .LiquidBackground {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.Login1A .LiquidBackground canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.Login1ACard {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  padding: 32px 28px;
  border-radius: 22px;
  background: linear-gradient(130deg, rgba(27, 45, 43, 0.78), rgba(7, 15, 22, 0.55));
  border: 1px solid rgba(32, 203, 176, 0.25);
  box-shadow: 0 26px 46px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(130%);
}

.Login1ACard form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.Login1ACard input,
.Login1ACard button,
.Login1ACard select,
.Login1ACard textarea {
  border-radius: 12px;
}

.Login1ACard h2 {
  margin: 0 0 8px;
  color: #e6fffb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.Login1ACard input {
  border: 1px solid rgba(68, 226, 201, 0.45);
  background: rgba(9, 20, 18, 0.65);
  color: #e6fffb;
  padding: 12px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.Login1ACard input:focus {
  border-color: rgba(68, 226, 201, 0.9);
  box-shadow: 0 0 0 3px rgba(32, 203, 176, 0.25);
}

.Login1ACard input::placeholder {
  color: rgba(230, 255, 251, 0.5);
}

.Login1ACard button {
  border: 1px solid rgba(68, 226, 201, 0.6);
  background: linear-gradient(135deg, rgba(32, 203, 176, 0.9), rgba(16, 122, 109, 0.9));
  color: #e6fffb;
  padding: 12px 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(16, 122, 109, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.Login1ACard button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(32, 203, 176, 0.45);
}

.Login1ACard p {
  color: rgba(230, 255, 251, 0.75);
  font-size: 0.85rem;
  margin: 6px 0 0;
}

.RegisterFieldset {
  border: 1px solid rgba(68, 226, 201, 0.35);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.RegisterFieldset legend {
  padding: 0 8px;
  color: rgba(230, 255, 251, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.RegisterRow {
  display: flex;
  gap: 10px;
}

.RegisterRow > * {
  flex: 1;
}

.RegisterForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.RegisterForm input {
  width: 100%;
}

.RegisterForm input.is-invalid {
  border-color: rgba(248, 113, 113, 0.95);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25);
}

.RegisterForm button {
  margin-top: 6px;
}

@media (max-width: 600px) {
  .RegisterRow {
    flex-direction: column;
  }
}

.EndurerAuthModal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 4, 9, 0.72);
  backdrop-filter: blur(6px);
}

.EndurerAuthModalDialog {
  width: min(980px, 100%);
  height: min(88vh, 780px);
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  background: linear-gradient(150deg, rgba(7, 18, 27, 0.95), rgba(4, 11, 18, 0.92));
  border: 1px solid rgba(68, 226, 201, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.EndurerAuthModalHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(68, 226, 201, 0.2);
  color: #e6fffb;
}

.EndurerAuthModalClose {
  border: 1px solid rgba(68, 226, 201, 0.45);
  background: rgba(8, 20, 31, 0.7);
  color: #e6fffb;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.EndurerAuthModalActions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(68, 226, 201, 0.2);
}

.EndurerAuthModalButton {
  border: 1px solid rgba(68, 226, 201, 0.45);
  background: rgba(8, 20, 31, 0.72);
  color: #e6fffb;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.EndurerAuthModalButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.EndurerAuthModalFrame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #021017;
}

.EndurerAuthModalLoading {
  display: grid;
  place-items: center;
  color: rgba(230, 255, 251, 0.75);
  font-size: 0.95rem;
}

.EndurerAuthModalHint {
  margin: 0;
  padding: 10px 16px 14px;
  color: rgba(230, 255, 251, 0.72);
  font-size: 0.86rem;
  line-height: 1.5;
}

.EndurerAuthModalHint a {
  color: rgba(68, 226, 201, 0.95);
  font-weight: 600;
}

.EndurerAuthModalError {
  margin: 0;
  padding: 10px 16px 0;
  color: #fca5a5;
  font-size: 0.9rem;
}

.EndurerAuthOverlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 4, 9, 0.5);
  backdrop-filter: blur(3px);
}

.EndurerAuthOverlayCard {
  width: min(560px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(68, 226, 201, 0.35);
  background: linear-gradient(150deg, rgba(7, 18, 27, 0.95), rgba(4, 11, 18, 0.9));
  color: #e6fffb;
  padding: 18px 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.EndurerAuthOverlayText {
  margin: 0;
  line-height: 1.5;
}

.EndurerAuthOverlayRetry {
  margin-top: 14px;
  border: 1px solid rgba(68, 226, 201, 0.45);
  background: rgba(8, 20, 31, 0.72);
  color: #e6fffb;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
  cursor: pointer;
}

.EndurerAuthOverlayError {
  margin: 12px 0 0;
  color: #fca5a5;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .EndurerAuthModal {
    padding: 10px;
  }

  .EndurerAuthModalDialog {
    width: 100%;
    height: min(92vh, 820px);
    border-radius: 12px;
  }

  .EndurerAuthModalActions {
    flex-wrap: wrap;
  }
}
