.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:20px;
  text-shadow: 4px 4px 4px var(--black-border);
}

a {
  text-decoration:none !important;
}

.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: rgba(30, 30, 30, 1);
  text-shadow: 4px 4px 4px var(--black-border);
  margin-bottom: 30px;
}

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

.field-wrapper input:focus,
.field-wrapper select:focus,
.field-wrapper textarea:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.field-wrapper input:not(:placeholder-shown) {
  outline: none;
  background-color: var(--main-white) !important;
} 

.submission-form,
.submission-wrapper {
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap:10px;
}

.submission-form {
    gap:12px;
}

.upload-box {
  width: 542px;
  height: 156px;
  margin: 32px auto 30px;
  padding: 20px;
  border-radius: 20px;
  background-color: transparent;
  color: #555;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  border: 2px dashed #7B5DCB;
  filter: drop-shadow(-6px 6px 6px rgba(154, 20, 176, 0.25));
}

#afterUpload {
  display:none;
  width: 542px;
  height: 156px;
  margin: 32px auto 30px;
  padding: 20px;
  border-radius: 20px;
  background-color: transparent;
  color: #555;
  position: relative;
  cursor: pointer;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  border: 2px dashed #7B5DCB;
  filter: drop-shadow(-6px 6px 6px rgba(154, 20, 176, 0.25));
}

#languageSelectorForm,
#fieldSelector {
  appearance: none;        
  -webkit-appearance: none; 
  -moz-appearance: none;    
}

.drag_drop_after,
.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_after,
#drag_drop2 {
  text-decoration-line: underline;
  text-decoration-color: #497EF0;
}

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

.max_file_after,
.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;
}


.field-wrapper {
  position: relative;
  align-items: center;
  display:flex;
  width: 550px;
  height: 68px;
  border-radius: 20px;
  background-color: var(--main-white);
  box-shadow: 6px 4px 6px 0 rgba(154, 20, 176, 0.5);
  border-bottom:3px solid rgba(123, 93, 203, 1);
  overflow: visible;
}

#inputAbstract {
  width: 100%;
  min-height: 40px;
  font-size: 18px;
  line-height: 1.4;
  text-align: right;
  padding: 10px 30px;
  box-sizing: border-box;
  resize: none;
  direction: rtl;
  overflow: hidden;
  background-color: transparent;
  font-family: var(--font-hebrew);
  color: var(--main-black);
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

#inputAbstract:focus,
#inputAbstract:not(:placeholder-shown) {
  min-height: 80px;
  padding: 10px 30px;
  line-height: 1.4;
}

#inputAbstract::placeholder {
  color: var(--main-black);
  font-family: var(--font-hebrew);
  opacity: 1;
  text-align: right;
}

#Abstract {
  transition: height 0.3s ease;
}

textarea:focus::placeholder {
  opacity: 0;
}

.loader {
  position: relative;
  width: 100px;
  height: 100px;
  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); }
}

.field-wrapper input::placeholder {
  color: var(--main-black);
  opacity: 1;
  right:20px;
  font-family: var(--font-hebrew);
}

.field-wrapper input:not(.circle-checkbox):not([type="radio"]),
.field-wrapper select,
.field-wrapper textarea {
  flex-grow: 1;
  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: 30px;
  padding-right: 30px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  outline: none;
}

.radio-label {
  font-family: var(--font-hebrew);
  font-weight: var(--font-weight-normal);
  font-size: 18px;
  margin-left: auto;
  width:150px;
  margin-bottom: 5px;
  color: var(--main-black);
  margin-right:30px;
  white-space: nowrap;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-hebrew);
  font-size: 18px;
  color: var(--main-black);
  position: relative;
}

.promot-container {
  margin-top:20px;
  margin-right: -250px
}

.promot2,
.promot1,
.star {
  font-family: var(--font-hebrew);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
  color:rgba(77, 66, 66, 1);
}

.bold_promot {
  color:rgba(0, 0, 0, 1);
  font-family: var(--font-hebrew);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
}


.header-language {
  display:flex;
  gap:7px;
}

.language-img {
  width:18px;
  height:18px
}
.checkbox-container {
  display:flex;
  gap:10px;
  align-items:center;
}

input[type="checkbox"]:not(.circle-checkbox) {
  width: 24px;
  height: 24px;
  accent-color: var(--pruple); 
  cursor: pointer;
}



.radio-item input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #9A14B0; 
  border-radius: 50%;
}

.checkbox-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.circle-checkbox {
  opacity: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}

.inner-circle {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(217, 217, 217, 1);
  border-radius: 50%;
  background-color: white;
  display: inline-block;
  position: relative;
}

.radio-item input[type="radio"]:checked + .inner-circle {
  background-color: #9A14B0; /* הצבע כשמסומן */
  border-color: #9A14B0;
}

.star {
    color: #FA1616;
  	margin-right:40px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: var(--main-black);
}

.radio-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(217, 217, 217, 1);
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  position: relative;
}


.span-field {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

#submitButton {
  color: var(--main-white);
  background-color: var(--pruple);
  box-shadow: -4px 6px 6px rgba(0, 0, 0, 0.3);
  width: 220px;
  height: 68px;
  border-radius: 100px;
  border: none;
  font-weight: var(--font-weight-medium);
  font-family: var(--font-hebrew);
  font-size:20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;   
  width: 200px;
  margin-top:40px;
  margin-bottom:40px;
}

#previewButton {
  color: var(--pruple);
  background-color: rgba(174, 202, 226, 1);
  box-shadow: -4px 6px 6px rgba(0, 0, 0, 0.3);
  width: 220px;
  height: 68px;
  border-radius: 100px;
  border: none;
  font-weight: var(--font-weight-medium);
  font-family: var(--font-hebrew);
  font-size:20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;   
  width: 200px;
  margin-top:40px;
  margin-bottom:40px;
}

.radio-group {
  display:flex;
  gap:50px;
}
.file-container {
  display:flex;
  align-items: center; 
  gap:5px;
}

.file-name {
  height: 22px;
  font-family: 'Noto Sans Hebrew';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  text-decoration-line: underline;
  color: #497EF0;
}

.button-container-form {
  display:flex;
  width: 100%;
  justify-content: center;
}
.upload-field {
  margin-left: 30px;
}
.upload-file,
.upload-file_after {
  width:30px;
  height:30px;
}

.lang-en .span-field,
.lang-de .span-field {
  left: auto;
  right: 10px;
}

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

.lang-en #inputAbstract,
.lang-de #inputAbstract {
  direction: ltr;
  text-align: left;
  padding-left: 30px;
  padding-right: 30px; 
}

.lang-en .promot-container,
.lang-de .promot-container {
    margin-top: 20px;
    margin-left: -430px;
}

.lang-en .star-wrap,
.lang-de .star-wrap {
  margin-left:43px;
}

.lang-en .button-container,
.lang-de .button-container {
  direction: rtl;
}

.lang-en .star,
.lang-de .star {
    color: #FA1616;
    margin-right: 7px;
}

.lang-en .radio-label,
.lang-de .radio-label {
  font-family: var(--font-hebrew);
  font-weight: var(--font-weight-normal);
  font-size: 18px;
  width: 150px;
  margin-bottom: 5px;
  color: var(--main-black);
  margin-right: 30px;
  margin-left: 30px;
  white-space: nowrap;
}

.lang-en .field-wrapper input:not(.circle-checkbox):not([type="checkbox"]):not([type="radio"]),
.lang-en .field-wrapper textarea,
.lang-en .field-wrapper select,
.lang-de .field-wrapper input:not(.circle-checkbox):not([type="checkbox"]):not([type="radio"]),
.lang-de .field-wrapper textarea,
.lang-de .field-wrapper select {
  padding-left: 30px;
  padding-right: 60px;
  direction: ltr;
  text-align: left;
}

.lang-en .view .preview-field,
.lang-de .view .preview-field {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
}

.lang-en .preview-field,
.lang-en .preview-label,
.lang-en .preview-value,
.lang-en .preview-inline-values,
.lang-de .preview-field,
.lang-de .preview-label,
.lang-de .preview-value,
.lang-de .preview-inline-values {
  direction: ltr !important;
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.lang-en #inputAbstract::placeholder,
.lang-de #inputAbstract::placeholder {
  text-align: left;
}

.lang-en .radio-group,
.lang-de .radio-group {
  display: flex;
  gap: 40px;
  width: 100%;
  padding: 10px 0;
  font-family: var(--font-hebrew);
}

/* עבור LTR */
.lang-en .field-wrapper,
.lang-de .field-wrapper {
    direction: ltr;
    flex-direction: row;
}

/* במידה ושפה LTR, העבר לצד ימין */
.lang-en .field-wrapper .span-field,
.lang-de .field-wrapper .span-field {
    right: 10px;
    left: auto;
}

.header-con {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 600px;
}

.text {
  font-size: 20px;
  width: 600px;
}
.header-form {
  font-size: 30px;
  color: #C1128E;
  font-weight: 700;
  text-align: center;
}

.lang-de .text, .lang-en .text {
  width: 680px;
}