/* Reseta margens e define a fonte */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
}

/* Cabeçalho */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color: white;
    text-decoration: none;
}

header nav a {
    margin-left: 20px;
    font-weight: bold;
}

/* Botões */
.btn-primary, .btn-secundary {
    background-color: #27ae60;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.btn-secundary {
    background-color: #2980b9;
}

.btn-primary:hover { background-color: #219150; }
.btn-secundary:hover { background-color: #2471a3; }

/* Página Inicial */
.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #ecf0f1;
}

.hero h2 { font-size: 2.5rem; margin-bottom: 10px; color: #2c3e50; }

.itens-disponiveis {
    padding: 50px;
    text-align: center;
}

/* Página de Login */
.container-login {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    flex-wrap: wrap;
}

.box-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.box-form h2 { margin-bottom: 15px; color: #2c3e50; }
.box-form p { margin-bottom: 20px; color: #7f8c8d; }

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
/* Estilos para os cartões de Inventário */
.grid-itens {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.card-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 250px;
    text-align: left;
    border-top: 4px solid #27ae60;
}

.card-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.status-etiqueta {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 10px;
    background-color: #e8f8f5;
    color: #1abc9c;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Botão de excluir item */
.btn-deletar {
    display: block;
    margin-top: 15px;
    padding: 5px;
    background-color: #e74c3c;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-deletar:hover {
    background-color: #c0392b;
}