@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

::selection{
  background: #4158d0;
  color: #fff;
}

   .popup {
            position: fixed;
            left: 50%;
            top: -100px;
            transform: translate(-50%, 0);
            padding: 20px;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            z-index: 105;
            transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s;
			
	   
        }
        .popup.active {
            top: 50%;
            transform: translate(-50%, -50%);
            opacity: 1;
            visibility: visible;
        }

.popup_register {
            position: fixed;
            left: 50%;
            top: -100px;
            transform: translate(-50%, 0);
            padding: 20px;
            z-index: 105;
            opacity: 0;
            visibility: hidden;
            transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s;
			
	   
        }
        .popup_register.active {
            top: 50%;
            transform: translate(-50%, -50%);
            opacity: 1;
            visibility: visible;
        }

        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
			  z-index: 105;
        }   

.overlay_register {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
			  z-index: 105;
        }

.wrapper{
  width: 380px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
	z-index: 101;
	position: relative;
}
.wrapper .title{
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  line-height: 50px;
  color: #fff;
  user-select: none;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(-135deg, #c850c0, #4158d0);
}
.wrapper form{
  padding: 10px 30px 50px 30px;
}
.wrapper form .field{
  height: 50px;
  width: 100%;
  margin-top: 20px;
  position: relative;
}
.wrapper form .field input{
  height: 100%;
  width: 100%;
  outline: none;
  font-size: 17px;
  padding-left: 20px;
  border: 1px solid lightgrey;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.wrapper form .field input:focus,
form .field input:valid{
  border-color: #4158d0;
}

.wrapper form .field select {
    height: 100%;
    width: 100%;
    outline: none;
    font-size: 17px;
    padding-left: 20px;
    border: 1px solid lightgrey;
    border-radius: 25px;
    transition: all 0.3sease;
}
.wrapper form .field select:focus,
form .field select:valid{
  border-color: #4158d0;
}

.wrapper form .field label{
  position: absolute;
  top: 50%;
  left: 20px;
  color: #999999;
  font-weight: 400;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

form label {
  cursor: pointer; /* Tıklanabilir gösterge */
}


form .field input:focus ~ label,
form .field input:valid ~ label{
  top: 0%;
  font-size: 16px;
  color: #4158d0;
  background: #fff;
  transform: translateY(-50%);
}
form .content{
  display: flex;
  width: 100%;
  height: 50px;
  font-size: 16px;
  align-items: center;
  justify-content: space-around;
}
form .content .checkbox{
  display: flex;
  align-items: center;
  justify-content: center;
}
form .content input{
  width: 15px;
  height: 15px;
  background: red;
}
form .content label {
    color: #262626;
    user-select: none;
    padding-left: 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
}
form .content .pass-link{
  color: "";
}
form .field input[type="submit"]{
  color: #fff;
  border: none;
  padding-left: 0;
  margin-top: -10px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(-135deg, #c850c0, #4158d0);
  transition: all 0.3s ease;
}
form .field input[type="submit"]:active{
  transform: scale(0.95);
}
form .signup-link{
  color: #262626;
  margin-top: 20px;
  text-align: center;
}
form .pass-link a,
form .signup-link a{
  color: #4158d0;
  text-decoration: none;
}
form .pass-link a:hover,
form .signup-link a:hover{
  text-decoration: underline;
}

.form-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #334E5E;
    margin-bottom: 32px;
    position: relative;
    text-align: center;
}

 .go-back {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
}

#closePopup {
    position: absolute;
    top: 32px;
    right: 30px;
    z-index: 999;
}

#closePopup_register {   
    position: absolute;
    top: 32px;
    right: 30px;
    z-index: 999; }


/* Eye icon - gizleme ve gösterme ikonu */
.eye-icon {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 18px;
    color: #666;
}

/* Field'in container'ı */
.field {
    position: relative;
    margin-bottom: 15px;
}

/* Şifreyi gizlemek için */
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Şifreyi göstermek için */
input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
	 
	 .error-message {
        color: red;
        font-size: 13px;
        margin-top: 5px;
        margin-bottom: 5px;
        display: none;
    }

</style>

<style>
    .input-container {
        position: relative;
        display: inline-block;
    }

.error-tooltip {
    position: absolute;
    bottom: -18px;
    left: 0;
    background: #ff4d4d;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 10px;
    white-space: nowrap;
    display: none;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

    .error-tooltip::after {
        content: "";
        position: absolute;
        top: 50%;
        left: -5px;
        transform: translateY(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: transparent #ff4d4d transparent transparent;
    }	


.error-tooltipuser {
    position: absolute;
    bottom: -18px;
    left: 0;
    background: #ff4d4d;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 10px;
    white-space: nowrap;
    display: none;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

    .error-tooltipuser::after {
        content: "";
        position: absolute;
        top: 50%;
        left: -5px;
        transform: translateY(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: transparent #ff4d4d transparent transparent;
    }