/* —————————————————————————— */
/* autofill detection hack */
/* —————————————————————————— */
@keyframes onAutoFillStart { from {} to {} }

/* when Chrome autofills, it will fire an animation event */
input:-webkit-autofill {
  animation-name: onAutoFillStart;
  animation-duration: 0.01s;
  animation-iteration-count: 1;
}

.form-group {
  position: relative;
  margin: 1.5rem 0 1rem;
}
.form-group input {
  width: 100%;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: transparent;
  font-weight: 300;
  font-size: 14px;
  color: #252525;
}
.form-group input:focus {
  outline: none;
  border-color: #007bff;
}
.form-group input + label {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 0 0.25rem;
  color: #9e9c9c;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 3;
  font-size: 14px;
}
/* float on focus, real-value or autofill */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group input.filled   + label,
.form-group input:-webkit-autofill + label {
  top: -2px;
  font-size: 0.69rem;
  color: #8a8a8a;
  font-weight: 300;
  background: #fff;
}


#login-form .form-control-label { font-weight: 500;}
#login-form .form-control-label::after { content: '*'; color: #f90505; padding-left: 4px;}
form .form-control {border-radius: 12px;}
form .input-group .form-control {width: 100%;}
form .form-group {
  margin-bottom: 0rem;
}
.tvall-inner-btn {width: unset !important; border-radius: 12px !important;padding: 13px 19px; margin-top:33px}
.tvall-inner-btn span {text-transform: unset; font-size: 17px}

form .show-password {
    font-size: 0; overflow: hidden; position: absolute;
}
/* when the password is hidden (type="password") */
form .js-visible-password[type="password"] ~ .show-password {
  background: url(/img/icons/eye-43-32-hide.png) right 13px no-repeat;
  height: 34px;
  right: 11px;
  z-index: 99;
  opacity: 0.2;

}
/* when the password is visible (type="text") */
form .js-visible-password[type="text"] ~ .show-password {
  background: url(/img/icons/eye-43-32.png) right 13px no-repeat;
  height: 34px;
  right: 11px;
  z-index: 99;
}
form .input-group .form-control:not(:last-child) {
  border-bottom-right-radius: 12px;
  border-top-right-radius: 12px; 
}
form .form-control ,  form .input-group { width: 100%; background: #fff;   border-radius: 12px; }
 
#authentication .forgot-password { text-align: left; padding: 17px 0 0 0;}
 
#authentication .tvprduct-image-info-wrapper .no-account{ display: none;}

#authentication .tvprduct-image-info-wrapper {
    
    width: 100%; display: flex;
  justify-content: center; /* wyrównanie do środka */
  gap: 50px; /* odstęp między boxami, opcjonalny */
  margin: 50px 0 50px 0;
}
#authentication .order .tvprduct-image-info-wrapper {gap: 20px;}
.a-icon {
    background: url(/img/icons/a-icon.png) left 0px no-repeat;
  height: 28px;
  width: 28px;
 
}
.g-icon {
    background: url(/img/icons/g-icon.png) left 0px no-repeat;
  height: 28px;
  width: 28px;
 
}
.f-icon {
    background: url(/img/icons/f-icon.png) left 0px no-repeat;
  height: 28px; 
  width: 28px;

}

.order .left1pro_log {order: 3}
.order .left2pro_log {order: 2}
.order .left3pro_log {order: 1}
.order .tvall-login-btn.bezre { background-color: #000; border:1px solid #000; }
.order .tvall-login-btn.bezre:hover {color: #000; background-color: #c1c4c4;
  border: 1px solid #7f7f7f; }

.left1pro_log { padding: 0px 20px 15px 20px; width: 50%;}
.order .left1pro_log { border-left: 1px solid #bababa;}
.left2pro_log { padding: 0px 20px 15px 70px; width: 50%; border-left: 1px solid #bababa;} 
.left3pro_log { padding: 0px 20px 15px 20px; width: 50%;} 
.ulwhy li{ padding: 7px 10px;}
#authentication .tvprduct-image-info-wrapper {flex-direction: row; gap:0px}

@media (min-width: 481px) and (max-width: 768px) {
		#authentication .order .tvprduct-image-info-wrapper {
			flex-direction: column;
		}
}

/* małe urządzenia - np. większość smartfonów w pionie */
@media (min-width: 0px)  and (max-width: 480px) {
	.ulwhy li{ padding: 7px 0px;}
	#authentication .order .tvprduct-image-info-wrapper {
	  gap: 0px;
	}
	#authentication .tvprduct-image-info-wrapper {flex-direction: column; gap:0px}
	#authentication .leftmargin {padding: 0 8px 0 8px}

	.order .left1pro_log {order: 3}
	.order .left2pro_log {order: 2}
	.order .left3pro_log {order: 1}
#authentication  .left1pro_log {order: 2}
#authentication .left2pro_log {order: 1}


	.order .left1pro_log { border-left: 0px solid #bababa; border-top: 1px solid #bababa;}
	.left1pro_log { padding: 0px 8px 15px 8px; width:100%}
	.left2pro_log { padding: 0px 20px 15px 70px; width:100%; border-left: 0px solid #bababa;} 
	.left3pro_log { padding: 0px 20px 15px 20px; width:100%; border-top: 1px solid #bababa;} 
	.login-list h3, .login-form h3 {display:none;}

	#authentication .tvprduct-image-info-wrapper {margin: 0 0 0 0;}
	.lig3 {display:none; font-size: 14px !important;}

	.login-form{ 
	  background: #fff;
	  padding: 10px 15px 20px 15px;
	  border-radius: 15px;
	}
	.login-form {
	  margin: 8px 0!important;
	}
	.form-group {
	  position: relative;
	  margin: 0.5rem 0 0.5rem;
	   
	}

	.form-group  label[for="field-email"] {top: 45%;}

	form .tvall-inner-btn {
	  width: unset;
	  border-radius: 12px;
	  padding: 13px 19px;
	  margin-top: 10px;
	}
	.tvall-login-btn {width: 100%; text-align: center; }
	.tvall-inner-btn {width: 100%!important; text-align: center; }
	  /* 361px - 480px (np. iPhone SE, Galaxy S) */
}



.name-row {
  display: flex;
  gap: 1rem;            /* space between them */
  width:100%;
}

.name-row .form-group {
  flex: 1;              /* each takes equal width */
  min-width: 0;         /* prevents overflow of long content */
}

/* Optional: make them stack on very small screens */
@media (max-width: 576px) {
  .name-row {
    flex-direction: column;
  }
}

.pw-req-box {
  position: absolute;
  top: 100%;            /* right below the input */
  left: 0;
  width: 260px;
  margin-top: 8px;
  padding: 12px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
}
.pw-req-box ul {
  margin: 4px 0 8px;
  padding-left: 20px;
}
.pw-req-box li {
  position: relative;
  margin-bottom: 4px;
}
.pw-req-box li.valid::before {
  content: "✓";
  position: absolute;
  left: -20px;
  color: green;
  font-weight: bold;
}
.pw-req-box li::before {
  content: "○";
  position: absolute;
  left: -20px;
  color: #999;
}
.small {
  font-size: 0.8em;
  margin: 6px 0 0;
}

