body {
    margin: 20px;
    font-family: "Karla", sans-serif;
    background: #1F2937;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
    border-radius: 20px;
    background: #fff;
}

#password-one {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #273549;
    background: #fff;
    color: #273549;
    text-align: center;
    width: 100%;
    white-space: normal;
    overflow: hidden;
    resize: none;
    word-wrap: break-word;
}

#password-one span {
    display: inline-block;
    margin-right: 1px;
    line-height: 1.5;
    font-weight: 700;
    font-size: 22px;
}

.number {
    color: #1982c4;
}

.symbol {
    color: #ff595e;
}

h1 {
    font-size: 2rem;
    margin-bottom: 5px;
    margin-top: 10px;
    color: #000;
}

.message {
    margin-top: 0;
    margin-bottom: 40px;
}

.options {
    margin-bottom: 10px;
}

input[type="range"] {
    width: 100%;
}

.passwords {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.pass-length {
    margin-top: 0px;
    margin-bottom: 40px;
}

.toggle-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 20px 0 40px 0;
}

.toggle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toggle-label {
    margin-top: 8px;
    font-weight: bold;
    color: #273549;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #1982c4;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background-color: #1982c4;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    font-weight: 700;
}

button:hover {
    background-color: #1e88e5;
}

@media (max-width: 600px) {
    .buttons {
        flex-direction: column;
        gap: 10px;
    }
}

#strength {
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.weak {
    background: #ff595e;
}

.good {
    background: #ffca3a;
}

.strong {
    background: #f8961e;
}

.v-strong {
    background: #8ac926;
}