Novo css e mudanças no gitignore

parent dab9cd66
...@@ -13,3 +13,6 @@ ENV/ ...@@ -13,3 +13,6 @@ ENV/
# Variáveis de ambiente (Segurança) # Variáveis de ambiente (Segurança)
.env .env
.env.local .env.local
relatorio.md
\ No newline at end of file
* { * {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; 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 { body {
font-family: 'Lexend', sans-serif; font-family: 'Lexend', sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh; min-height: 100vh;
padding: 20px; 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 { .container {
max-width: 1000px; max-width: 1100px;
margin: 0 auto; margin: 0 auto;
background: white; background: var(--card-bg);
border-radius: 12px; border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-wood);
padding: 40px; padding: 40px;
border: 6px solid var(--wood-brown);
position: relative;
overflow: hidden;
} }
/* Header */ /* Header limpo */
header { header {
text-align: center; text-align: center;
margin-bottom: 30px; margin-bottom: 40px;
position: relative;
} }
header h1 { header h1 {
color: #333; color: var(--primary-green);
font-size: 2.5rem; font-size: 2.8rem;
margin-bottom: 10px; margin-bottom: 8px;
font-weight: 700;
text-shadow: 2px 2px 4px rgba(141, 85, 36, 0.1);
} }
.subtitle { .subtitle {
color: #666; color: var(--wood-brown);
font-size: 1.1rem; font-size: 1.15rem;
font-weight: 300; font-weight: 400;
} letter-spacing: 0.5px;
/* Headings */
h1 {
color: #333;
font-size: 2rem;
margin-bottom: 30px;
text-align: center;
} }
/* Actions */ /* Espaço grande entre botão de adicionar e a lista */
.actions { .actions {
display: flex; display: flex;
gap: 10px; gap: 12px;
margin-bottom: 30px; margin-bottom: 60px;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: flex-end;
} }
/* Buttons */
.btn { .btn {
display: inline-block; display: inline-flex;
padding: 12px 24px; align-items: center;
border-radius: 6px; justify-content: center;
gap: 8px;
padding: 14px 28px;
border-radius: 50px;
text-decoration: none; text-decoration: none;
font-weight: 600; font-weight: 700;
border: none; border: none;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-size: 0.95rem; font-size: 1rem;
box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
} }
.btn-primary { .btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); background: var(--primary-green);
color: white; color: white;
} }
.btn-primary:hover { .btn-primary:hover {
transform: translateY(-2px); background: #256627;
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); transform: translateY(-3px) scale(1.05);
box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
} }
.btn-secondary { .btn-secondary {
background: #f0f0f0; background: #f4f1e8;
color: #333; color: var(--wood-brown);
border: 1px solid #ddd; border: 3px solid var(--wood-brown);
} }
.btn-secondary:hover { .btn-secondary:hover {
background: #e5e5e5; background: var(--wood-brown);
color: white;
transform: translateY(-2px);
} }
.btn-edit { .btn-edit {
background: #3498db; background: var(--sun-orange);
color: white; color: white;
padding: 8px 16px; padding: 8px 18px;
font-size: 0.9rem; font-size: 0.9rem;
} }
.btn-edit:hover { .btn-edit:hover {
background: #2980b9; background: #e38f4a;
transform: scale(1.08);
} }
.btn-delete { .btn-delete {
background: #e74c3c; background: #c14a3d;
color: white; color: white;
padding: 8px 16px; padding: 8px 18px;
font-size: 0.9rem; font-size: 0.9rem;
} }
.btn-delete:hover { .btn-delete:hover {
background: #c0392b; background: #a83f35;
} }
/* Table */ /* TABELA - FUNDO ARREDONDADO CORRETO (sem vazamento) */
.table-responsive { .table-responsive {
overflow-x: auto; border-radius: 16px;
border-radius: 8px; border: 4px solid var(--wood-brown);
border: 1px solid #eee; box-shadow: var(--shadow-wood);
overflow: hidden; /* 🔥 ESSA LINHA RESOLVE O PROBLEMA */
} }
.animals-table { .animals-table {
width: 100%; width: 100%;
border-collapse: collapse; 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 { .animals-table thead {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); background: linear-gradient(135deg, var(--primary-green), #3d9b3d);
color: white; color: white;
} }
.animals-table th { .animals-table th {
padding: 16px; padding: 18px 16px;
text-align: left; text-align: left;
font-weight: 600; font-weight: 700;
font-size: 1rem; font-size: 1.05rem;
text-transform: uppercase;
letter-spacing: 0.5px;
} }
.animals-table td { .animals-table td {
padding: 14px 16px; padding: 16px;
border-bottom: 1px solid #f0f0f0; border-bottom: 2px solid #f0e8d8;
color: var(--text-dark);
} }
.animals-table tbody tr { .animals-table tbody tr {
transition: background-color 0.2s ease; transition: all 0.3s ease;
} }
.animals-table tbody tr:hover { .animals-table tbody tr:hover {
background-color: #f9f9f9; background-color: #f8f1e3;
} transform: scale(1.01);
.animals-table tbody tr:last-child td {
border-bottom: none;
} }
.actions-column { /* Formulário de cadastro */
display: flex;
gap: 8px;
flex-wrap: wrap;
}
/* Forms */
.form { .form {
max-width: 600px; max-width: 620px;
margin: 0 auto; margin: 0 auto;
} }
.form-group { .form-group {
margin-bottom: 20px; margin-bottom: 24px;
display: flex;
flex-direction: column;
} }
.form-group label { .form-group label {
color: #333; color: var(--wood-brown);
font-weight: 600; font-weight: 700;
margin-bottom: 8px; margin-bottom: 8px;
font-size: 1rem; font-size: 1.05rem;
display: flex;
align-items: center;
gap: 6px;
} }
.form-group input { .form-group input,
padding: 12px; .form-group select,
border: 2px solid #ddd; .form-group textarea {
border-radius: 6px; padding: 14px 18px;
border: 3px solid #d4c4a8;
border-radius: 12px;
font-family: 'Lexend', sans-serif; font-family: 'Lexend', sans-serif;
font-size: 1rem; 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; outline: none;
border-color: #667eea; border-color: var(--primary-green);
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.2);
} background: white;
.form-group input::placeholder {
color: #999;
} }
/* Ações do formulário */
.form-actions { .form-actions {
display: flex; display: flex;
gap: 12px; gap: 16px;
margin-top: 30px; margin-top: 40px;
justify-content: center; justify-content: center;
} }
/* Empty State */ /* Empty state com vibe de fazenda */
.empty-state { .empty-state {
text-align: center; text-align: center;
padding: 60px 20px; padding: 80px 20px;
color: #666; color: var(--wood-brown);
} }
.empty-state p { .empty-state p {
font-size: 1.2rem; font-size: 1.3rem;
margin-bottom: 20px; margin-bottom: 16px;
font-weight: 500;
} }
/* Responsive */ /* Responsive */
@media (max-width: 768px) { @media (max-width: 768px) {
.container { .container {
padding: 20px; padding: 24px;
border-radius: 16px;
} }
header h1 { header h1 {
font-size: 2rem; font-size: 2.2rem;
} }
.actions-column { .actions {
flex-direction: column; justify-content: center;
} margin-bottom: 50px;
.btn-edit,
.btn-delete {
width: 100%;
text-align: center;
}
.form-actions {
flex-direction: column;
} }
.form-actions .btn { .btn {
width: 100%; width: 100%;
text-align: center; justify-content: center;
} }
.animals-table th, .animals-table th,
.animals-table td { .animals-table td {
padding: 10px; padding: 12px 10px;
font-size: 0.9rem; font-size: 0.95rem;
} }
} }
@media (max-width: 480px) { @media (max-width: 480px) {
body { body {
padding: 10px; padding: 12px;
} }
.container { .container {
padding: 15px; padding: 20px;
border-radius: 8px; border-width: 4px;
} }
header h1 { header h1 {
font-size: 1.5rem; font-size: 1.8rem;
}
.subtitle {
font-size: 0.95rem;
}
.btn {
padding: 10px 16px;
font-size: 0.85rem;
}
.animals-table th,
.animals-table td {
padding: 8px;
} }
} }
\ 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