/* page-3.css — sign-up page only (shared styles in base.css) */

body { font-family: "29lbukra", sans-serif; }

.login {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
}

.form1 input {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #000;
  padding: 0 10px;
  box-sizing: border-box;
}

.form1 input:focus {
  outline: none;
  border-color: #46348B;
}

.file-upload-group {
  width: 988px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.file-upload-box {
  width: 100%;
  border: 1px dashed #46348b;
  border-radius: 11px;
  padding: 12px 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  direction: ltr;
}

.file-input-hidden { display: none; }

.file-upload-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #46348b;
  color: #fff;
  border-radius: 8px;
  padding: 11px 18px;
  cursor: pointer;
  font-family: "29lbukra";
  font-size: 18px;
  white-space: nowrap;
}

.file-upload-name {
  flex: 1;
  min-width: 0;
  background: #f7f5ff;
  border: 1px solid #d3caee;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: "29lbukra";
  font-size: 18px;
  color: #4a4a4a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-hint {
  color: #6a6a6a;
  font-family: "29lbukra";
  font-size: 14px;
  white-space: nowrap;
}

.flex-form {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.space { margin-bottom: 50px; }

.login .lab1,
.login .lab2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 340px;
}

.butt1 {
  /* width: 262px; */
  padding: 15px;
  height: 65px;
  border: none;
  background-color: #46348B;
  border-radius: 11px;
  color: white;
  font-family: "29lbukra";
  font-weight: 400;
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 0%;
  margin-top: 20px;
  margin-bottom: 46px;
}

.element1 {
  font-family: "29lbukra";
  font-size: 21px;
  line-height: 40px;
  text-align: center;
  font-weight: 300;
  color: #000;
}

.element2 {
  font-family: "29lbukra";
  font-size: 21px;
  line-height: 40px;
  text-align: center;
  font-weight: 300;
  color: #000;
}

.element4 {
  font-family: "29lbukra";
  font-weight: 400;
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #000;
}

.element4 a { color: #000; }

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #000;
  font-family: "29lbukra";
  font-weight: 400;
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 0%;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #999;
}

.divider::before { margin-right: 10px; width: 336px; height: 0; border-width: 1px; }
.divider::after  { margin-left: 10px;  width: 336px; height: 0; border-width: 1px; }

#mail {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border-width: 1px;
  border-color: #000;
  padding: 0 5px;
}

#pass {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border-width: 1px;
  border-color: #000;
  padding: 0 5px;
}

input {
  background: transparent;
  font-size: 17px;
  font-family: "29lbukra";
}

/* ── Password toggle ── */
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input { padding-right: 42px !important; }

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #46348B;
  cursor: pointer;
  font-size: 18px;
}

/* ── Validation ── */
.field-error {
  display: block;
  width: 100%;
  margin-top: 6px;
  color: #dc3545;
  font-size: 13px;
  line-height: 1.4;
  font-family: "29lbukra", sans-serif;
  text-align: right;
}

.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12) !important;
}

#toast-container > .toast {
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(31, 22, 53, 0.2) !important;
  font-family: "29lbukra", sans-serif !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) and (min-width: 768px) {
  #mail, #pass { width: 380px; left: auto; top: auto; }
  .file-upload-group { width: 780px; }
  .butt1 { width: 220px; }
  .divider::before, .divider::after { width: 336px; border-width: 1px; }
}

@media (max-width: 767px) {
  .login { padding: 20px 16px; box-sizing: border-box; width: 100%; }
  .flex-form { flex-direction: column; align-items: center; }
  .form1 .flex-form { width: 100%; gap: 8px; }
  .login .lab1, .login .lab2 { width: 100%; }
  #mail, #pass { width: 100%; max-width: 100%; height: 52px; left: auto; top: auto; box-sizing: border-box; }
  .file-upload-group { width: 100%; align-items: flex-end; }
  .file-upload-box { flex-wrap: wrap; }
  .file-upload-name { width: 100%; }
  .file-upload-hint { width: 100%; text-align: right; }
  .butt1 { width: 100%; max-width: 100%; height: 52px; top: auto; left: auto; font-size: 18px; margin-bottom: 24px; }
  .element1, .element2 { font-size: 18px; line-height: 32px; }
  .element4 { font-size: 16px; line-height: 32px; text-align: center; }
  .divider { font-size: 16px; width: 100%; }
  .divider::before, .divider::after { width: auto; flex: 1; }
}
