/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

#icon-load.active{
    opacity: 0.8;
    pointer-events: none;
}
#icon-load:not(.active) .elementor-button-icon,
#form-nota-fiscal .elementor-message{
    display: none;
}
#icon-load .elementor-button-icon{
    animation: spin 2s linear infinite;
}

.alert-form{
    background: #fff;
    padding: 5px 7px;
    display: block;
    margin-top: 5px;
    text-align: center;
    width: 100%;
    font-size: 16px;
    border-radius: 3px;
}
.alert-form.success{
    color: green;
}
.alert-form.error{
    color: red;
}

.numero_sorte{
    color: #164194;
}

.button-padding-mobile .elementor-button{
    padding: 25px 20px;
}

.elementor-widget.margin-zero{
    margin: 0;
}

a.elementor-lost-password{
    font-size: 0 !important;
}
a.elementor-lost-password::after {
    content: "Esqueceu sua senha?";
    font-size: .85rem;
}

#form-field-foto_nota{
    background-color: #fff;
    border: 1px solid #69727d;
    border-radius: 3px;
    padding: 4px;
}

@media (min-width: 1025px){
    .menu-nao-logado .menu-item:nth-child(n+5),
    .menu-logado .menu-item:nth-child(n+5){
        display: none;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    40% { transform: rotate(180deg); }
    50% { transform: rotate(180deg); }
    90% { transform: rotate(360deg); }
    100% { transform: rotate(360deg); }
}

/* Esconde o checkbox, mas mantém funcional */
.item-marca input[type="checkbox"] {
  display: none;
}

/* Estilo base para o item da marca */

.item-marca label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 10px;
  border-radius: 8px;
  border-color: #ccc;
  transition: all 280ms;
}

/* Estilo da imagem */
.item-marca img {
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* Nome da marca */
.item-marca span {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Quando o checkbox estiver selecionado */
.item-marca input[type="checkbox"]:checked + label {
  border-color: #0073e6; /* cor de destaque */
  box-shadow: 0 0 10px rgba(0, 115, 230, 0.4);
  background-color: #f0f8ff;
}

/* Opcional: hover */
.item-marca label:hover {
  /* border-color: #ccc; */
}