/* Importando uma fonte para um visual mais moderno */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212; /* Fundo escuro */
    color: #e0e0e0; /* Texto claro */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 500px;
}

h1 {
    text-align: center;
    color: #bb86fc; /* Roxo vibrante para destaque */
    margin-bottom: 1.5rem;
}

.password-container {
    background-color: #2c2c2c;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    word-break: break-all; /* Quebra a linha se a senha for muito longa */
}

.password {
    font-size: 1.2rem;
    font-weight: 500;
}

.copy-btn {
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.options {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c2c2c;
    padding: 0.8rem;
    border-radius: 5px;
}

.option label {
    font-weight: 500;
}

.option input[type="number"] {
    width: 50px;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 0.3rem;
    text-align: center;
}

.option input[type="checkbox"] {
    transform: scale(1.2); /* Deixa o checkbox um pouco maior */
    cursor: pointer;
}

.btn-generate {
    width: 100%;
    padding: 1rem;
    background-color: #bb86fc; /* Cor principal */
    color: #121212; /* Texto escuro para contraste */
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-generate:hover {
    background-color: #a362f7;
}