@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Chakra Petch', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #ebebeb;
}

.container {
    width: 450px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.container h1 {
    font-weight: 600;
    font-size: 22px;
    text-align: center;
    padding: 16px 20px;
    border-bottom: 1px solid #d4dbe5;
}

.wrapper {
    margin: 18px 20px;
}

.wrapper .input-box {
    position: relative;
}

.input-box input {
    width: 100%;
    height: 50px;
    color: #000;
    background: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 1.4px;
    border: 1px solid #aaa;
    padding: 0 36px 0 16px;
}

.input-box span {
    position: absolute;
    right: 13px;
    cursor: pointer;
    line-height: 53px;
    color: #707070;
}

.input-box span:hover {
    color: #43A047 !important;
}

.wrapper .pass-indicator {
    width: 100%;
    height: 4px;
    position: relative;
    margin-top: 14px;
    border-radius: 25px;
}

.pass-indicator::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 50%;
    border-radius: inherit;
    transition: width 0.3s ease;
}

.pass-indicator#weak::before {
    width: 20%;
    background: #e64a4a;
}

.pass-indicator#medium::before {
    width: 50%;
    background: #f1c80b;
}

.pass-indicator#strong::before {
    width: 100%;
    background: #43A047;
}

.wrapper .pass-length {
    margin: 22px 0 18px;
}

.pass-length .details {
    display: flex;
    justify-content: space-between;
}

.pass-length input {
    width: 100%;
    height: 5px;
}

.pass-settings .options {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin-top: 16px;
}

.pass-settings .options .option {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    width: calc(100% / 2);
}

.options .option:first-child {
    pointer-events: none;
}

.options .option:first-child input {
    opacity: 0.7;
}

.options .option input {
    height: 16px;
    width: 16px;
    cursor: pointer;
}

.options .option label {
    cursor: pointer;
    color: #4f4f4f;
    padding-left: 12px;
}

.wrapper .generate-btn {
    width: 100%;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    background: #43A047;
    font-size: 16px;
    padding: 14px 0;
    border-radius: 5px;
    text-transform: uppercase;
    margin: 14px 0 16px;
}