/*
          SPACING SYSTEM (px)
          2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

          FONT SIZE SYSTEM (px)
          10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
          */

/* html {
  font-size: 62.5%;
} */
 :root{
  --hero-max-w: 1200px;
  --gap-col: clamp(16px, 3vw, 40px);
  --copy-max-ch: 58ch;
  --cta-radius: 999px;
  --brand: #7C4DFF;           /* purple accent */
  --brand-2: #B388FF;         /* lighter accent */
  --text: #FFFFFF;
  --text-dim: #D6D6DB;
  --bg: #0E0E12;
}
body {
  /* background-color: #e7e6e6; */
  background-color: rgb(122, 75, 101);
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, sans-serif;
  /* newStyle */
  /* background-image: linear-gradient(90deg, #000000bd, 82%, transparent);
  background-color: #5b5d6b;
  background-color: #924979;
  background-image: radial-gradient(
    circle at center top,
    #1c1c1d -20%,
    transparent 100%,
    #1c1c1d 97%
  ); */
  /* new techstyle */
  background-color: #0f0f0f;
  overflow: hidden;
  height: 100dvh;
}
body::after {
  /* content: ""; */
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(183, 65, 255, 0.4) 0%,
    transparent 80%
  );
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}
html[lang="he-IL"] *,
html[lang="he"] * {
  /* font-family: "Fredoka", serif !important; */
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, sans-serif;
}
html[lang="he-IL"] .title,
html[lang="he"] .title {
  /* text-shadow: black 4px 2px; */
}
html[lang="he-IL"] .subtitle,
html[lang="he"] .subtitle {
  text-shadow: black 2px 2px;
}
a {
  font-weight: 400;
}

h1 {
  line-height: 0.9;
}
p {
  line-height: 1.4;
}
#login {
  margin-top: 12vh;
}

.form {
  background-color: rgba(212, 208, 208, 0.329);
  border: rgb(0, 0, 0) 4px solid;
  /* newStyle */
  background-color: rgb(66 66 66 / 28%);
  border-right: #000 8px solid;
  border-bottom: #000 8px solid;
  border-radius: 20px;
  box-sizing: border-box;
  padding: 20px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background-color: #282a3a;
  /* newTechStyle */
  background-color: #131520;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: radial-gradient(
    circle at top center,
    #222222 0%,
    #1b1b1b 60%,
    #161616 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.04),
    0 6px 12px rgba(0, 0, 0, 0.5);
  background-color: none;
  background: none;
  border: none;
  box-shadow: none;
  z-index: 2;
}

.title {
  color: #000000;
  font-size: 4.2rem;
  font-weight: 600;
  margin-top: 30px;
  text-align: center;
  /* newStyle */
  color: #a7668b;
  /* text-shadow: black -4px 2px; */

  color: #f3f4f8;
  font-weight: 800;
  /* new techstyle */
  background: linear-gradient(135deg, #3f3fff, #b82db8);
      background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: #000000;
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
  /* newStyle */
  color: #cc7caa;
  text-shadow: black -2px 2px;
  color: #d2d4da;
  font-weight: 600;
}

.input-container {
  height: 50px;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.ic1 {
  margin-top: 40px;
}

.ic2 {
  margin-top: 30px;
}
a:active,
a:visited,
a:active,
a:hover,
a {
  color: #ffffff;
}

.input {
  background-color: rgb(122, 75, 101);
  border-radius: 12px;
  border: 0;
  border: rgb(0, 0, 0) 4px solid;
  box-sizing: border-box;
  color: #ffffff;
  font-size: 18px;
  height: 100%;
  outline: 0;
  padding: 4px 20px 0;
  width: 100%;
  font-family: "kanit", sans-serif;
  /* newStyle */
  background-color: #5b5d6b;
  /* new Techstyle */
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  background-color: #1e1e2f;
  border: 1px solid #3c3c4f;
  border-radius: 12px;
  font-size: 16px;
  color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cut {
  background-color: #15172b;
  border-radius: 10px;
  height: 20px;
  left: 20px;
  position: absolute;
  top: -20px;
  transform: translateY(0);
  transition: transform 200ms;
  width: 100px;
}

.cut-short {
  width: 65px;
}

.iLabel {
  color: #65657b;
  left: 20px;
  line-height: 14px;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms;
  top: 20px;
  /*  */
  font-weight: 500;
}

.input:focus ~ .cut,
.input:not(:placeholder-shown) ~ .cut {
  transform: translateY(8px);
}

.input:focus ~ .iLabel,
.input:not(:placeholder-shown) ~ .iLabel {
  transform: translateY(-30px) translateX(10px) scale(0.75);
}

.input:not(:focus) ~ .iLabel {
  /* color: #808097; */
  color: #f3f4f8;
}

.input:focus ~ .iLabel {
  color: #dc2f55;
}

.submit {
  background-color: rgb(0, 0, 0);
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 2rem;
  height: 50px;
  margin-top: 1rem;
  text-align: center;
  width: 100%;
  font-family: "kanit", sans-serif;
  /* newStyle */
  text-shadow: black -4px 2px;
  border: #777986 solid 3px;
  border-right: solid #777986 7.5px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: linear-gradient(90deg, #000000bd, 82%, #404252);
  transition: all 0.3s ease;
  font-weight: 700;
  /* new techstyle */
  background: linear-gradient(135deg, #3f3fff, #b82db8);
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
color: #f3f4f8;
  border: none;
  box-shadow: var(--box-shadow-dark);
  box-shadow: 0 8px 24px rgba(162, 91, 255, 0.3);
  transition: all 0.25s ease;
  text-shadow: none;
  z-index: 1;
}

.submit:active {
  background-color: #06b;
}
.submit:hover{ transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 6px 20px rgba(162, 91, 255, 0.5) !important; } 

.buttons-container {
  width: 100%;
  display: flex;

  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 20px;
  gap: 15px;
}

.apple-login-button,
.google-login-button {
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  padding: 10px 15px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  height: 50px;
  min-width: 100%;
  /* gap: 5px; */
}

.apple-login-button {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
}

.google-login-button {
  border: 2px solid #000000;
  background-color: #ffffffa1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background-color: #2b2b3d;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.apple-icon,
.google-icon {
  font-size: 34px;
  padding: 2px 12px 0px 0px;
  /* margin-bottom: 1px; */
}
.anchor-container {
  width: 100%;
  display: flex;

  justify-content: center;
  align-items: center;
  /* margin-top: 10px; */
  gap: 20px;
  font-size: 20px;
}
.errMsg {
  color: red;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px auto;
  margin-bottom: 0;
  text-align: center;
  background-color: #e4a29f;
  width: fit-content;
  padding-left: 8px;
  padding-right: 8px;
  border: 3px red solid;
  border-radius: 12px;
}
.input.invalid {
  border: red 4px solid;
}
