

:root {
    --primary: #CA3884;
    --bg-color: #F4F5FB;;
    --card-bg: #fff;
    --text-color: black;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}


.input-group {
    display: flex;
    gap: 12px;
    margin: 32px 0;
}

input {
    
    flex: 1;
    background: var(--card-bg);
    border: 2px solid #D1D5DB;
    padding: 18px;
    border-radius: 12px;
    color: #9CA3AF;
}

button#add-button {
    background: var(--primary);
    border: none;
    padding: 18px;
    border-radius: 18px;
    cursor: pointer;
    font-weight: bold;
    color: #FFFFFF;
}

.item-list {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 12px;
    justify-content: space-between;
    
}

.remove-btn {
    background: transparent;
    border: none;
    cursor: pointer;
}

.alert {
    position: fixed;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    background: #C93847;
    padding: 16px;
    border-radius: 18px;
    display: flex;
    gap: 20px;
    align-items: center;

    justify-content: space-between;
    width: 100%;
    box-sizing: border-box; 
    max-width: 480px;
    width: calc(100% - 40px);
    z-index: 999;

    color: #FFFFFF;
}
.alert p {
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hidden { display: none; }


#close-alert:hover{
    cursor: pointer;

}

input[type="checkbox"],
label {
  cursor: pointer;
}

.link_vermelho {
    color:var(--primary);
    cursor: pointer;

}

.title_logo{
    color: #374151
    
}
.div_logo {
    display: flex;
    align-items: center;     
    justify-content: center;   
    gap: 12px;                
    width: 100%;              
    margin-bottom: 32px;     
}



* {
    box-sizing: border-box;
  }


.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 480px;
}


#shopping-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; 
}


.item-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    padding: 16px;
    border-radius: 18px;
    margin-bottom: 12px;
    width: 100%; 
    border: 1px solid #E5E7EB; 
}

@media (max-width: 480px) {
    .input-group {
        flex-direction: column;
    }
    
    button#add-button {
        width: 100%;
    }

    .div_logo{
        display: none;
    }
}


