teste_docs / frontend /src /styles.css
Guilherme Silberfarb Costa
Alert when SIAT PDF skips venal value years
9ffa258
Raw
History Blame Contribute Delete
8.03 kB
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,700&display=swap");
:root {
--bg-1: #f7f8f2;
--bg-2: #f1efe1;
--panel: #fffdf7;
--ink: #1b1b19;
--ink-soft: #57574f;
--brand: #1c6e5a;
--brand-2: #d97c2b;
--line: #d8d3c0;
--error-bg: #ffe3df;
--error-ink: #7d2517;
--radius: 18px;
--shadow: 0 16px 36px rgba(25, 30, 22, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
color: var(--ink);
font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
background:
radial-gradient(circle at 10% 10%, rgba(217, 124, 43, 0.18), transparent 30%),
radial-gradient(circle at 90% 0%, rgba(28, 110, 90, 0.16), transparent 32%),
linear-gradient(160deg, var(--bg-1), var(--bg-2));
min-height: 100vh;
}
.loading-screen {
min-height: 100vh;
display: grid;
place-items: center;
font-size: 1.1rem;
}
.page-shell {
max-width: 1180px;
margin: 0 auto;
padding: 28px 20px 64px;
}
.hero-card {
background: linear-gradient(125deg, rgba(28, 110, 90, 0.12), rgba(217, 124, 43, 0.14));
border: 1px solid rgba(28, 110, 90, 0.24);
border-radius: 28px;
box-shadow: var(--shadow);
padding: 28px 30px;
animation: reveal 360ms ease-out;
}
.example-button {
border: 1px solid rgba(28, 110, 90, 0.55);
border-radius: 8px;
background: rgba(255, 255, 255, 0.72);
color: var(--brand);
cursor: pointer;
font-weight: 700;
padding: 10px 14px;
}
.example-button:hover {
background: #fff;
}
.form-actions {
display: grid;
gap: 7px;
margin-bottom: 8px;
}
.form-actions button {
width: 100%;
text-align: left;
}
.clear-button {
border: 1px solid #c9beb4;
border-radius: 8px;
background: rgba(255, 255, 255, 0.72);
color: #654d42;
cursor: pointer;
font-weight: 700;
padding: 10px 14px;
}
.clear-button:hover {
background: #fff8f3;
}
.kicker {
margin: 0;
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--brand);
font-size: 0.76rem;
font-weight: 700;
}
h1 {
margin: 6px 0 0;
font-family: "Source Serif 4", serif;
font-size: clamp(1.8rem, 3vw, 2.45rem);
line-height: 1.15;
letter-spacing: -0.025em;
}
.subtitle {
margin: 0;
max-width: 65ch;
color: var(--ink-soft);
}
.hero-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.ghost-button {
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(28, 110, 90, 0.4);
background: rgba(255, 255, 255, 0.6);
color: var(--brand);
border-radius: 999px;
text-decoration: none;
font-weight: 600;
padding: 10px 16px;
cursor: pointer;
transition: transform 160ms ease, background-color 160ms ease;
}
.ghost-button:hover {
transform: translateY(-1px);
background: rgba(255, 255, 255, 0.9);
}
.tabs-strip {
display: flex;
flex-direction: column;
gap: 7px;
position: sticky;
top: 20px;
align-self: start;
}
.tab-btn {
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.75);
color: var(--ink-soft);
border-radius: 10px;
padding: 11px 13px;
font-weight: 600;
text-align: left;
cursor: pointer;
transition: all 180ms ease;
}
.tab-btn:hover {
border-color: var(--brand);
color: var(--brand);
}
.tab-btn.active {
border-color: var(--brand);
color: #fff;
background: linear-gradient(120deg, var(--brand), #26866f);
box-shadow: 0 8px 18px rgba(28, 110, 90, 0.2);
}
.error-box {
margin-top: 14px;
background: var(--error-bg);
color: var(--error-ink);
border: 1px solid rgba(125, 37, 23, 0.25);
border-radius: 12px;
padding: 10px 12px;
}
.warning-box {
border: 1px solid #d99b2b;
border-radius: 10px;
background: #fff8e8;
color: #704600;
font-weight: 600;
line-height: 1.45;
padding: 12px 14px;
}
.tab-panel {
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 24px;
animation: reveal 280ms ease-out;
}
.workspace-layout {
display: grid;
grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
gap: 18px;
margin-top: 18px;
align-items: start;
}
.form-section {
display: grid;
gap: 14px;
}
h2,
h3 {
margin: 0;
font-family: "Source Serif 4", serif;
}
h2 {
font-size: 1.4rem;
}
h3 {
margin-top: 6px;
font-size: 1.1rem;
}
label {
display: grid;
gap: 7px;
font-weight: 600;
color: var(--ink-soft);
}
input,
select,
textarea,
button {
font: inherit;
}
input,
select,
textarea {
border: 1px solid #c9c4b4;
border-radius: 10px;
background: #ffffff;
color: var(--ink);
padding: 10px 12px;
}
textarea {
resize: vertical;
min-height: 80px;
}
input:focus,
select:focus,
textarea:focus {
border-color: var(--brand);
outline: 2px solid rgba(28, 110, 90, 0.15);
}
button {
border: 1px solid #ccc5b3;
background: #fff;
border-radius: 10px;
padding: 9px 12px;
cursor: pointer;
font-weight: 600;
transition: all 160ms ease;
}
button:hover {
border-color: var(--brand);
color: var(--brand);
}
button:disabled {
opacity: 0.62;
cursor: not-allowed;
}
.primary-btn {
border-color: var(--brand);
color: #fff;
background: linear-gradient(120deg, var(--brand), #24816c);
padding: 12px 18px;
}
.primary-btn:hover {
color: #fff;
transform: translateY(-1px);
}
.grid-2 {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.grid-3 {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.inline-buttons {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.motivo-row {
display: grid;
grid-template-columns: 1fr auto auto;
gap: 10px;
align-items: center;
background: #fbf9f0;
border: 1px solid #ece7d7;
border-radius: 12px;
padding: 10px;
}
.checkbox-line {
display: inline-flex;
gap: 6px;
align-items: center;
font-weight: 600;
}
.checkbox-line input {
margin: 0;
}
.upload-line {
display: flex;
gap: 10px;
flex-wrap: wrap;
align-items: flex-end;
}
.file-input-label {
display: grid;
gap: 8px;
}
.compact-row {
align-items: end;
}
.columns-section {
display: grid;
gap: 10px;
padding: 14px;
border: 1px solid #e4decc;
border-radius: 12px;
background: #fbf9f0;
}
.columns-heading {
display: flex;
gap: 12px;
justify-content: space-between;
align-items: flex-start;
}
.columns-heading h3 {
margin: 0 0 4px;
}
.columns-counter {
white-space: nowrap;
color: var(--brand);
font-size: 0.88rem;
font-weight: 700;
}
.columns-list {
display: grid;
gap: 6px;
max-height: 320px;
overflow-y: auto;
padding-right: 2px;
}
.column-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 7px 8px;
border: 1px solid #e4decc;
border-radius: 9px;
background: #fff;
}
.column-order-actions {
display: flex;
gap: 5px;
}
.column-order-actions button {
min-width: 36px;
padding: 5px 8px;
}
.result-card {
margin-top: 12px;
border: 1px solid rgba(28, 110, 90, 0.26);
background: rgba(28, 110, 90, 0.07);
border-radius: 12px;
padding: 12px;
}
.result-card p {
margin: 0 0 6px;
}
.download-link {
color: var(--brand);
font-weight: 700;
}
.muted-message {
margin: 0;
color: #666355;
}
@keyframes reveal {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 920px) {
.grid-3 {
grid-template-columns: 1fr;
}
.grid-2 {
grid-template-columns: 1fr;
}
.workspace-layout {
grid-template-columns: 1fr;
}
.tabs-strip {
flex-direction: row;
overflow-x: auto;
position: static;
padding-bottom: 4px;
}
.form-actions {
display: flex;
margin: 0;
}
.form-actions button {
width: max-content;
white-space: nowrap;
}
.tab-btn {
min-width: max-content;
}
.motivo-row {
grid-template-columns: 1fr;
}
.columns-heading {
flex-direction: column;
}
}