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

:root {
    --white-color: transparent;
    --login-color: rgba(110, 115, 120, 0.85); /* Średni chłodny szary */
    --sign-color: rgba(210, 215, 220, 0.85); /* Jasny chłodny szary */
    --header-color: rgba(50, 55, 60, 0.85); /* Ciemny chłodny szary */
    --modern-pink: rgb(241, 173, 156);
    --modern-pink-2: rgba(241, 173, 156, 0.85);

    /*--login-color: rgba(247, 199, 184, 0.9);*/
    /*--sign-color: rgba(247, 220, 211, 0.9);*/
    /*--header-color: rgba(217, 139, 122, 0.9);*/
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
}

p {
    font-family: 'Poppins', sans-serif;
}

#loginLanding #sign header { /* change header bg color */
    background-color: var(--login-color);
}

#loginForm { /* set form bg color to a white with slight transparency*/
    background-color: rgba(255,255,255,.9);
}

#sign article#loginForm { /* make labels align left */
    text-align: left;
}

#sign article#loginForm div { /* align the button to be center */
    text-align: center;
}

label, input {
    display: block;
}

label { /* syle the labels  */
    font-size: 12.8px;
    color: #767676;
}

input {
    margin-bottom: 16px;
    border-radius: 6px;
    padding: 6px;
    border: solid 1px #9B9B9B !important;
    width: 100%;
}

/*input:focus {*/
/*    outline: none !important; !* Usuwa domyślny outline *!*/
/*    border: 2px solid orange; !* Zastępuje border *!*/
/*}*/

/*input#password:focus {*/
/*    outline: none !important; !* Usuwa domyślny outline *!*/
/*    border: 2px solid orange; !* Zastępuje border *!*/
/*}*/

.form-control:focus {
    border-color: var(--header-color); /* Pomarańczowy kolor obramowania */
    box-shadow: 0 0 0 0.2rem rgba(53,50,58,.85); /* Pomarańczowy cień (dopasowany do Bootstrapa) */
    outline: none; /* Usuwa domyślny outline */
}



#loginBtn {
    background-color: var(--login-color);
    border: solid 2px var(--login-color);
    margin-top: 35px;
    margin-bottom: 25px;
    border-radius: 15px;
    padding: 8px 16px;
    margin-top: 15px;
    min-width: 125px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    text-decoration: none;
}

form .fas { /* color the font awesome icons */
    color: #d1d1d1;
    font-size: 13px !important;
    font-weight: 600 !important;
}

#sign aside p { /* style the forgot login info */
    font-size: 12px !important;
    text-align: center;
    color: var(--login-color);
}

aside a {
    color: #f1ad9c;
}

/* -------- 04-04 styles -------- */
div#pwdWrap {
    display: flex;
    align-items: center;
    /*border: solid 1px #9b9b9b;*/
    background-color: #fff;
    border-radius: 6px;
    border: none !important;
}

form .fa-eye {
    margin: 0 6px;
    cursor: pointer;
    color: #888;
    font-size: 17px !important;
}

form .fa-eye-slash {
    margin: 0 6px;
    cursor: pointer;
    color: #888;
    font-size: 17px !important;
}

input#password {
    margin-bottom: 0;
    border: none;
}

/*potwierdz hasło*/
div#confirmPwdWrap {
    display: flex;
    align-items: center;
    border: solid 1px #9b9b9b;
    background-color: #fff;
    border-radius: 6px;
    border: none !important;
}

input#confirm_password {
    margin-bottom: 0;
    border: none;
}

/* -------- 04-05 styles -------- */
#sign article {
    border-radius: 0; /* need to overwrite from base file. This will eliminate the rounded corners. */
}

#sign article#signupForm { /* we want to round the bottom corners of the 2nd article only and overwrite alignment from our base.css file. */
    text-align: left;
    border-radius: 0 0 10px 10px;
}

#sign #welcome { /* add the teal bg to the first article */
    background-color: rgba(241, 173, 156, .9);
    align-items: flex-start;
}
/* style the p tag */
#sign p {
    font-weight: 200;
    font-size: 15px;
    color: #fff;
    text-align: left;
    margin-bottom: 0;
}
/*set the bg to white for overall form (this shows up on bottom article */
#signupForm {
    background-color: rgba(255,255,255,.9);
}
/* password wrapper */
#signupLanding div#pwdWrap {
    margin-bottom: 16px;
}

/* style the 'optional' text */
#signupLanding label span {
    font-size: 12.8px;
    color: #999;
}

#signupLanding #signupBtn {
    background-color: var(--header-color);
    border: solid 2px var(--header-color);
    margin-bottom: 25px;

    border-radius: 15px;
    padding: .5rem 1rem;
    margin-top: 15px;
    min-width: 125px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
}

#loginLanding #sign article {
    border-radius: 0 0 10px 10px;
}

/* -------- 04-06 styles -------- */
div#pwdWrap {
    position: relative;
}

#cityWrap {
    position: relative;
    display: flex;
}

i.fa.fa-question-circle {
    position: absolute;
    right: 9px;
    top: -18px;
    font-size: 14.4px;
    color: #2a2827;
    text-shadow: none !important;
}

.show {
    display: block;
    padding: 5px 8px;
    background: #2a2827;
    color: #fff;
    z-index: 9;
    font-size: 13px !important;
    line-height: 18px;
    top: -109px;
    left: -162px;
    width: 1355%;
    border: solid 2px #2a2827;
    border-radius: 6px;
    font-family: "Open Sans", sans-serif;
    position: absolute;
    border: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.show#cty {
    top: -110px;
}

.hide {
    display: none;
}

/* close icon (x) */
i.fas.fa-times-circle {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 160;
    color: #2a2827;
    font-size: 16px !important;
    opacity: 1 !important;
    /*background-color: white;*/
    font-weight: 600;
    box-shadow: none !important;
    text-shadow: none !important;
}
/* downward pointing arrow */
i.fas.fa-caret-down {
    position: absolute;
    bottom: -14px;
    left: 83%;
    font-size: 24px !important;
    color: #2a2827;
}

/* -------- 04-07 styles -------- */
/* Styl dla całego paska postępu */
progress#strength {
    width: 60%;
    height: 8px;
    border: solid 1px #ccc;
    border-radius: 6px;
    background-color: #fff; /* Tło białe */
    margin: 0;
    -webkit-appearance: none; /* Wyłącza domyślny wygląd w Chrome */
    appearance: none; /* Wyłącza domyślny wygląd w innych przeglądarkach */
}

/* Styl dla tła paska w Chrome */
progress[value]::-webkit-progress-bar {
    background-color: #fff; /* Białe tło paska */
    border-radius: 6px; /* Zaokrąglone krawędzie */
}

/* Styl dla wypełnienia paska w Chrome */
progress[value]::-webkit-progress-value {
    background-image:
            -webkit-linear-gradient(-45deg,
            transparent 33%, rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%, transparent 66%),
            -webkit-linear-gradient(top,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25));
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
}

/* Kolory dla różnych poziomów wypełnienia w Chrome */
progress.pb20[value]::-webkit-progress-value {
    background-color: rgba(185, 4, 4, .8); /* Czerwony */
}
progress.pb40[value]::-webkit-progress-value {
    background-color: rgba(222, 113, 4, .8); /* Pomarańczowy */
}
progress.pb60[value]::-webkit-progress-value {
    background-color: rgba(242, 205, 5, .8); /* Żółty */
}
progress.pb80[value]::-webkit-progress-value {
    background-color: rgba(5, 206, 242, .8); /* Niebieski */
}
progress.pb100[value]::-webkit-progress-value {
    background-color: rgba(82, 213, 172, .8); /* Zielony */
}

/* Styl dla wypełnienia paska w Firefox */
progress[value]::-moz-progress-bar {
    background-image:
            -moz-linear-gradient(-45deg,
            transparent 33%, rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%, transparent 66%),
            -moz-linear-gradient(top,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25));
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
}

/* Kolory dla różnych poziomów wypełnienia w Firefox */
progress.pb20[value]::-moz-progress-bar {
    background-color: rgba(185, 4, 4, .8); /* Czerwony */
}
progress.pb40[value]::-moz-progress-bar {
    background-color: rgba(222, 113, 4, .8); /* Pomarańczowy */
}
progress.pb60[value]::-moz-progress-bar {
    background-color: rgba(242, 205, 5, .8); /* Żółty */
}
progress.pb80[value]::-moz-progress-bar {
    background-color: rgba(5, 206, 242, .8); /* Niebieski */
}
progress.pb100[value]::-moz-progress-bar {
    background-color: rgba(82, 213, 172, .8); /* Zielony */
}

#error-messages p {
    color: darkred;
    font-size: 13px;
    font-weight: 600;
}

/* -------- Media Query: med/large screen styles -------- */
@media screen and (min-width: 550px) {
    /* Large screen 2 column layout */
    #signupLanding #sign {
        display: grid;
        grid-template-columns: 40% 60%; /* 2 columns  */
        max-width: 850px;
    }
    /*    adjust the border radius of the articles for the 2 column layout. */
    #sign #welcome { border-radius: 0 0 0 10px; }
    #sign article#signupForm { border-radius: 0 0 10px 0; }
}