/* ═══════════════════════════════════════════════
   KENGLIK YORDAMCHILARI
═══════════════════════════════════════════════ */
.w-40f  { width: 40%; }
.w-50f  { width: 50%; }
.w-60f  { width: 60%; }
.w-70f  { width: 70%; }
.w-80f  { width: 80%; }
.w-90f  { width: 90%; }
.w-100f { width: 100%; }


/* ═══════════════════════════════════════════════
   KIRISH KONTEYNER (#input-con)
═══════════════════════════════════════════════ */
#input-con {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 28px 20px 22px;
  border: 1px solid #e8eef4;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

/* Blur dekoratsiyalari */
#input-con .blur-circle {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
#input-con .circle1 { background: #7a3ded; top: 10%;  left: 8%;  }
#input-con .circle2 { background: #caa6ff; top: 58%;  left: 68%; }
#input-con .circle3 { background: #fca5ff; top: 28%;  left: 62%; }
#input-con .circle4 { background: #ff6b6b; top: 72%;  left: 18%; }


/* ═══════════════════════════════════════════════
   ESKI KIRISH MAYDONLARI (.input-pos)
═══════════════════════════════════════════════ */
.input-pos {
  margin: 20px 0;
  position: relative;
  height: 44px;
  width: 100%;
}

.input-pos #t_inp-p,
.input-pos #t_inp-n,
.input-pos #t_inp {
  color: #555;
  border-radius: 8px;
  height: 100%;
  width: 100%;
  border: 1.5px solid #d6e4f0;
  padding-left: 15px;
  outline: none;
  font-size: 15px;
  font-family: 'Comfortaa', cursive;
  background: #F8FBFE;
  transition: border-color .2s, box-shadow .2s;
}

#t_inp-p:focus,
#t_inp-n:focus,
#t_inp:focus {
  border-color: var(--b);
  box-shadow: 0 0 0 3px var(--inp-shadow);
  background: #fff;
}

/* Label animatsiyasi */
.input-pos .t_log_lab,
i.show {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.input_group i.show {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.input-pos .t_log_lab {
  left: 15px;
  pointer-events: none;
  color: #aabccc;
  font-size: 14.5px;
  transition: transform .18s, font-size .18s, color .18s;
}
i.show {
  padding: 4px;
  right: 10px;
  color: #a0b4c4;
  font-size: 16px;
  user-select: none;
  visibility: visible;
  cursor: pointer;
  transition: color .2s;
}
i.show:hover { color: var(--b); }

/* Label yuqoriga ko'tarilishi */
#t_inp-p:focus ~ .t_log_lab,
#t_inp-p:valid ~ .t_log_lab,
#t_inp-n:focus ~ .t_log_lab,
#t_inp-n:valid ~ .t_log_lab,
#t_inp:focus   ~ .t_log_lab,
#t_inp:valid   ~ .t_log_lab {
  transform: translateY(-34px);
  border-radius: 6px;
  background: white;
  font-size: 12px;
  color: var(--b);
  padding: 0 4px;
  font-weight: 600;
}

#t_inp-p:focus, #t_inp-p:valid,
#t_inp-n:focus, #t_inp-n:valid,
#t_inp:focus,   #t_inp:valid {
  border-color: var(--b);
}


/* ═══════════════════════════════════════════════
   LOGIN FORMA (YANGI USLUB)
═══════════════════════════════════════════════ */
.input_wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 16px 16px 12px;
  background: #fff;
  border: 1px solid #e8eef4;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(80, 112, 148, 0.09);
  box-sizing: border-box;
}

.input_group {
  position: relative;
  margin-bottom: 14px;
}

.input_wrap .t_inp {
  box-sizing: border-box;
  width: 100%; max-width: 100%; min-width: 100%;
  padding: 11px 40px 11px 14px;
  border: 1.5px solid #b0b0b0;
  border-radius: 8px;
  font-family: 'Comfortaa', cursive;
  font-size: 14.5px;
  font-weight: 400;
  color: #333;
  background: #F8FBFE;
  outline: none;
  height: auto;
  margin: 0;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.input_wrap .t_inp:focus {
  border-color: #507094;
  box-shadow: 0 0 0 3px rgba(80, 112, 148, 0.12);
  background: #fff;
}

.input_wrap .t_inp::placeholder { color: #b0b0b0; }


/* ═══════════════════════════════════════════════
   PAROLNI UNUTDIM
═══════════════════════════════════════════════ */
.forgot-link {
  text-align: center;
  margin: 16px 14px 4px;
  font-size: 14px;
  position: relative; z-index: 1;
}
.forgot-link a {
  color: #94a8b8;
  transition: color .2s;
}
.forgot-link a:hover { color: #507094; }


/* ═══════════════════════════════════════════════
   RO'YXATDAN O'TISH TUGMASI
═══════════════════════════════════════════════ */
.input-reg-a {
  display: block;
  margin: 10px 0 4px;
  border-radius: 8px;
  border: 1.5px solid #507094;
   background: #506070;
  text-align: center;
  transition: background .2s, box-shadow .2s;
  position: relative; z-index: 1;
}
.input-reg-a a {
  display: block;
  padding: 11px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  font-family: 'Comfortaa', cursive;
  transition: color .2s;
}
.input-reg-a:hover {
  background: #507094;
  box-shadow: 0 4px 14px rgba(80, 112, 148, 0.28);
}
.input-reg-a:hover a { color: #fff; }




/* ═══════════════════════════════════════════════
   SUBMIT TUGMASI
═══════════════════════════════════════════════ */

.submit {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 6px;
 background: var(--submit);
 color: #fff;
 padding: 9px 18px;
 font-weight: 700;
 font-family: 'Comfortaa', cursive;
 font-size: 14.5px;
 border-radius: 10px;
 border: none;
 outline: none;
 text-align: center;
 margin: 5px;
 cursor: pointer;
 user-select: none;
 -webkit-appearance: none;
 appearance: none;

 transition: filter .2s, transform .12s, box-shadow .2s;
 box-shadow: 0 3px 10px rgba(80,112,148,0.28);
}
.submit:hover {
 filter: brightness(1.12);
 box-shadow: 0 6px 16px rgba(80,112,148,0.36);
}
.submit:active  { transform: scale(.96); box-shadow: 0 2px 6px rgba(80,112,148,0.2); }
.submit:focus-visible { outline: 2px solid var(--b); outline-offset: 3px; }
.submit:disabled {
 opacity: 0.55;
 cursor: not-allowed;
 filter: none;
 box-shadow: none;
}



/* ═══════════════════════════════════════════════
   RO'YXATDAN O'TISH FORMLARI
═══════════════════════════════════════════════ */
.select {
  padding: 9px 14px;
  border: 1.5px solid #d6e4f0;
  border-radius: 8px;
  outline: none;
  background: #F8FBFE;
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  color: #555;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.select:focus {
  border-color: #507094;
  box-shadow: 0 0 0 3px rgba(80,112,148,0.12);
  background: #fff;
}

.forms {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  border-bottom: 1px solid #eef2f6;
  box-shadow: 0 2px 8px rgba(80,112,148,0.06);
}
.forms .textarea {
  background: var(--form);
  padding: 8px;
  margin-bottom: 6px;
  border-radius: 8px;
}

.msg {
  border-radius: 8px;
  outline: none;
  border: 1.5px solid #d6e4f0;
  width: 99.5%;
  height: 50px;
  padding: 8px;
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  color: #333;
  background: #F8FBFE;
  resize: none;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: inset 0 2px 5px rgba(80,112,148,0.06);
}
.msg:focus {
  border-color: #507094;
  box-shadow: 0 0 0 3px rgba(80,112,148,0.10);
  background: #fff;
}

.button.post {
  background: var(--button-post-b);
  color: white;
  padding: 6px 18px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-weight: 600;
  font-family: 'Comfortaa', cursive;
  cursor: pointer;
  transition: filter .2s, box-shadow .2s;
  box-shadow: 0 3px 10px rgba(80,112,148,0.2);
}
.button.post:hover {
  filter: brightness(1.1);
  box-shadow: 0 5px 14px rgba(80,112,148,0.3);
}

.input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--b);
  margin: 5px 2px;
  outline: none;
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  color: #333;
  background: #F8FBFE;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus {
  box-shadow: 0 0 0 3px rgba(80,112,148,0.12);
  background: #fff;
}


/* ═══════════════════════════════════════════════
   STATUS FORMA
═══════════════════════════════════════════════ */
.sts-form {
  background-color: white;
  padding: 12px;
  margin: 1px 0;
  border-radius: 8px;
}
.sts {
  width: 80%;
  padding: 10px 14px;
  border-radius: 50px;
  border: 1.5px solid #d6e4f0;
  outline: none;
  background-color: #f5f8fb;
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  color: #444;
  transition: border-color .2s, box-shadow .2s;
}
.sts:focus {
  border-color: #507094;
  box-shadow: 0 0 0 3px rgba(80,112,148,0.10);
  background: #fff;
}
.sts-btn {
  background-color: var(--sts-plus-b);
  color: white;
  padding: 10px 26px;
  border-radius: 50px;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 14px;
  transition: filter .2s, box-shadow .2s;
  box-shadow: 0 3px 10px rgba(80,112,148,0.22);
}
.sts-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 5px 14px rgba(80,112,148,0.32);
}
.sts-btn:active { transform: scale(.97); }


/* ═══════════════════════════════════════════════
   YUBORILMAGAN HOLAT
═══════════════════════════════════════════════ */
.no-submit,
.not-submit {
  background: white;
  padding: 10px;
  color: var(--b);
  text-align: center;
  border: 1px solid #e8eef4;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(80,112,148,0.07);
}
