909 lines
20 KiB
SCSS
909 lines
20 KiB
SCSS
:host {
|
|
--brand: #E33DCF;
|
|
--blue: #030FAA;
|
|
--text: #111214;
|
|
--muted: rgba(17, 18, 20, 0.65);
|
|
|
|
--bg-vivo: #fbf5fc;
|
|
--text-vivo: #8a2be2;
|
|
|
|
--bg-line: #f5f6ff;
|
|
--text-line: #030FAA;
|
|
|
|
--success-bg: rgba(25, 135, 84, 0.1);
|
|
--success-text: #198754;
|
|
|
|
--warn-bg: rgba(255, 193, 7, 0.15);
|
|
--warn-text: #b58100;
|
|
|
|
--radius-xl: 22px;
|
|
--shadow-card: 0 22px 46px rgba(17, 18, 20, 0.10);
|
|
--glass-bg: rgba(255, 255, 255, 0.82);
|
|
--glass-border: 1px solid rgba(227, 61, 207, 0.16);
|
|
|
|
--page-top-gap: clamp(14px, 4vh, 40px);
|
|
--page-bottom-gap: clamp(110px, 14vh, 220px);
|
|
|
|
display: block;
|
|
font-family: 'Inter', sans-serif;
|
|
color: var(--text);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* PAGE BG */
|
|
.fat-page,
|
|
.fat-page * { box-sizing: border-box; }
|
|
|
|
.fat-page {
|
|
min-height: 100vh;
|
|
padding: 0 12px var(--page-bottom-gap);
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow-y: auto;
|
|
background:
|
|
radial-gradient(900px 420px at 20% 10%, rgba(227, 61, 207, 0.14), transparent 60%),
|
|
radial-gradient(820px 380px at 80% 30%, rgba(227, 61, 207, 0.08), transparent 60%),
|
|
linear-gradient(180deg, #ffffff 0%, #f5f5f7 70%);
|
|
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background: rgba(255, 255, 255, 0.25);
|
|
}
|
|
}
|
|
|
|
.page-blob {
|
|
position: fixed;
|
|
pointer-events: none;
|
|
border-radius: 999px;
|
|
filter: blur(34px);
|
|
opacity: 0.55;
|
|
z-index: 0;
|
|
background: radial-gradient(circle at 30% 30%, rgba(227,61,207,0.55), rgba(227,61,207,0.06));
|
|
animation: floaty 10s ease-in-out infinite;
|
|
|
|
&.blob-1 { width: 420px; height: 420px; top: -140px; left: -140px; }
|
|
&.blob-2 { width: 520px; height: 520px; top: -220px; right: -240px; animation-duration: 12s; }
|
|
&.blob-3 { width: 360px; height: 360px; bottom: -180px; left: 25%; animation-duration: 14s; }
|
|
&.blob-4 { width: 520px; height: 520px; bottom: -260px; right: -260px; animation-duration: 16s; opacity: .45; }
|
|
}
|
|
|
|
@keyframes floaty {
|
|
0% { transform: translate(0, 0) scale(1); }
|
|
50% { transform: translate(18px, 10px) scale(1.03); }
|
|
100% { transform: translate(0, 0) scale(1); }
|
|
}
|
|
|
|
.container-fat {
|
|
width: 100%;
|
|
max-width: 1240px;
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-top: var(--page-top-gap);
|
|
margin-bottom: var(--page-bottom-gap);
|
|
}
|
|
|
|
.fat-card {
|
|
border-radius: var(--radius-xl);
|
|
overflow: hidden;
|
|
background: var(--glass-bg);
|
|
border: var(--glass-border);
|
|
backdrop-filter: blur(12px);
|
|
box-shadow: var(--shadow-card);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: auto !important;
|
|
min-height: 80vh;
|
|
max-height: none !important;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 1px;
|
|
border-radius: calc(var(--radius-xl) - 1px);
|
|
pointer-events: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.65);
|
|
opacity: 0.75;
|
|
}
|
|
}
|
|
|
|
.fat-header {
|
|
padding: 16px 24px;
|
|
border-bottom: 1px solid rgba(17, 18, 20, 0.06);
|
|
background: linear-gradient(180deg, rgba(227,61,207,0.06), rgba(255,255,255,0.2));
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.header-row-top {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
gap: 12px;
|
|
|
|
@media (max-width: 768px) {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
gap: 16px;
|
|
|
|
.title-badge { justify-self: center; margin-bottom: 8px; }
|
|
.header-actions { justify-self: center; }
|
|
}
|
|
}
|
|
|
|
.title-badge {
|
|
justify-self: start;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.78);
|
|
border: 1px solid rgba(227, 61, 207, 0.22);
|
|
backdrop-filter: blur(10px);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
|
|
i { color: var(--brand); }
|
|
}
|
|
|
|
.header-title {
|
|
justify-self: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.title {
|
|
font-size: 26px;
|
|
font-weight: 950;
|
|
letter-spacing: -0.3px;
|
|
color: var(--text);
|
|
margin-top: 10px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.subtitle {
|
|
color: rgba(17, 18, 20, 0.65);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* FILTERS */
|
|
.filters-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.filter-tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 4px;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
border: 1px solid rgba(17, 18, 20, 0.08);
|
|
border-radius: 12px;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.filter-tab {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
color: var(--muted);
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
|
|
&:hover { color: var(--text); background: rgba(255, 255, 255, 0.5); }
|
|
|
|
&.active {
|
|
background: #fff;
|
|
color: var(--brand);
|
|
box-shadow: 0 2px 8px rgba(227, 61, 207, 0.15);
|
|
}
|
|
|
|
&:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
}
|
|
|
|
/* CLIENT MULTI SELECT */
|
|
.client-filter-wrap { position: relative; }
|
|
|
|
.btn-client-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(17, 18, 20, 0.08);
|
|
background: rgba(255, 255, 255, 0.6);
|
|
color: var(--muted);
|
|
font-weight: 700;
|
|
font-size: 0.85rem;
|
|
backdrop-filter: blur(8px);
|
|
transition: all 0.2s;
|
|
min-height: 38px;
|
|
height: auto;
|
|
flex-wrap: wrap;
|
|
|
|
&:hover { background: #fff; border-color: var(--blue); color: var(--blue); }
|
|
&.has-selection { background: #fff; border-color: var(--brand); }
|
|
}
|
|
|
|
.chips-container { display: flex; flex-wrap: wrap; gap: 6px; max-width: 520px; }
|
|
|
|
.client-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: rgba(227, 61, 207, 0.1);
|
|
color: var(--brand);
|
|
border: 1px solid rgba(227, 61, 207, 0.2);
|
|
border-radius: 6px;
|
|
padding: 2px 6px;
|
|
font-size: 0.75rem;
|
|
font-weight: 800;
|
|
user-select: none;
|
|
}
|
|
|
|
.chip-close {
|
|
margin-left: 6px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
width: 14px;
|
|
height: 14px;
|
|
|
|
&:hover { background: rgba(227, 61, 207, 0.2); color: #b91f9b; }
|
|
}
|
|
|
|
.client-dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
width: 340px;
|
|
max-height: 430px;
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
|
|
border: 1px solid rgba(17,18,20,0.08);
|
|
z-index: 100;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
animation: fadeIn 0.2s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(-10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.dropdown-header-search {
|
|
padding: 8px;
|
|
border-bottom: 1px solid rgba(0,0,0,0.05);
|
|
background: #f9fafb;
|
|
}
|
|
|
|
.dropdown-list { overflow-y: auto; max-height: 310px; }
|
|
|
|
.dropdown-item-custom {
|
|
padding: 10px 16px;
|
|
font-size: 0.85rem;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
border-bottom: 1px solid rgba(0,0,0,0.03);
|
|
|
|
&:hover { background: rgba(227,61,207,0.05); color: var(--brand); font-weight: 600; }
|
|
&.selected { background: rgba(227, 61, 207, 0.08); color: var(--brand); font-weight: 700; }
|
|
}
|
|
|
|
.dropdown-footer { padding: 10px; border-top: 1px solid rgba(0,0,0,0.05); background: #fff; }
|
|
|
|
/* CONTROLS */
|
|
.controls {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.search-group {
|
|
max-width: 360px;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: stretch;
|
|
background: #fff;
|
|
border: 1px solid rgba(17, 18, 20, 0.15);
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
|
|
|
|
&:focus-within {
|
|
border-color: var(--brand);
|
|
box-shadow: 0 4px 12px rgba(227, 61, 207, 0.15);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.input-group-text {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--muted);
|
|
padding-left: 14px;
|
|
padding-right: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.form-control {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 10px 0;
|
|
font-size: 0.9rem;
|
|
color: var(--text);
|
|
box-shadow: none;
|
|
|
|
&::placeholder { color: rgba(17, 18, 20, 0.4); font-weight: 500; }
|
|
&:focus { outline: none; }
|
|
}
|
|
|
|
.btn-clear {
|
|
display: inline-flex;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--muted);
|
|
padding: 0 12px;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
|
|
&:hover { color: #dc3545; }
|
|
}
|
|
}
|
|
|
|
.page-size { margin-left: auto; }
|
|
.select-wrapper { position: relative; display: inline-block; min-width: 90px; }
|
|
|
|
.select-glass {
|
|
appearance: none;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
border: 1px solid rgba(17, 18, 20, 0.15);
|
|
border-radius: 12px;
|
|
color: var(--blue);
|
|
font-weight: 800;
|
|
font-size: 0.9rem;
|
|
padding: 8px 36px 8px 14px;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
|
|
&:hover { background: #fff; border-color: var(--blue); transform: translateY(-1px); }
|
|
&:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(227, 61, 207, 0.15); }
|
|
}
|
|
|
|
.select-icon {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
color: var(--muted);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
/* KPIs */
|
|
.fat-kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: 12px;
|
|
width: 100%;
|
|
|
|
@media (max-width: 1100px) { grid-template-columns: repeat(3, 1fr); }
|
|
@media (max-width: 768px) { grid-template-columns: repeat(2, 1fr); }
|
|
@media (max-width: 576px) { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.kpi {
|
|
background: rgba(255,255,255,0.7);
|
|
border: 1px solid rgba(17,18,20,0.08);
|
|
border-radius: 16px;
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
backdrop-filter: blur(8px);
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.02);
|
|
min-width: 160px;
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 15px rgba(227, 61, 207, 0.1);
|
|
background: #fff;
|
|
border-color: var(--brand);
|
|
}
|
|
|
|
.lbl {
|
|
font-size: 0.72rem;
|
|
font-weight: 900;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.val {
|
|
font-size: 1.12rem;
|
|
font-weight: 950;
|
|
color: var(--text);
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.kpi-stack {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
|
|
.lbl,
|
|
.val {
|
|
white-space: normal;
|
|
}
|
|
|
|
.val {
|
|
line-height: 1.1;
|
|
}
|
|
}
|
|
|
|
.kpi-wide {
|
|
min-width: 220px;
|
|
padding: 14px 18px;
|
|
.val { font-size: 1.18rem; }
|
|
}
|
|
|
|
/* BODY */
|
|
.fat-body {
|
|
padding: 0;
|
|
background: transparent;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* ========================================================= */
|
|
/* ✅ GROUP VIEW (MUREG STYLE) */
|
|
/* ========================================================= */
|
|
.groups-container {
|
|
padding: 16px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.group-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.empty-group {
|
|
background: rgba(255,255,255,0.7);
|
|
border: 1px dashed rgba(17,18,20,0.12);
|
|
border-radius: 16px;
|
|
padding: 18px;
|
|
text-align: center;
|
|
font-weight: 800;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.client-group-card {
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(17,18,20,0.08);
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover { border-color: var(--brand); box-shadow: 0 4px 12px rgba(227,61,207,0.1); }
|
|
&.expanded { border-color: var(--brand); box-shadow: 0 8px 24px rgba(227,61,207,0.12); }
|
|
}
|
|
|
|
.group-header {
|
|
padding: 16px 24px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
background: linear-gradient(180deg, #fff, #fdfdfd);
|
|
|
|
&:hover .group-toggle-icon { color: var(--brand); }
|
|
}
|
|
|
|
.group-info { display: flex; flex-direction: column; gap: 6px; }
|
|
|
|
.group-badges { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
|
|
.badge-pill {
|
|
font-size: 0.7rem;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
|
|
&.total { background: rgba(3,15,170,0.1); color: var(--blue); }
|
|
&.lines { background: rgba(17,18,20,0.06); color: rgba(17,18,20,0.75); }
|
|
&.vivo { background: rgba(227,61,207,0.12); color: var(--brand); }
|
|
&.line { background: rgba(3,15,170,0.08); color: var(--blue); }
|
|
&.lucro { background: var(--success-bg); color: var(--success-text); }
|
|
}
|
|
|
|
.group-toggle-icon {
|
|
font-size: 1.2rem;
|
|
color: var(--muted);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.client-group-card.expanded .group-toggle-icon {
|
|
transform: rotate(180deg);
|
|
color: var(--brand);
|
|
}
|
|
|
|
.group-body {
|
|
border-top: 1px solid rgba(17,18,20,0.06);
|
|
background: #fbfbfc;
|
|
animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from { opacity: 0; transform: translateY(-10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.chip-muted {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.75rem;
|
|
font-weight: 800;
|
|
color: rgba(17,18,20,0.55);
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(17,18,20,0.04);
|
|
border: 1px solid rgba(17,18,20,0.06);
|
|
}
|
|
|
|
.inner-table-wrap { max-height: 520px; overflow: auto; }
|
|
|
|
/* TABLE */
|
|
.table-wrap { overflow: auto; height: 100%; }
|
|
|
|
.table-modern {
|
|
width: 100%;
|
|
min-width: 1200px;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
|
|
thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(8px);
|
|
border-bottom: 2px solid rgba(227, 61, 207, 0.15);
|
|
padding: 12px;
|
|
color: rgba(17, 18, 20, 0.7);
|
|
font-size: 0.8rem;
|
|
font-weight: 950;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
text-align: center !important;
|
|
}
|
|
|
|
tbody tr {
|
|
transition: background-color 0.2s;
|
|
&:hover { background-color: rgba(227, 61, 207, 0.05); }
|
|
td { border-bottom: 1px solid rgba(17,18,20,0.04); }
|
|
}
|
|
|
|
td {
|
|
padding: 12px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 0.875rem;
|
|
color: var(--text);
|
|
text-align: center !important;
|
|
}
|
|
}
|
|
|
|
.th-content { display: flex; align-items: center; justify-content: center; gap: 4px; }
|
|
.sort-caret { width: 14px; opacity: 0.3; &.active { opacity: 1; color: var(--brand); } }
|
|
.td-clip { overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
|
|
.empty-state { background: rgba(255,255,255,0.4); }
|
|
|
|
/* ACTIONS */
|
|
.action-group { display: flex; justify-content: center; gap: 6px; }
|
|
|
|
.btn-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
background: transparent;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(17,18,20,0.5);
|
|
transition: all 0.2s;
|
|
|
|
&:hover { background: rgba(17,18,20,0.05); color: var(--text); transform: translateY(-1px); }
|
|
&.success:hover { color: var(--success-text); background: var(--success-bg); }
|
|
}
|
|
|
|
/* FOOTER */
|
|
.fat-footer {
|
|
padding: 14px 24px;
|
|
border-top: 1px solid rgba(17, 18, 20, 0.06);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
flex-shrink: 0;
|
|
|
|
@media (max-width: 768px) { justify-content: center; text-align: center; }
|
|
}
|
|
|
|
.pagination-modern .page-link {
|
|
color: var(--blue);
|
|
font-weight: 900;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(17,18,20,0.1);
|
|
background: rgba(255,255,255,0.6);
|
|
margin: 0 2px;
|
|
|
|
&:hover { transform: translateY(-1px); border-color: var(--brand); color: var(--brand); }
|
|
}
|
|
|
|
.pagination-modern .page-item.active .page-link {
|
|
background-color: var(--blue);
|
|
border-color: var(--blue);
|
|
color: #fff;
|
|
}
|
|
|
|
/* UTIL COLORS */
|
|
.text-brand { color: var(--brand) !important; }
|
|
.text-vivo { color: var(--text-vivo) !important; }
|
|
.text-line { color: var(--blue) !important; }
|
|
.fw-black { font-weight: 950; }
|
|
|
|
/* MODALS (mantidos do seu arquivo) */
|
|
.modal-backdrop-custom {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.45);
|
|
z-index: 9990;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.modal-custom {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9995;
|
|
padding: 16px;
|
|
}
|
|
|
|
.modal-card {
|
|
background: #ffffff;
|
|
border: 1px solid rgba(255,255,255,0.8);
|
|
border-radius: 20px;
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(900px, 100%);
|
|
max-height: 90vh;
|
|
animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
@keyframes modalPop {
|
|
from { opacity: 0; transform: scale(0.95) translateY(10px); }
|
|
to { opacity: 1; transform: scale(1) translateY(0); }
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 16px 24px;
|
|
border-bottom: 1px solid rgba(0,0,0,0.06);
|
|
background: #fff;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.modal-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 800;
|
|
color: var(--text);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.icon-bg {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 10px;
|
|
background: rgba(3, 15, 170, 0.1);
|
|
color: var(--blue);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
&.success { background: var(--success-bg); color: var(--success-text); }
|
|
&.primary-soft { background: rgba(3, 15, 170, 0.1); color: var(--blue); }
|
|
}
|
|
|
|
.btn-icon { color: var(--muted); background: transparent; font-size: 1.2rem; &:hover { color: var(--brand); } }
|
|
}
|
|
|
|
.modal-body { padding: 24px; overflow-y: auto; &.bg-light-gray { background-color: #f8f9fa; } }
|
|
.modal-xl-custom { width: min(1100px, 95vw); max-height: 85vh; }
|
|
|
|
/* detalhes e comparativo (mantidos) */
|
|
.details-dashboard {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
|
|
@media (max-width: 992px) { grid-template-columns: repeat(2, 1fr); }
|
|
@media (max-width: 700px) { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.details-2col { grid-template-columns: 1fr 1fr; @media (max-width: 900px) { grid-template-columns: 1fr; } }
|
|
|
|
.detail-box {
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(0,0,0,0.05);
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.02);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.box-header.justify-content-center {
|
|
justify-content: center !important;
|
|
text-align: center;
|
|
background: rgba(227, 61, 207, 0.04);
|
|
color: var(--brand);
|
|
padding: 8px;
|
|
|
|
i { margin-right: 8px; color: var(--brand); }
|
|
}
|
|
|
|
.box-body { padding: 16px; }
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 8px;
|
|
background: rgba(245, 245, 247, 0.5);
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(0,0,0,0.03);
|
|
|
|
&.span-2 { grid-column: span 2; }
|
|
|
|
.lbl {
|
|
font-size: 0.65rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-weight: 800;
|
|
color: var(--muted);
|
|
margin-bottom: 2px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.val { font-size: 0.9rem; font-weight: 700; color: var(--text); word-break: break-word; }
|
|
}
|
|
|
|
/* Comparativo */
|
|
.finance-dashboard {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
@media(max-width: 700px) { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.finance-card {
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
|
|
border: 1px solid rgba(0,0,0,0.04);
|
|
overflow: hidden;
|
|
|
|
&.vivo-card {
|
|
border-top: 4px solid var(--brand);
|
|
.card-header-f { color: var(--brand); background: var(--bg-vivo); }
|
|
}
|
|
|
|
&.line-card {
|
|
border-top: 4px solid var(--blue);
|
|
.card-header-f { color: var(--blue); background: var(--bg-line); }
|
|
}
|
|
}
|
|
|
|
.card-header-f { padding: 12px 16px; font-weight: 800; font-size: 0.95rem; display: flex; align-items: center; }
|
|
|
|
.card-body-f {
|
|
padding: 16px;
|
|
|
|
.row-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
font-size: 0.85rem;
|
|
color: var(--muted);
|
|
|
|
strong { color: var(--text); font-weight: 700; }
|
|
|
|
&.total {
|
|
font-size: 1rem;
|
|
color: var(--text);
|
|
margin-top: 8px;
|
|
margin-bottom: 0;
|
|
strong { font-weight: 900; }
|
|
}
|
|
}
|
|
|
|
.divider { height: 1px; background: rgba(0,0,0,0.06); margin: 12px 0; }
|
|
}
|
|
|
|
.finance-summary {
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
padding: 16px 24px;
|
|
box-shadow: 0 2px 12px rgba(0,0,0,0.03);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
|
|
.summary-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
.lbl { font-size: 0.75rem; text-transform: uppercase; font-weight: 800; color: var(--muted); }
|
|
.val { font-size: 1.05rem; font-weight: 900; }
|
|
}
|
|
|
|
.vertical-line { width: 1px; height: 40px; background: rgba(0,0,0,0.08); }
|
|
}
|
|
|
|
/* Mobile */
|
|
@media (max-width: 576px) {
|
|
:host { --page-top-gap: 16px; --page-bottom-gap: 140px; }
|
|
.container-fat { max-width: 100%; }
|
|
.table-modern { min-width: 980px; }
|
|
.inner-table-wrap { max-height: 68vh; }
|
|
}
|