39401-vm/assets/css/custom.css
2026-03-30 17:47:50 +00:00

907 lines
17 KiB
CSS

:root {
--bg: #f7f7f5;
--bg-strong: #eef6f4;
--surface: rgba(255, 255, 255, 0.92);
--surface-solid: #ffffff;
--surface-muted: #f3f5f4;
--surface-glass: rgba(255, 255, 255, 0.74);
--text: #111827;
--muted: #5b6472;
--line: rgba(148, 163, 184, 0.18);
--line-strong: rgba(148, 163, 184, 0.34);
--accent: #111827;
--accent-2: #0f766e;
--accent-2-soft: rgba(15, 118, 110, 0.1);
--accent-3: #ea580c;
--accent-soft: rgba(17, 24, 39, 0.06);
--danger-soft: #fef2f2;
--danger-line: #fecaca;
--warn-soft: #fff7ed;
--warn-line: #fed7aa;
--ok-soft: #f0fdf4;
--ok-line: #bbf7d0;
--shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
--shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
--shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.12);
--radius-sm: 12px;
--radius-md: 20px;
--radius-lg: 28px;
}
html {
scroll-behavior: smooth;
}
body.app-body {
background:
radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 28%),
radial-gradient(circle at top right, rgba(234, 88, 12, 0.08), transparent 24%),
linear-gradient(180deg, #fbfbfa 0%, #f6f7f8 38%, #f3f5f4 100%);
color: var(--text);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
letter-spacing: -0.01em;
}
main {
min-height: calc(100vh - 140px);
}
.site-header,
.site-footer {
background: rgba(247, 247, 245, 0.86);
backdrop-filter: blur(16px);
}
.site-header {
border-color: rgba(148, 163, 184, 0.12) !important;
}
.nav-shell {
background: rgba(255, 255, 255, 0.62);
border: 1px solid rgba(255, 255, 255, 0.85);
border-radius: 999px;
padding: 0.5rem 0.9rem;
box-shadow: var(--shadow-sm);
}
.navbar-brand {
letter-spacing: -0.03em;
}
.navbar-toggler {
border: 1px solid rgba(148, 163, 184, 0.28);
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
z-index: 3;
}
.navbar-toggler:focus {
box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.16);
}
.navbar-toggler-icon {
width: 1.2rem;
height: 1.2rem;
}
.brand-mark {
width: 2.55rem;
height: 2.55rem;
border-radius: 18px;
display: inline-flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
color: #fff;
font-size: 1rem;
font-weight: 800;
box-shadow: 0 14px 26px rgba(17, 24, 39, 0.18);
}
.brand-mark-sm {
width: 2.15rem;
height: 2.15rem;
border-radius: 14px;
font-size: 0.92rem;
}
.brand-title,
.brand-subtitle {
display: block;
line-height: 1.05;
}
.brand-title {
font-size: 1rem;
}
.brand-subtitle {
color: var(--muted);
font-size: 0.74rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.nav-link {
color: var(--muted);
font-weight: 600;
padding-inline: 0.9rem !important;
}
.nav-link.active,
.nav-link:hover {
color: var(--text);
}
.hero-section,
.dashboard-head {
background: transparent;
}
.hero-shell,
.dashboard-hero {
position: relative;
}
.hero-blur {
position: absolute;
width: 18rem;
height: 18rem;
border-radius: 999px;
filter: blur(12px);
opacity: 0.8;
pointer-events: none;
}
.hero-blur-one {
top: -4rem;
right: 14%;
background: rgba(15, 118, 110, 0.14);
}
.hero-blur-two {
bottom: -5rem;
right: -2rem;
background: rgba(234, 88, 12, 0.12);
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 0.55rem;
font-size: 0.78rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent-2);
}
.eyebrow::before {
content: "";
width: 2rem;
height: 1px;
background: rgba(15, 118, 110, 0.4);
}
.display-title,
.section-title {
color: var(--text);
letter-spacing: -0.045em;
line-height: 1.02;
}
.display-title {
font-size: clamp(2.55rem, 5vw, 4.7rem);
max-width: 10.8ch;
}
.section-title {
font-size: clamp(1.85rem, 3vw, 2.75rem);
}
.section-copy {
max-width: 58ch;
}
.lead {
max-width: 58ch;
font-size: 1.08rem;
}
.surface-card,
.feature-card,
.process-card,
.metric-card,
.detail-box,
.cta-strip,
.list-card,
.quick-stat-card,
.dashboard-stat-card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
box-shadow: var(--shadow);
}
.surface-card {
padding: 1.45rem;
}
.surface-subsection {
background: rgba(255, 255, 255, 0.66);
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: 1rem 1.1rem;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.metric-card,
.quick-stat-card,
.dashboard-stat-card {
padding: 1rem 1.05rem;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 245, 244, 0.92));
}
.dashboard-stat-primary {
background: linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(15, 118, 110, 0.96));
color: #fff;
}
.dashboard-stat-primary .metric-label,
.dashboard-stat-primary .small,
.dashboard-stat-primary .text-muted {
color: rgba(255, 255, 255, 0.76) !important;
}
.dashboard-stat-alert {
border-color: rgba(234, 88, 12, 0.24);
background: linear-gradient(180deg, rgba(255, 247, 237, 0.95), rgba(255, 237, 213, 0.85));
}
.metric-label,
.detail-label {
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--muted);
margin-bottom: 0.35rem;
font-weight: 700;
}
.metric-value,
.detail-value {
font-size: 1.9rem;
font-weight: 800;
letter-spacing: -0.05em;
}
.detail-number {
font-size: 1rem;
font-weight: 700;
color: var(--text);
}
.hero-note span,
.dashboard-note-item,
.preview-note-item {
position: relative;
padding-left: 0.95rem;
}
.hero-note span::before,
.dashboard-note-item::before,
.preview-note-item::before {
content: "";
width: 0.42rem;
height: 0.42rem;
border-radius: 999px;
background: var(--accent-2);
position: absolute;
left: 0;
top: 0.42rem;
}
.hero-trust-grid {
max-width: 52rem;
}
.quick-stat-card {
min-height: 100%;
}
.quick-stat-value {
font-size: 1.05rem;
font-weight: 800;
color: var(--text);
margin-bottom: 0.35rem;
}
.quick-stat-label {
font-size: 0.88rem;
color: var(--muted);
line-height: 1.45;
}
.hero-preview-card {
position: relative;
overflow: hidden;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 246, 0.94)),
linear-gradient(135deg, rgba(15, 118, 110, 0.06), transparent 55%);
border-radius: var(--radius-lg);
}
.hero-preview-card::after {
content: "";
position: absolute;
inset: auto -3rem -3rem auto;
width: 11rem;
height: 11rem;
border-radius: 30px;
background: linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(15, 118, 110, 0.14));
transform: rotate(18deg);
}
.mini-list-preview,
.mini-list {
position: relative;
z-index: 1;
}
.preview-row,
.list-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
padding: 0.9rem 0;
border-top: 1px solid var(--line);
color: inherit;
}
.preview-row:first-of-type,
.list-row:first-of-type {
border-top: 0;
}
.preview-row:hover,
.list-row:hover {
opacity: 0.92;
}
.preview-note-card,
.empty-inline {
border: 1px dashed var(--line-strong);
border-radius: var(--radius-sm);
padding: 1rem;
color: var(--muted);
background: rgba(255, 255, 255, 0.68);
}
.feature-card,
.process-card,
.detail-box,
.cta-strip,
.list-card,
.auth-side,
.auth-form-card {
backdrop-filter: blur(12px);
}
.feature-card,
.process-card {
padding: 1.3rem;
}
.feature-card-accent {
position: relative;
overflow: hidden;
}
.feature-card-accent::after {
content: "";
position: absolute;
inset: auto -1.8rem -2.5rem auto;
width: 7rem;
height: 7rem;
border-radius: 24px;
background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(234, 88, 12, 0.08));
transform: rotate(24deg);
}
.feature-icon-pill,
.process-step {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.25rem;
height: 2.25rem;
border-radius: 999px;
background: var(--accent-2-soft);
color: var(--accent-2);
font-weight: 800;
font-size: 0.84rem;
}
.process-step {
margin-bottom: 0.9rem;
}
.workflow-panel {
padding: 1.15rem;
}
.cta-strip {
padding: 1.45rem 1.5rem;
}
.cta-strong {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 247, 0.92));
}
.summary-chip {
display: inline-flex;
align-items: center;
gap: 0.45rem;
padding: 0.58rem 0.9rem;
border-radius: 999px;
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.72);
color: var(--text);
font-size: 0.9rem;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.summary-chip-alert {
border-color: var(--danger-line);
background: var(--danger-soft);
}
.badge-soft {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.48rem 0.82rem;
border-radius: 999px;
background: rgba(15, 118, 110, 0.08);
border: 1px solid rgba(15, 118, 110, 0.16);
color: var(--accent-2);
font-size: 0.78rem;
font-weight: 700;
}
.form-label {
font-size: 0.92rem;
font-weight: 700;
color: var(--text);
}
.form-control,
.form-select {
min-height: 48px;
border-color: var(--line-strong);
border-radius: 14px;
box-shadow: none;
background: rgba(255, 255, 255, 0.92);
}
textarea.form-control {
min-height: auto;
}
.form-control:focus,
.form-select:focus,
.btn:focus,
.nav-link:focus {
box-shadow: 0 0 0 0.24rem rgba(15, 118, 110, 0.12);
border-color: rgba(15, 118, 110, 0.44);
}
.btn {
border-radius: 14px;
font-weight: 700;
padding-inline: 1rem;
}
.btn-dark {
background: linear-gradient(135deg, var(--accent) 0%, #1f3b4d 100%);
border-color: transparent;
box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.btn-dark:hover,
.btn-dark:focus {
background: linear-gradient(135deg, #0b1120 0%, #173041 100%);
border-color: transparent;
}
.btn-outline-secondary {
border-color: rgba(148, 163, 184, 0.34);
color: var(--text);
background: rgba(255, 255, 255, 0.66);
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
background: rgba(17, 24, 39, 0.04);
color: var(--text);
border-color: rgba(15, 118, 110, 0.26);
}
.sticky-card {
position: sticky;
top: 6.2rem;
}
.form-helper-row {
display: flex;
flex-wrap: wrap;
gap: 0.55rem;
}
.dashboard-summary-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.dashboard-summary-grid-wide {
align-items: stretch;
}
.dashboard-note-card {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 244, 0.9));
}
.dashboard-form-card,
.dashboard-list-panel,
.admin-info-card {
background: rgba(255, 255, 255, 0.84);
}
.list-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
}
.list-card {
padding: 1.15rem;
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.list-card:hover {
transform: translateY(-2px);
border-color: rgba(15, 118, 110, 0.26);
}
.list-card-highlight {
border-color: rgba(15, 118, 110, 0.34);
box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.22), var(--shadow-strong);
}
.list-meta-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.85rem;
}
.detail-metadata {
display: flex;
flex-wrap: wrap;
gap: 0.7rem 1rem;
color: var(--muted);
font-size: 0.88rem;
}
.detail-metadata span {
position: relative;
padding-left: 0.8rem;
}
.detail-metadata span::before {
content: "";
position: absolute;
width: 0.28rem;
height: 0.28rem;
border-radius: 999px;
background: rgba(15, 118, 110, 0.5);
left: 0;
top: 0.45rem;
}
.detail-metadata.stacked {
flex-direction: column;
gap: 0.55rem;
}
.status-pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.42rem 0.76rem;
border-radius: 999px;
font-size: 0.8rem;
font-weight: 800;
white-space: nowrap;
border: 1px solid transparent;
}
.status-pill.large {
font-size: 0.95rem;
padding: 0.58rem 0.95rem;
}
.status-overdue {
background: var(--danger-soft);
color: #991b1b;
border-color: var(--danger-line);
}
.status-soon {
background: var(--warn-soft);
color: #9a3412;
border-color: var(--warn-line);
}
.status-ok {
background: var(--ok-soft);
color: #166534;
border-color: var(--ok-line);
}
.status-neutral {
background: #f5f5f5;
color: #52525b;
border-color: #e4e4e7;
}
.muted-panel {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 247, 246, 0.92));
}
.empty-state {
border: 1px dashed var(--line-strong);
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.68);
}
.detail-card,
.admin-card {
padding: 1.5rem;
}
.detail-box {
padding: 1rem;
height: 100%;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 245, 244, 0.88));
}
.side-panel {
position: sticky;
top: 6.2rem;
}
.filter-button.is-active {
background: linear-gradient(135deg, var(--accent) 0%, #173041 100%);
color: #fff;
border-color: transparent;
}
.list-card.is-hidden {
display: none;
}
.app-toast {
min-width: min(92vw, 360px);
}
code {
background: #f4f4f5;
border: 1px solid #e4e4e7;
border-radius: 6px;
padding: 0.15rem 0.4rem;
}
.nav-user-badge {
display: inline-flex;
align-items: center;
padding: 0.48rem 0.85rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.82);
border: 1px solid var(--line);
color: var(--text);
font-size: 0.88rem;
font-weight: 700;
}
.auth-shell {
position: relative;
}
.auth-side,
.auth-form-card {
height: 100%;
}
.auth-side {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 246, 243, 0.94));
}
.auth-form-card {
max-width: 34rem;
margin-inline: auto;
background: rgba(255, 255, 255, 0.92);
}
.auth-feature-item {
display: flex;
flex-direction: column;
gap: 0.3rem;
padding: 0.95rem 1rem;
border-radius: 16px;
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.6);
}
.auth-feature-item strong {
color: var(--text);
}
.auth-feature-item span {
color: var(--muted);
line-height: 1.5;
}
.footer-shell {
gap: 2rem;
}
.footer-brand {
max-width: 38rem;
}
.section-soft {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.52));
}
@media (max-width: 1199.98px) {
.dashboard-summary-grid,
.list-meta-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 991.98px) {
.nav-shell {
border-radius: 28px;
align-items: flex-start !important;
}
.navbar-toggler {
margin-left: auto;
flex-shrink: 0;
}
.navbar-collapse {
width: 100%;
flex-basis: 100%;
padding-top: 0.9rem;
}
.navbar-nav {
align-items: stretch !important;
}
.navbar-nav .nav-link,
.navbar-nav .btn,
.nav-user-badge {
width: 100%;
}
.navbar-nav .btn {
justify-content: center;
}
.sticky-card,
.side-panel {
position: static;
}
.dashboard-summary-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 767.98px) {
.nav-shell {
padding: 0.7rem 0.9rem;
}
.brand-subtitle {
display: none;
}
.list-meta-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 575.98px) {
.surface-card,
.detail-card,
.admin-card,
.workflow-panel {
padding: 1rem;
}
.preview-row,
.list-row {
align-items: flex-start;
flex-direction: column;
}
.display-title {
max-width: none;
}
}
.brand-mark-image {
padding: 0.2rem;
background: rgba(255, 255, 255, 0.92);
}
.brand-mark img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: inherit;
}
.admin-section-card {
height: 100%;
}
.admin-branding-preview {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
padding: 1rem;
border: 1px dashed rgba(148, 163, 184, 0.35);
border-radius: var(--radius-sm);
background: rgba(255, 255, 255, 0.72);
}
.admin-brand-preview,
.admin-favicon-preview {
display: block;
background: #fff;
border: 1px solid var(--line);
border-radius: 14px;
}
.admin-brand-preview {
width: auto;
max-width: 100%;
max-height: 64px;
padding: 0.5rem 0.75rem;
}
.admin-favicon-preview {
width: 40px;
height: 40px;
object-fit: contain;
padding: 0.35rem;
}
@media (max-width: 767.98px) {
.admin-branding-preview {
grid-template-columns: 1fr;
}
}