.password-generator {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.toggles label {
    display: flex;
    align-items: center;
}
button {
    background-color: #FAC643;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}
button:hover {
    background-color: #000000;
    color: #fff;
    transform: scale(1.05);
}
.password-display {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
#password {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}
.strength-indicator {
    margin-top: 10px;
}
#strength-bar {
    height: 10px;
    width: 0;
    border-radius: 5px;
    transition: width 0.3s, background-color 0.3s;
}
.weak { background-color: #ff4d4d; width: 25%; }
.medium { background-color: #ffd700; width: 50%; }
.strong { background-color: #32cd32; width: 75%; }
.very-strong { background-color: #1e90ff; width: 100%; }
#strength-text.weak { color: #ff4d4d; }
#strength-text.medium { color: #ffd700; }
#strength-text.strong { color: #32cd32; }
#strength-text.very-strong { color: #1e90ff; }
@media (max-width: 600px) {
    .toggles {
        flex-direction: column;
    }
    .password-display {
        flex-direction: column;
    }
    #copy-button {
        margin-left: 0;
    }
}