body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Calibri;
}

#form{
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}



.tab-field{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 25px 0;
  width: 90%;
  margin-left: 5%;
  height: 40px;
  border: 1px solid gray;
  box-sizing: border-box;
}

.tab-field a{
  height: 101%;
  line-height: 40px;
  flex-grow: 1; 
  text-align: center;
  font-size: 12pt;
  text-decoration: none;
}

.tab-field a:nth-child(2){
  background-color: black;
  color: white;
}


.page-content{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  transition: opacity 0.5s;
}

.success-register-message{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 100px 0;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}

#form h2{
  width: 100%;
  text-align: center;
}

label{
  color: rgb(95, 95, 95);
  padding-left: 10px;
  font-size: 14px;
}

input[type="text"], input[type="password"], input[type="tel"], select{
  width: 100%;
  height: 35px;
  padding-left: 15px;
  box-sizing: border-box;
  border: 1px solid lightgray;
  margin-bottom: 15px;
  outline-color: lightslategray;
  margin-top: 5px;
}

.birthday-field{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.birthday-field .day{
  width: 90px;
}

.birthday-field .month{
  width: 160px;
}

.birthday-field .year{
  width: 120px;
}

#register-button{
  width: 100%;
  padding: 10px 12px;
  font-size: 11pt;
  margin: 15px 0;
}

.disabled-button{
  cursor: not-allowed;  
  background: gray;
}

.contract-field-container{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}


.contract-field-container .text-field{
  display: inline-block;
  width: calc(100% - 50px);
}


.phone-field-container{
  position: relative;
}

.phone-field-container span{
  position: absolute;
  top: 33.5px;
  left: 15px;
  font-family: Arial, Helvetica, sans-serif !important;
  color: black;
  font-size: 11pt !important;
}

.phone-field-container input{
  padding-left: 57px !important;
  font-size: 11pt !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.contract-field, .text-field{
  color: gray;
}

.contract-field a{
  color: gray;
} 
 


@media only screen and (min-width: 600px) {
  #form{
    width: 400px; 
  }
 

}




#message-field{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start; 
  box-sizing: border-box;
  margin-top: 15px;
}

.error-message{
  background-color: rgba(255, 152, 152, 0.596);
  padding: 15px;
}


.custom-checkbox{ 
	display: inline-block;
  width: 17px;
  height: 17px;
  position: relative;
  cursor: pointer;
  border: 1px solid rgb(50, 50, 50);
  border-radius: 2px; 
  background: white; 
  box-sizing: border-box;
  margin-right: 10px; 
}
 
   
.custom-checkbox input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
 }
    
.checkmark {
    position: absolute; 
    left: 2px;
    top: 3px;
    width: 10px;
    height: 5px;
    transition:  0.3s;   
    border: solid black;
    border-width: 2px 2px 0 0 ;  
    -webkit-transform: rotate(50deg) scale(0);
    -ms-transform: rotate(50deg) scale(0);
    transform: rotate(50deg) scale(0); 
 }

/* tıklandığında olan işlemler*/ 
.custom-checkbox input:checked ~ .checkmark {   
    -webkit-transform: rotate(125deg) scale(1);
    -ms-transform: rotate(125deg) scale(1);
    transform: rotate(125deg) scale(1); 
    opacity: 1; 
}




.lds-ellipsis {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: black;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}



@keyframes scaleAnimation {
  0% {
    opacity: 0;
    transform: scale(1.5);
 }
  100% {
    opacity: 1;
    transform: scale(1);
 }
}
@keyframes drawCircle {
  0% {
    stroke-dashoffset: 151px;
 }
  100% {
    stroke-dashoffset: 0;
 }
}
@keyframes drawCheck {
  0% {
    stroke-dashoffset: 36px;
 }
  100% {
    stroke-dashoffset: 0;
 }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
 }
  100% {
    opacity: 0;
 }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
 }
  100% {
    opacity: 1;
 }
}
#successAnimationCircle {
  stroke-dasharray: 151px 151px;
  stroke: black;
}
#successAnimationCheck {
  stroke-dasharray: 36px 36px;
  stroke: navy;
}
#successAnimationResult {
  fill: black;
  opacity: 0;
}
#successAnimation.animated {
  animation: 1s ease-out 0s 1 both scaleAnimation;
}
#successAnimation.animated #successAnimationCircle {
  animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCircle, 0.3s linear 0.9s 1 both fadeOut;
}
#successAnimation.animated #successAnimationCheck {
  animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCheck, 0.3s linear 0.9s 1 both fadeOut;
}
#successAnimation.animated #successAnimationResult {
  animation: 0.3s linear 0.9s both fadeIn;
}
