
body {
  font-family: Arial, sans-serif;
  padding: 20px;  
  /* background-color:#fd652a; Trocar a cor da fonte do header para preto */ 
   
  display: flex; 
  justify-content: center; 
  flex-direction: column;
  align-items: center; 
 
}
 



#app-container {
    width: 100% ;
    max-width: 700px;
    padding: 20px;
    
    background-color: white; 
    border-radius: 8px; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);   
    
}

/* Header e logo */
header {
    text-align: center;
    width: 103%;
    padding-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;   
    color: #fd652a; 
    background-color: white;
    
}

.logo {
    max-width: 230px; 
    height: auto;
    margin-bottom: 10px;
}

h1 {
    font-size: 1.8em;
    color: #fd652a;
    margin: 0;
}

 /* BARRA DE BUSCA (INPUT)  */
input[type='text'] {
  padding: 8px 12px;
  width: 95%;
  font-size: 16px;
  border: 2px solid #fd652a;
  border-radius: 6px; 
  transition: border-color 0.2s;
 
  
}


input[type='text']:focus { 
    border-color: #ff9900; 
    outline: none; 
    
}

button { 
    margin-left: 6px; 
    padding: 4px 8px; 
    cursor: pointer; 
    border: 1px solid #ccc; 
    background-color: #f0f0f0; 
    border-radius: 4px;
}

.item button {     
    padding: 8px 15px; 
    background-color: #fd652a; 
    color: white; 
    border: none; 
    border-radius: 20px; 
    font-weight: bold; 
    margin-left: 10px; 
    transition: background-color 0.2s; 
}

.item button:hover { 
    background-color: #ffaa33; 
}

.item { 
    margin: 6px 0; 
    padding: 4px 0; 
}

.orcamento { 
    margin-top: 20px; 
    /* border-top: 1px solid red;  */
    border-top: 1px solid #fd652a;
    padding-top: 10px;    
    padding-bottom: 80px; 
   
}

ul { 
    list-style: none; 
    padding: 0; 
}

li { 
    margin: 4px 0; 
    display: flex; 
    align-items: center; 
}

.qtd-btn { 
    width: 24px; 
    text-align: center; 
}

.nome-item { 
    flex: 1; 
    padding-right: 15px; 
}

#total { 
    font-weight: bolder; 
    margin-top: 10px; 
    color: #fd652a;
}


.btn-orcamento {
    padding: 10px 15px; 
    background-color: #fd652a; 
    color: white; 
    border: none; 
    border-radius: 20px; 
    font-weight: bold; 
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 15px; 
    
}

.btn-orcamento:hover {
    background-color: #ffaa33;
}


/* Dropdown */
#resultados {
  max-height: 150px; 
  overflow-y: auto;  
  display: none; 
  border: none;
  padding: 0;
  margin-top: 0;
  color: black
 
}

.resultados-visiveis {
    display: block !important;
    border: 1px solid #ccc;
    padding: 5px;
    margin-top: 10px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 99%; 
    z-index: 10; 
    color: red;
    
}


/* Quase responsivo */
@media (max-width: 600px) {
    
    #app-container {
        padding: 10px;
    }
    
    input[type='text'] {
        width: 100%;
        margin-bottom: 10px;
        box-sizing: border-box; 
    }

    .item button {
        width: 100%;
        margin: 5px 0 0 0;
        text-align: center;
    }
    
    li {
        flex-direction: column; 
        align-items: flex-start;
        padding: 8px 0;
        border-bottom: 1px dashed #eee;
    }
    
    .nome-item {
        width: 100%;
        margin-bottom: 8px;
        padding-right: 0;
    }

    .orcamento button {
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
        padding: 10px;
    }
    
    .resultados-visiveis {
        width: 100%; 
        left: 0;
        right: 0;
    }
    /* ... dentro da @media (max-width: 600px) ... */
.orcamento button {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
    padding: 10px;
}

}