body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #dc143c 0%, #000000 100%); /* Gradiente vermelho para preto */
    color: #333;
    min-height: 100vh;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}
h1 {
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #dc143c 0%, #000000 100%); /* Vermelho para preto */
    font-size: 2.5em;
}
.section {
    padding: 30px;
    border-bottom: 1px solid #eee;
}
.section:last-child {
    border-bottom: none;
}
h2 {
    color: #dc143c; /* Vermelho */
    margin-bottom: 20px;
    font-size: 1.8em;
    display: flex;
    align-items: center;
}
h2 i {
    margin-right: 10px;
}
.search-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}
.search-bar input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1em;
    transition: border-color 0.3s;
}
.search-bar input:focus {
    border-color: #dc143c; /* Vermelho */
    outline: none;
}
button {
    padding: 12px 20px;
    background: linear-gradient(135deg, #dc143c 0%, #000000 100%); /* Vermelho para preto */
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220,20,60,0.4); /* Sombra vermelha */
}
.remove-btn {
    background: #dc143c; /* Vermelho sólido para remover */
    padding: 8px 12px;
    font-size: 0.9em;
}
.remove-btn:hover {
    background: #b22222; /* Vermelho escuro */
}
.add-form {
    margin-top: 20px;
    display: none;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}
.add-form input, .add-form select {
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}
th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
th {
    background: linear-gradient(135deg, #dc143c 0%, #000000 100%); /* Vermelho para preto */
    color: white;
    font-weight: bold;
}
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
tbody tr:hover {
    background-color: #ffe6e6; /* Tom vermelho claro */
    transition: background-color 0.3s;
}
@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .add-form input, .add-form select {
        margin-bottom: 10px;
        margin-right: 0;
    }
    table {
        font-size: 0.9em;
    }
    th, td {
        padding: 10px;
    }
}

/* ADICIONE ao final do CSS */
.low-stock {
    color: #dc143c !important;
    font-weight: bold;
    background: #ffe6e6 !important;
}

tbody tr:hover .low-stock {
    background: #ffcccc !important;
}
