/*02:Confirmar*/
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_confirmar'].btn.btn-default
    {
    background: #035EA6 !important;
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;
    margin-bottom: 6px !important;
    }
    
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_confirmar'].btn.btn-default:hover
    {
    background: #035EA6 !important;
    color: white !important;
    width: 160px !important;
    font-weight: bold !important;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
    border: none !important;
    outline: none !important;
    opacity: 0.6 !important;
    text-align: left !important;
    margin-bottom: 6px !important;    
    }

#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_naoconfirmado'].btn.btn-default:hover
    {
    background: #8A2BE2 !important;
    color: white !important;
    width: 160px !important;
    font-weight: bold !important;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
    border: none !important;
    outline: none !important;
    opacity: 0.6 !important;
    text-align: left !important;
    margin-top: 0px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */    
    margin-bottom: 6px !important;    
    }

/*05:Não confirmado*/
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_naoconfirmado'].btn.btn-default
    {
    background: #8A2BE2 !important;
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;
    margin-top: 0px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */    
    margin-bottom: 6px !important;
    }

/*04:Não compareceu*/
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_naocompareceu'].btn.btn-default
    {
    background: #2BBBAD !important;
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;  
    margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */      
    margin-bottom: 6px !important;
    }

#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_naocompareceu'].btn.btn-default:hover
    {
    background: #2BBBAD !important;
    color: white !important;
    width: 160px !important;
    font-weight: bold !important;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
    border: none !important;
    outline: none !important;
    opacity: 0.6 !important;
    text-align: left !important;    
    margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */    
    margin-bottom: 6px !important;
    }

/*97:Recepção*/
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_recepcao'].btn.btn-default
    {
    background: #4CAF50 !important;
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;
    margin-top: -4px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */    
    margin-bottom: 6px !important;
    }

#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_recepcao'].btn.btn-default:hover
    {
    background: #4CAF50 !important;
    color: white !important;
    width: 160px !important;
    font-weight: bold !important;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
    border: none !important;
    outline: none !important;
    opacity: 0.6 !important;
    text-align: left !important;
    margin-top: -4px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */    
    margin-bottom: 6px !important;    
    }


 /*12 Finalizou atendimento*/
 #builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_finalizar'].btn.btn-default
     {
     background: #F44336 !important;
     color: white !important;
     width: 160px !important;
     box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
     border-radius: 6px !important;
     border: none !important;
     outline: none !important;
     text-align: left !important;  
     margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */       
     margin-bottom: 6px !important;
     }
 
 #builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_finalizar'].btn.btn-default:hover
     {
     background: #F44336 !important;
     color: white !important;
     width: 160px !important;
     font-weight: bold !important;
     box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
     border: none !important;
     outline: none !important;    
     opacity: 0.6 !important;
     text-align: left !important;   
     margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */      
     margin-bottom: 6px !important;
     }
 
  /*Retorno*/
 #builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_retorno'].btn.btn-default
     {
     background: #4F4F4F !important;
     color: white !important;
     width: 160px !important;
     box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
     border-radius: 6px !important;
     border: none !important;
     outline: none !important;
     text-align: left !important; 
     margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */        
     margin-bottom: 6px !important;
     }
 
 #builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_retorno'].btn.btn-default:hover
     {
     background: #4F4F4F !important;
     color: white !important;
     width: 160px !important;
     font-weight: bold !important;
     box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
     border: none !important;
     outline: none !important;    
     opacity: 0.6 !important;
     text-align: left !important;  
     margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */       
     margin-bottom: 6px !important;
    }    

/*Duplicar agendamento btn_duplicaragendamento - btn_gerarnovoregistro*/
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_duplicar'].btn.btn-default
    {
    background: #7F2F81 !important; /*083365*/
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;    
    margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */    
    margin-bottom: 6px !important;
    }

#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_duplicar'].btn.btn-default:hover
    {
    background: #7F2F81 !important;
    color: white !important;
    width: 160px !important;
    font-weight: bold !important;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
    border: none !important;
    outline: none !important;
    opacity: 0.6 !important;
    text-align: left !important;    
    margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */    
    margin-bottom: 6px !important;
    }

 /*Cancelou agendamento*/
 #builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_cancelar'].btn.btn-default
     {
     background: #D10000 !important;
     color: white !important;
     width: 160px !important;
     box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
     border-radius: 6px !important;
     border: none !important;
     outline: none !important;
     text-align: left !important;  
     margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */       
     margin-bottom: 6px !important;
     }
 
 #builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_cancelar'].btn.btn-default:hover
     {
     background: #D10000 !important;
     color: white !important;
     width: 160px !important;
     font-weight: bold !important;
     box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
     border: none !important;
     outline: none !important;    
     opacity: 0.6 !important;
     text-align: left !important;  
     margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */       
     margin-bottom: 6px !important;
    }    

/*Emitir protocolo e preparo de exames*/
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_protocoloepreparo'].btn.btn-default
    {
    background: #2F4F4F !important;
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;  
    margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */      
    margin-bottom: 6px !important;
    }
    
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_protocoloepreparo'].btn.btn-default:hover
    {
    background: #2F4F4F !important;
    color: white !important;
    width: 160px !important;
    font-weight: bold !important;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) !important;
    border: none !important;
    outline: none !important;
    opacity: 0.6 !important;
    text-align: left !important;  
    margin-top: -6px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */      
    margin-bottom: 6px !important;
    }


/*Botoes do equipamento*/
/* Seletor do contêiner para garantir o empilhamento vertical */
#builder-layout [page-name='AgendamentoCalendarForm02'] [id='EQUIPAMENTO'] .panel-body,
#builder-layout [page-name='AgendamentoCalendarForm02'] .panel:has(> .panel-heading [id='EQUIPAMENTO']) .panel-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_equipimpcheklistsaida'].btn.btn-default
    {
    background: #49A7E5 !important;
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;    
    margin-bottom: 10px !important; /* Espaço aumentado para clareza */
    display: block !important;
    }

#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_equipimpcontrato'].btn.btn-default
    {
    background: #1974AF !important;
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;
    margin-bottom: 6px !important;
    display: block !important;
    }

/* Garante que o botão do meio também não flutue */
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_equipimpcontrato'].btn.btn-default
    {
    display: table !important;
    margin-bottom: 6px !important;
    }

/* Ajuste específico para o botão de devolução */
#builder-layout [page-name='AgendamentoCalendarForm02'] button:not(.beditorcss)[id][name='btn_equipimpcheklistdevolucao'].btn.btn-default
    {
    background: #125683 !important;
    color: white !important;
    width: 160px !important;
    box-shadow: 7px 5px 5px rgba(50, 50, 50, 0.77)!important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;    
    /* COMANDOS PARA SUBIR E ALINHAR */
    display: table !important;      /* Bloqueia a linha para ele sozinho */
    clear: both !important;         /* Limpa interferências laterais */
    margin-top: 4px !important;    /* PUXA O BOTÃO PARA CIMA (Ajuste o número se precisar subir mais) */
    margin-bottom: 6px !important;  /* Mantém o padrão de espaço embaixo */
    }
