body{
    background-color: #5188ee;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Arial', sans-serif;;
}

.card{
    border: 1px solid #aaaaaa;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: #fff;
    max-width: 350px;
    margin: 1rem;
    padding: 30px;
}

.card-title h1{
    font-weight: bold;
}

.card-title hr{
    max-width: 75%;
}

.pass-settings{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    background-color: #e9e9e9;
    border: 1px solid #e9e9e9;
    border-radius: 0.35rem;
    padding: 10px;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.pass-settings .slider{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pass-settings .slider h4{
    margin: 0;
    min-width: 120px;
}

.pass-settings .slider output{
    border: 1px solid black;
    border-radius: 0.25rem;
    padding: 2px;
    width: 2ch;
    text-align: center;
}

.pass-settings .checkboxes{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
}

.pass-settings .checkboxes label {
    font-size: 1rem;
    font-weight: 700;
    min-width: 120px;
    margin: 0;
    display: inline-block;
}

.pass-settings .checkboxes .option{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.generate-pass{
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
}

.generate-pass button{
    width: 80%;
    max-width: 300px;
    background-color: #0276FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.generate-pass button:hover {
    background-color: #055ED1;
}

.generate-pass button:active {
    transform: scale(0.97);
}

.password-strength {
    margin-top: 1rem;
    width: 100%;
}

.password-strength label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: block;
}

.strength-bar {
    width: 100%;
    height: 15px;
    background-color: #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background-color: #ff4d4d;
    border-radius: 8px;
    transition: width 0.3s, background-color 0.3s;
}

.password-output {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.password-output input {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: monospace;
}

.password-output button {
    background-color: #0276FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.password-output button:hover {
    background-color: #055ED1;
}

.password-output button:active {
    transform: scale(0.97);
}
