/* Start Global Rules */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');
:root {
	--main-color: #0075ff;
	--text-color: #000;
	--backgound-color: #fff;
	--main-transition: 2s;
}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
a {
    text-decoration: none;
}
body {
    height: 100vh;
	font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
	position: relative;
    background-image: url(../image/backgound.png);
}
body::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: linear-gradient(to top, #fff 40%, rgb(255, 255, 255, 0.6));
}
/* End Global Rules */
.container {
    position: relative;
    z-index: 10000;
    width: 450px;
    padding: 20px 30px;
}
.container header {
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
}
.container form {
    margin: 20px 5px 10px 5px;
}
form .field {
    height: 45px;
    width: 100%;
    display: flex;
    position: relative;
}
.field input {
    height: 100%;
    width: 100%;
    border: 2px solid var(--main-color);
    padding-left: 15px;
    outline: none;
    border-radius: 999999px;
    font-size: 17px;
}
.field .showBtn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: none;
    user-select: none;
}
form .indicator {
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    display: none;
}
form .indicator span {
    width: 100%;
    height: 100%;
    background-color: lightgray;
    border-radius: 99999px;
    position: relative;
}
form .indicator span.medium {
    margin: 0 3px;
}
form .indicator span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 99999px;
}
form .indicator span.active.weak::before {
    background-color: #ff2525;
}
form .indicator span.active.medium::before {
    background-color: #ff9800;
}
form .indicator span.active.strong::before {
    background-color: #4caf50;
}
form .text {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin-top: 20px;
    display: none;
}
form .text.weak {
    color: #ff2525;
}
form .text.medium {
    color: #ff9800;
}
form .text.strong {
    color: #4caf50;
}
