body {
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    /* Aumentado desde 400 */
    width: 90%;
}

#g_id_onload,
.g_id_signin {
    margin-top: 20px;
}

#user-info {
    margin-top: 20px;
    text-align: left;
}

#user-pic {
    margin-top: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.hidden {
    display: none;
}

.button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    padding: 12px 24px;
    border: 1px solid #888;
    background-color: #eee;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
    width: 100%;
    max-width: 320px;
}

button:hover {
    background-color: #ddd;
}

.button-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

#asistente {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#hablarBtn {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    margin: 0 auto;
}

#hablarBtn img {
    width: 64px;
    height: 64px;
}

.google-btn-wrapper {
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin-top: 20px;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* ← Esto centra verticalmente */
        min-height: 100vh;
        /* ← Asegura altura completa */
    }

    .container {
        padding: 20px;
        max-width: 100%;
        margin-top: 30px;
    }

    h1 {
        font-size: 1.6em;
    }

    button {
        padding: 14px;
        font-size: 18px;
        width: 100%;
        max-width: 100%;
    }

    #hablarBtn {
        padding: 14px;
        gap: 10px;
    }

    #hablarBtn img {
        width: 64px;
        height: 64px;
    }

    .google-btn-wrapper .g_id_signin {
        transform: scale(1.3);
        transform-origin: center;
    }

    .google-btn-wrapper {
        height: 70px;
        overflow: visible;
    }
}