.phonetic-password-generator {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.phonetic-password-generator label {
    margin: 10px 0;
    display: block;
}

#password-display {
    white-space: pre-wrap;
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.phonetic-password-generator input[type="email"] {
    margin-top: 10px;
    padding: 5px;
    width: 100%;
    max-width: 300px;
}

#password-pattern {
    text-transform: uppercase;
    font-family: monospace;
}

/* Estilos para cada contraseña */
.password-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin: 5px 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.copy-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
}

.copy-btn {
    position: relative;
}

.copy-btn::after {
    content: "Copiar al portapapeles";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.copy-btn:hover::after {
    opacity: 1;
}

.copy-btn:hover {
    background: #005177;
}

.copy-btn.copied {
    background: #46b450;
}

/* Animación de feedback */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.copy-feedback {
    color: #46b450;
    font-size: 0.9em;
    margin-left: 10px;
    animation: fadeOut 1.5s ease-in-out;
}