/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --error-color: #ff3860;
    --success-color: #09c372;
    --warning-color: #ffaa00;
    --text-color: #333;
    --light-grey: #f5f5f5;
     --border-color: #ddd;
}
.allauth_container{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #006e9e;
    column-gap: 30px;
}
.allauth_form{
    position: absolute;
    max-width: 430px;
    width: 100%;
    padding: 30px;
    border-radius: 6px;
    background: #FFF;
}
.forms.show-signup .form.signup{
    opacity: 1;
    pointer-events: auto;
}
header{
    font-size: 28px;
    font-weight: 600;
    color: #232836;
    text-align: center;
}
form{
    margin-top: 30px;
}
.allauth_form .allauth_field{
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 20px;
    border-radius: 6px;
}
.allauth_field input,
.allauth_field button{
    height: 100%;
    width: 100%;
    border: none;
    font-size: 16px;
    font-weight: 400;
    border-radius: 6px;
}
.allauth_field input{
    outline: none;
    padding: 0 15px;
    border: 1px solid#CACACA;
}
.allauth_field input:focus{
    border-bottom-width: 2px;
}
.eye-icon{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #8b8b8b;
    cursor: pointer;
    padding: 5px;
}
.allauth_field button{
    color: #fff;
    background-color: #08b4ffff;;
    transition: all 0.3s ease;
    cursor: pointer;
}
.allauth_field button:hover{
    background-color: #0069d9;
}
.checkbox-container{
    margin-top: 1em;
    padding-left: 5px;
}
.checkbox{
    width: 16px;
    height: 16px;
    margin-right: 10px;
    cursor: pointer;
    outline: 2px solid grey;
}
.form-link{
    text-align: center;
    margin-top: 10px;
}
.form-link span,
.form-link a{
    font-size: 14px;
    font-weight: 400;
    color: #232836;
}
.allauth_form a{
    color: #0171d3;
    text-decoration: none;
}
.allauth_form-content a:hover{
    text-decoration: underline;
}
.line{
    position: relative;
    height: 1px;
    width: 100%;
    margin: 36px 0;
    background-color: #d4d4d4;
}
.line::before{
    content: 'Or';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    color: #8b8b8b;
    padding: 0 15px;
}
.media-options a{
    display: flex;
    align-items: center;
    justify-content: center;
}
a.facebook{
    color: #fff;
    background-color: #4267b2;
}
a.facebook .facebook-icon{
    height: 28px;
    width: 28px;
    color: #0171d3;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.facebook-icon,
img.google-img{
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}
img.google-img{
    height: 20px;
    width: 20px;
    object-fit: cover;
}
a.google{
    border: 1px solid #CACACA;
}
a.google span{
    font-weight: 500;
    opacity: 0.6;
    color: #232836;
}
.allauth_logo_wlr_container{
    width: 100%;
    display: flex;  
    padding-top: 0;
    padding-bottom: 1em;
}
.allauth_logo_wlr{
    max-width: 140px;
    max-height: 100px;
    margin: auto;
}
.errors_container{
    width: 100%;
    display: block;  
    margin-top:1em;
    padding-bottom: 1em;
    padding-top: 1em;
    padding-left: 1em;
    background-color: rgb(245, 223, 223);
    border-radius: 5px;
    border: 2px solid red;
}
.alert-error{
    font-size: 11px;
    color: red;
    font-weight: 500;
}
@media screen and (max-width: 400px) {
    .form{
        padding: 20px 10px;
    }
    
}

  /* checkbox animowany */


  .checkbox-wrapper-19 {
    box-sizing: border-box;
    --background-color: #fff;
    --checkbox-height: 18px;
  }

  @-moz-keyframes dothabottomcheck-19 {
    0% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) / 2);
    }
  }

  @-webkit-keyframes dothabottomcheck-19 {
    0% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) / 2);
    }
  }

  @keyframes dothabottomcheck-19 {
    0% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) / 2);
    }
  }

  @keyframes dothatopcheck-19 {
    0% {
      height: 0;
    }
    50% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) * 1.2);
    }
  }

  @-webkit-keyframes dothatopcheck-19 {
    0% {
      height: 0;
    }
    50% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) * 1.2);
    }
  }

  @-moz-keyframes dothatopcheck-19 {
    0% {
      height: 0;
    }
    50% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) * 1.2);
    }
  }



  .checkbox-wrapper-19 input[type=checkbox] {
    display: none;
  }

  .checkbox-wrapper-19 .check-box {
    height: var(--checkbox-height);
    width: var(--checkbox-height);
    background-color: transparent;
    border: calc(var(--checkbox-height) * .1) solid #08b4ffff;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: border-color ease 0.2s;
    -o-transition: border-color ease 0.2s;
    -webkit-transition: border-color ease 0.2s;
    transition: border-color ease 0.2s;
    cursor: pointer;
  }
  .checkbox-wrapper-19 .check-box::before,
  .checkbox-wrapper-19 .check-box::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    height: 0;
    width: calc(var(--checkbox-height) * .2);
    /* background-color: #34b93d; */
    background-color: #08b4ffff;
    display: inline-block;
    -moz-transform-origin: left top;
    -ms-transform-origin: left top;
    -o-transform-origin: left top;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 5px;
    content: " ";
    -webkit-transition: opacity ease 0.5;
    -moz-transition: opacity ease 0.5;
    transition: opacity ease 0.5;
  }
  .checkbox-wrapper-19 .check-box::before {
    top: calc(var(--checkbox-height) * .72);
    left: calc(var(--checkbox-height) * .41);
    box-shadow: 0 0 0 calc(var(--checkbox-height) * .05) var(--background-color);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  .checkbox-wrapper-19 .check-box::after {
    top: calc(var(--checkbox-height) * .37);
    left: calc(var(--checkbox-height) * .05);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .checkbox-wrapper-19 input[type=checkbox]:checked + .check-box,
  .checkbox-wrapper-19 .check-box.checked {
    border-color: #08b4ffff;
  }
  .checkbox-wrapper-19 input[type=checkbox]:checked + .check-box::after,
  .checkbox-wrapper-19 .check-box.checked::after {
    height: calc(var(--checkbox-height) / 2);
    -moz-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    -o-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    -webkit-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    animation: dothabottomcheck-19 0.2s ease 0s forwards;
  }
  .checkbox-wrapper-19 input[type=checkbox]:checked + .check-box::before,
  .checkbox-wrapper-19 .check-box.checked::before {
    height: calc(var(--checkbox-height) * 1.2);
    -moz-animation: dothatopcheck-19 0.4s ease 0s forwards;
    -o-animation: dothatopcheck-19 0.4s ease 0s forwards;
    -webkit-animation: dothatopcheck-19 0.4s ease 0s forwards;
    animation: dothatopcheck-19 0.4s ease 0s forwards;
  }







  /* https://codepen.io/SaraSoueidan/pen/BajzpEr */


  @import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');

.c-custom-checkbox {
	cursor: pointer;

  display: flex;
  align-items: flex-start;

  /*--checked-state-bg-color: hsl(350, 95%, 58%);*/
  --checked-state-bg-color: #08b4ffff;
  --checked-state-check-color: #fff;
  --outline-color: var(--checked-state-bg-color);
  --outline-offset: 2px;
}

 /*hide the checkbox accessibly*/
.c-custom-checkbox input[type="checkbox"] {
  /* remove the checkbox from the page flow, positioning it on top of the SVG */
  position: absolute;
  /* set same dimensions as the SVG */
  width: 1em;
  height: 1em;
  /* hide it */
  opacity: 0.00001;
}

 /*basic styles for the svg*/
.c-custom-checkbox svg {
  /* set SVG dimensions in ems; i.e. relative to the font size so that it scales with the size of the font. */
  width: 1em;
  height: 1em;

  margin-right: 0.5em;
  margin-top: .1em;

  /* apply a transition to the elements inside the svg */
  * {
    transition: all 0.1s linear;
  }
}

 /*style changes inside the svg when the checkbox is checked*/
.c-custom-checkbox input[type="checkbox"]:checked + svg {
  .checkbox__background {
    fill: var(--checked-state-bg-color);
    stroke: var(--checked-state-bg-color);
  }

  .checkbox__checkmark {
    stroke: var(--checked-state-check-color);
  }
}

.c-custom-checkbox input[type="checkbox"]:focus + svg {
  outline: 3px solid var(--outline-color);
  outline-offset: var(--outline-offset);
}

.c-custom-checkbox input[type="checkbox"]:focus:not(:focus-visible) + svg {
  outline: none;
}

/* WHCM styles */

.c-custom-checkbox svg {
  @media screen and (-ms-high-contrast: active) {
    .checkbox__background {
      stroke: windowText;
    }
  }

  @media screen and (forced-colors: active) {
        .checkbox__background {
            stroke: canvasText;
        }
    }
}

@media screen and (-ms-high-contrast: active) {
  .c-custom-checkbox input[type="checkbox"]:checked + svg {
    .checkbox__background {
      fill: windowText;
		stroke: WindowText;
    }

    .checkbox__checkmark {
      stroke: Window;
    }
  }
}

@media screen and (forced-colors: active){
    .c-custom-checkbox input[type="checkbox"]:checked + svg {
    .checkbox__background {
      fill: canvasText;
		stroke: canvasText;
    }

    .checkbox__checkmark {
      stroke: Canvas;
    }
  }
}


/*STYLE DO KOLOROWANIA PÓL przy walidacji maila i hasła w czasie rzeczywistym*/

/*            :root {*/
/*     --primary-color: #2547de; */
/*    --error-color: #ff3860;*/
/*    --success-color: #09c372;*/
/*    --warning-color: #ffaa00;*/
/*    --text-color: #333;*/
/*     --light-grey: #f5f5f5; */
/*     --border-color: #ddd; */
/*}*/

/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
/*}*/


.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    display: block;
    line-height: 10px;
}

input.error {
    border-color: var(--error-color);
    border-width: 2px;
}

input.success {
    border-color: var(--success-color);
    border-width: 2px;
}

.password-feedback {
    display: none;
    margin-top: 10px;
}

.strength-meter {
    height: 5px;
    background-color: var(--light-grey);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 10px;
    display: block;
}

.password-conditions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-conditions li {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.password-conditions li:before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--error-color);
}

.password-conditions li.valid {
    color: var(--success-color);
}

.password-conditions li.valid::before {
    content: '✓';
    color: var(--success-color);
}

.strength-weak {
    background-color: var(--error-color);
    width: 25%;
}

.strength-medium {
    background-color: var(--warning-color);
    width: 50%;
}

.strength-strong {
    background-color: var(--success-color);
    width: 75%;
}

.strength-very-strong {
    background-color: var(--success-color);
    width: 100%;
}