.header {
  font-family: var(--font-varela);
  font-weight: var(--font-weight-normal);
  font-style: normal;
  font-size: 52px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: var(--main-black);
  margin-bottom:20px;
  text-shadow: 4px 4px 4px var(--black-border);
}
.wikethesa {
  font-family: var(--font-varela);
  font-weight: var(--font-weight-normal);
  font-style: normal;
  font-size: 65px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: var(--main-black);
  margin-bottom:30px;
  text-shadow: 4px 4px 4px var(--black-border);
}

.register-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  margin-top:-80px;
}

a{
  text-decoration:none !important;
}

.register-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.register-field-wrapper {
  position: relative;
  width: 550px;
  height: 68px;
  border-radius: 20px;
  background-color: var(--main-white);
  box-shadow: 4px 4px 4px 0 rgba(154, 20, 176, 0.5);
  overflow: visible;
}

.register-fields input,
.password-wrapper input {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
  background-color: transparent;
  font-family: var(--font-hebrew);
  font-weight: var(--font-weight-normal);
  font-size: 18px;
  color: var(--main-black);
  padding-left: 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  border-bottom: solid 1px var(--pruple-border);
}

.register-fields input::placeholder,
.password-wrapper input::placeholder {
  color: var(--main-black);
  opacity: 1;
}

.register-fields input:focus,
.register-fields input:not(:placeholder-shown),
.password-wrapper input:focus,
.password-wrapper input:not(:placeholder-shown) {
  outline: none;
  background-color: var(--main-white) !important;
}

.register-field-google {
  position: relative;
  width: 550px;
  height: 68px;
  border-radius: 20px;
  background-color: var(--main-white);
  box-shadow: 4px 4px 4px 0 rgba(154, 20, 176, 0.5);
  overflow: visible;
  border-bottom: 2px solid var(--pruple-border);
  cursor: pointer;
  margin-bottom: 80px;
}

.res {
  display: none;
  min-width: 220px;
  max-width: 100%; 
  height: 64px;
  background-color: rgba(123, 93, 203, 1);
  border-radius: 100px;
  filter: drop-shadow(-6px 6px 4px rgba(0, 0, 0, 0.25));
  font-family: var(--font-hebrew);
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  color: #FFFFFF;
  border:4px solid rgba(255, 255, 255, 1);
  padding: 0 24px; 
  box-sizing: border-box;
  white-space: nowrap; 
  width: fit-content; 
  align-items: center;
  justify-content: center;
}

.google-content {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between; 
  direction: rtl;
}
.google-link {
  display: flex;
  align-items: center;  
  justify-content: space-between; 
  width: 100%;
  height: 100%;
  padding: 0 15px 0 35px; 
  box-sizing: border-box;
  direction: ltr; 
  text-decoration: none;
}

.google-text {
  font-family: var(--font-hebrew);
  font-size: 18px;
  color: var(--main-black);
  text-align: right;
  margin-left: 10px; 
  white-space: nowrap; 
}

.google-img {
  width: 28px;
  height: 28px;
  margin-right: 10px; 
}


.password-wrapper {
  position: relative;  
  width: 550px;
  height: 68px;
  border-radius: 20px;
  background-color: var(--main-white);
  box-shadow: 4px 4px 4px 0 rgba(154, 20, 176, 0.5);
  overflow: visible;
}

.toggle-password {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  z-index: 3;
}

.password-look {
  margin-left: 30px;
}

.rules {
  font-family: var(--font-poppins);
  font-weight: var(--font-weight-normal);
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: right;
  display: flex;
  align-items: center;
  color:var(--main-black);
}

.no-account {
  font-family: var(--font-poppins);
  font-weight: var(--font-weight-normal);
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: right;
  display: flex;
  align-items: center;
  color: var(--main-black); 
  margin-bottom:20px;
}

.rules-strong {
  font-family: var(--font-poppins);
  font-weight: var(--font-weight-bold);
  font-style: bold;
  color:var(--main-black);
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: right;
  display: flex;
  align-items: center;
  margin-right: 5px;
}

.contributor-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  align-self: flex-start;
  padding-right:5px;
}

.contributor-wrapper input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(108, 108, 108, 1);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  background-color: var(--main-white); 
}

.contributor-label-text {
  font-family: var(--font-hebrew);
  font-weight: var(--font-weight-normal);
  font-size: 16px;
  font-style: normal;
  line-height: 100%;
}

#contributor {
  width:20px;
  height:20px;
}

.contributor-wrapper input[type="checkbox"]:checked + .checkbox-custom {
  background-color: var(--pruple); 
  border-color: var(--pruple); 
}

.contributor-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  border: solid var(--main-white);
  border-width: 0 3px 3px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.image-upload-container {
  width: 300px;
  height: 250px;
  border: 2px solid #9747FF;
  border-radius: 20px;
  display:flex;
  flex-direction:column;
  gap:8px;
  justify-content:center;
  margin-bottom:40px;
  padding:4px;
  align-items:center;
  cursor:pointer;
}

.circle {
  border-radius:50%;
  border:1px solid rgba(154, 20, 176, 1);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  width: 128px;
  height: 128px;
  margin-bottom:3px;
}

.drag_drop {
  height: 24px;
  font-family: var(--font-hebrew);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #000000;
  text-decoration-line: underline;
}

#drag_drop2 {
  text-decoration-line: underline;
  text-decoration-color: #497EF0;
}

#drag_drop3 {
   color: #497EF0;
   font-weight: 600;
   text-decoration-color: #497EF0;
   text-decoration-line: underline;
}

.max_file {
  width: 308px;
  height: 19px;
  font-family: var(--font-hebrew);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
  text-align: center;
  color: #6C6C6C;
}



.or {
  font-family: var(--font-hebrew);
  font-weight: var(--font-weight-normal);
  font-size: 22px;
  color: var(--pruple-less);
  font-style: normal;
  line-height: 100%;
  margin-bottom: 20px;
}

#reg_submit_button {
  color: var(--main-white);
  background-color: var(--pruple);
  box-shadow: -4px 6px 6px var(--black-border);
  width: 250px;
  height: 68px;
  border-radius: 100px;
  border: none;
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-hebrew);
  font-size:22px;
}

.success-wrapper {
  display: none;  
  justify-content: flex-end;
  padding-right:35px;
  gap:15px;
  margin-bottom:10px;
  align-items: center;
  width: 300px;
  height: 48px;
  border-radius: 20px;
  background-color: var(--main-white);
  overflow: visible;
}

.error-wrapper {
  display: none;  
  justify-content: flex-end;
  padding-right:25px;
  gap:15px;
  margin-bottom:10px;
  align-items: center;
  width: 300px;
  height: 48px;
  border-radius: 20px;
  background-color: var(--main-white);
  overflow: visible;
}

#error-login {
  color: var(--red-error);
  font-family: var(--font-hebrew);
  font-weight: var(--font-weight-bold);
  font-size: 16px;
  font-style: bold;
  line-height: 100%;
}

.login-message {
  display:flex;
  gap:15px;
  align-items: center;
  direction: ltr;
}

.loader {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  display:none;
}

.spinner {
  width: 90px;
  height: 90px;
  border: 11px solid rgba(255, 255, 255, 1);
  border-right-color: rgba(217, 217, 217, 1); 
  border-radius: 50%;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
}


.loader-text {
  position: absolute;
  z-index: 2;
  color: rgba(0, 0, 0, 1);
  font-family: var(--font-varela);
  font-weight: var(--font-weight-normal);
  font-size: 18px;
  text-align: center;
  padding: 0 10px;
  direction: rtl;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.google-img {
  width: 28px;
  height: 28px;
}

.google-text {
  font-family: var(--font-hebrew);
  font-size: 18px;
  color: var(--main-black);
  white-space: nowrap;
}

.lang-en .password-wrapper .toggle-password,
.lang-de .password-wrapper .toggle-password{
  left: auto;
  right: 10px;
}

.lang-en .password-look,
.lang-de .password-look{
  margin-left: 0;
  margin-right: 30px;
}

.lang-en .google-content,
.lang-de .google-content{
  direction: ltr;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 10px;
}
.lang-en .google-link,
.lang-de .google-link {
  display: flex;
  align-items: center;  
  justify-content: space-between; 
  width: 100%;
  height: 100%;
  padding: 0 35px 0 15px; 
  box-sizing: border-box;
  direction: ltr; 
  text-decoration: none;
}
.lang-en .register-fields input,
.lang-en .password-wrapper input,
.lang-de .register-fields input,
.lang-de .password-wrapper input {
    text-align: left;
    direction: ltr;
}

.lang-en .register-fields input::placeholder,
.lang-de .register-fields input::placeholder {
    text-align: left;
    direction: ltr;
}
.lang-de .contributor-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    user-select: none;
    align-self: flex-end;
    padding-left: 10px;
  flex-direction: row-reverse;
}