Novo css e mudanças no gitignore

parent dab9cd66
......@@ -13,3 +13,6 @@ ENV/
# Variáveis de ambiente (Segurança)
.env
.env.local
relatorio.md
\ No newline at end of file
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* === PALETA DE CORES - TEMA FAZENDA DIGITAL MODERNA === */
--primary-green: #2e7d32; /* Verde fazenda vivo */
--wood-brown: #8d5524; /* Marrom madeira/celeiro */
--sun-orange: #f4a261; /* Laranja dourado do sol */
--bg-beige: #f8f1e3; /* Bege claro com vibe de feno/palha */
--card-bg: #ffffff;
--text-dark: #2c2c2c;
--text-light: #f4f4f4;
--shadow-wood: 0 10px 30px rgba(141, 85, 36, 0.18);
}
body {
font-family: 'Lexend', sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
position: relative;
/* Fundo vivo com textura de fazenda */
background: linear-gradient(180deg,
#a8d5a8 0%,
#c8e4c8 25%,
#f0e8d8 55%,
#f8f1e3 100%
);
background-image:
repeating-linear-gradient(
35deg,
transparent,
transparent 40px,
rgba(46, 125, 50, 0.15) 40px,
rgba(46, 125, 50, 0.15) 45px
),
radial-gradient(circle at 25% 35%, rgba(141, 85, 36, 0.12) 1.5px, transparent 0),
radial-gradient(circle at 75% 65%, rgba(141, 85, 36, 0.12) 1.5px, transparent 0),
radial-gradient(circle at 40% 80%, rgba(141, 85, 36, 0.09) 2px, transparent 0),
linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65));
background-size:
100% 100%,
90px 90px,
120px 120px,
180px 180px,
100% 100%;
background-attachment: fixed;
}
.container {
max-width: 1000px;
max-width: 1100px;
margin: 0 auto;
background: white;
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
background: var(--card-bg);
border-radius: 20px;
box-shadow: var(--shadow-wood);
padding: 40px;
border: 6px solid var(--wood-brown);
position: relative;
overflow: hidden;
}
/* Header */
/* Header limpo */
header {
text-align: center;
margin-bottom: 30px;
margin-bottom: 40px;
position: relative;
}
header h1 {
color: #333;
font-size: 2.5rem;
margin-bottom: 10px;
color: var(--primary-green);
font-size: 2.8rem;
margin-bottom: 8px;
font-weight: 700;
text-shadow: 2px 2px 4px rgba(141, 85, 36, 0.1);
}
.subtitle {
color: #666;
font-size: 1.1rem;
font-weight: 300;
}
/* Headings */
h1 {
color: #333;
font-size: 2rem;
margin-bottom: 30px;
text-align: center;
color: var(--wood-brown);
font-size: 1.15rem;
font-weight: 400;
letter-spacing: 0.5px;
}
/* Actions */
/* Espaço grande entre botão de adicionar e a lista */
.actions {
display: flex;
gap: 10px;
margin-bottom: 30px;
gap: 12px;
margin-bottom: 60px;
flex-wrap: wrap;
justify-content: flex-end;
}
/* Buttons */
.btn {
display: inline-block;
padding: 12px 24px;
border-radius: 6px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px 28px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-weight: 700;
border: none;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.95rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-size: 1rem;
box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
}
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background: var(--primary-green);
color: white;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
background: #256627;
transform: translateY(-3px) scale(1.05);
box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
}
.btn-secondary {
background: #f0f0f0;
color: #333;
border: 1px solid #ddd;
background: #f4f1e8;
color: var(--wood-brown);
border: 3px solid var(--wood-brown);
}
.btn-secondary:hover {
background: #e5e5e5;
background: var(--wood-brown);
color: white;
transform: translateY(-2px);
}
.btn-edit {
background: #3498db;
background: var(--sun-orange);
color: white;
padding: 8px 16px;
padding: 8px 18px;
font-size: 0.9rem;
}
.btn-edit:hover {
background: #2980b9;
background: #e38f4a;
transform: scale(1.08);
}
.btn-delete {
background: #e74c3c;
background: #c14a3d;
color: white;
padding: 8px 16px;
padding: 8px 18px;
font-size: 0.9rem;
}
.btn-delete:hover {
background: #c0392b;
background: #a83f35;
}
/* Table */
/* TABELA - FUNDO ARREDONDADO CORRETO (sem vazamento) */
.table-responsive {
overflow-x: auto;
border-radius: 8px;
border: 1px solid #eee;
border-radius: 16px;
border: 4px solid var(--wood-brown);
box-shadow: var(--shadow-wood);
overflow: hidden; /* 🔥 ESSA LINHA RESOLVE O PROBLEMA */
}
.animals-table {
width: 100%;
border-collapse: collapse;
background: white;
background: var(--card-bg);
table-layout: auto;
border-radius: 12px; /* arredonda a própria tabela também */
}
.animals-table thead {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background: linear-gradient(135deg, var(--primary-green), #3d9b3d);
color: white;
}
.animals-table th {
padding: 16px;
padding: 18px 16px;
text-align: left;
font-weight: 600;
font-size: 1rem;
font-weight: 700;
font-size: 1.05rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.animals-table td {
padding: 14px 16px;
border-bottom: 1px solid #f0f0f0;
padding: 16px;
border-bottom: 2px solid #f0e8d8;
color: var(--text-dark);
}
.animals-table tbody tr {
transition: background-color 0.2s ease;
transition: all 0.3s ease;
}
.animals-table tbody tr:hover {
background-color: #f9f9f9;
}
.animals-table tbody tr:last-child td {
border-bottom: none;
background-color: #f8f1e3;
transform: scale(1.01);
}
.actions-column {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
/* Forms */
/* Formulário de cadastro */
.form {
max-width: 600px;
max-width: 620px;
margin: 0 auto;
}
.form-group {
margin-bottom: 20px;
display: flex;
flex-direction: column;
margin-bottom: 24px;
}
.form-group label {
color: #333;
font-weight: 600;
color: var(--wood-brown);
font-weight: 700;
margin-bottom: 8px;
font-size: 1rem;
font-size: 1.05rem;
display: flex;
align-items: center;
gap: 6px;
}
.form-group input {
padding: 12px;
border: 2px solid #ddd;
border-radius: 6px;
.form-group input,
.form-group select,
.form-group textarea {
padding: 14px 18px;
border: 3px solid #d4c4a8;
border-radius: 12px;
font-family: 'Lexend', sans-serif;
font-size: 1rem;
transition: border-color 0.3s ease;
transition: all 0.3s ease;
background: #fffef7;
}
.form-group input:focus {
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-group input::placeholder {
color: #999;
border-color: var(--primary-green);
box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.2);
background: white;
}
/* Ações do formulário */
.form-actions {
display: flex;
gap: 12px;
margin-top: 30px;
gap: 16px;
margin-top: 40px;
justify-content: center;
}
/* Empty State */
/* Empty state com vibe de fazenda */
.empty-state {
text-align: center;
padding: 60px 20px;
color: #666;
padding: 80px 20px;
color: var(--wood-brown);
}
.empty-state p {
font-size: 1.2rem;
margin-bottom: 20px;
font-size: 1.3rem;
margin-bottom: 16px;
font-weight: 500;
}
/* Responsive */
@media (max-width: 768px) {
.container {
padding: 20px;
padding: 24px;
border-radius: 16px;
}
header h1 {
font-size: 2rem;
font-size: 2.2rem;
}
.actions-column {
flex-direction: column;
}
.btn-edit,
.btn-delete {
width: 100%;
text-align: center;
}
.form-actions {
flex-direction: column;
.actions {
justify-content: center;
margin-bottom: 50px;
}
.form-actions .btn {
.btn {
width: 100%;
text-align: center;
justify-content: center;
}
.animals-table th,
.animals-table td {
padding: 10px;
font-size: 0.9rem;
padding: 12px 10px;
font-size: 0.95rem;
}
}
@media (max-width: 480px) {
body {
padding: 10px;
padding: 12px;
}
.container {
padding: 15px;
border-radius: 8px;
padding: 20px;
border-width: 4px;
}
header h1 {
font-size: 1.5rem;
}
.subtitle {
font-size: 0.95rem;
}
.btn {
padding: 10px 16px;
font-size: 0.85rem;
}
.animals-table th,
.animals-table td {
padding: 8px;
font-size: 1.8rem;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment