39546-vm/staticfiles/css/custom.css
2026-04-11 02:09:51 +00:00

841 lines
16 KiB
CSS

/* TrustForge design system */
:root {
--tf-bg: #f4f7f6;
--tf-surface: rgba(255, 255, 255, 0.82);
--tf-surface-strong: #ffffff;
--tf-surface-dark: #0f172a;
--tf-border: rgba(15, 23, 42, 0.08);
--tf-primary: #0f766e;
--tf-primary-deep: #115e59;
--tf-secondary: #1e293b;
--tf-accent: #f97316;
--tf-accent-soft: #fff1e8;
--tf-success: #15803d;
--tf-text: #0f172a;
--tf-muted: #64748b;
--tf-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
--tf-shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.08);
--tf-radius-xl: 28px;
--tf-radius-lg: 22px;
--tf-radius-md: 16px;
--tf-spacing: 1.5rem;
}
html {
scroll-behavior: smooth;
}
body.trustforge-body {
font-family: 'Inter', system-ui, sans-serif;
color: var(--tf-text);
background:
radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 35%),
radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 28%),
linear-gradient(180deg, #fbfcfb 0%, var(--tf-bg) 100%);
min-height: 100vh;
position: relative;
}
h1, h2, h3, h4, h5, .navbar-brand, .tf-display, .tf-section-title, .tf-page-title {
font-family: 'Space Grotesk', 'Inter', sans-serif;
letter-spacing: -0.03em;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
color: inherit;
}
.tf-background-glow {
position: fixed;
border-radius: 999px;
filter: blur(60px);
pointer-events: none;
z-index: 0;
opacity: 0.85;
}
.tf-background-glow-1 {
width: 320px;
height: 320px;
background: rgba(15, 118, 110, 0.12);
top: 10%;
left: -4%;
}
.tf-background-glow-2 {
width: 360px;
height: 360px;
background: rgba(249, 115, 22, 0.10);
right: -6%;
top: 12%;
}
main, .tf-site-header, .tf-footer {
position: relative;
z-index: 1;
}
.py-lg-6 {
padding-top: 5rem !important;
padding-bottom: 5rem !important;
}
.tf-navbar {
background: rgba(255, 255, 255, 0.74);
backdrop-filter: blur(18px);
border-bottom: 1px solid rgba(255, 255, 255, 0.68);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.tf-brand {
display: inline-flex;
align-items: center;
gap: 0.8rem;
font-weight: 700;
color: var(--tf-secondary);
}
.tf-brand-mark {
width: 42px;
height: 42px;
border-radius: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--tf-primary), #2dd4bf);
color: white;
box-shadow: 0 12px 30px rgba(15, 118, 110, 0.28);
}
.tf-nav-toggle {
border: 0;
}
.tf-navbar .nav-link {
color: var(--tf-muted);
font-weight: 600;
padding: 0.6rem 0.95rem;
border-radius: 999px;
}
.tf-navbar .nav-link:hover,
.tf-navbar .nav-link:focus {
background: rgba(15, 118, 110, 0.08);
color: var(--tf-primary-deep);
}
.tf-btn {
border-radius: 999px;
padding: 0.85rem 1.35rem;
font-weight: 700;
border: 0;
box-shadow: var(--tf-shadow-soft);
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.tf-btn:hover,
.tf-btn:focus {
transform: translateY(-1px);
box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}
.tf-btn-primary {
background: linear-gradient(135deg, var(--tf-primary), #14b8a6);
color: #fff;
}
.tf-btn-primary:hover,
.tf-btn-primary:focus {
color: #fff;
}
.tf-btn-secondary {
background: rgba(255, 255, 255, 0.72);
color: var(--tf-secondary);
border: 1px solid rgba(15, 23, 42, 0.08);
}
.tf-alert {
border-radius: 18px;
border: 1px solid rgba(15, 118, 110, 0.12);
background: rgba(236, 253, 245, 0.88);
color: var(--tf-primary-deep);
box-shadow: var(--tf-shadow-soft);
}
.tf-hero-section {
overflow: hidden;
}
.tf-eyebrow {
display: inline-flex;
align-items: center;
gap: 0.5rem;
border-radius: 999px;
background: rgba(15, 118, 110, 0.08);
color: var(--tf-primary-deep);
padding: 0.5rem 0.95rem;
font-size: 0.82rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.tf-eyebrow-light {
background: rgba(255, 255, 255, 0.08);
color: #cbd5e1;
}
.tf-display {
font-size: clamp(2.75rem, 7vw, 5.2rem);
line-height: 0.98;
max-width: 13ch;
}
.tf-lead,
.tf-page-subtitle {
color: var(--tf-muted);
font-size: 1.08rem;
line-height: 1.75;
max-width: 62ch;
}
.tf-page-title {
font-size: clamp(2rem, 4vw, 3.3rem);
margin-bottom: 0.75rem;
}
.tf-section-title {
font-size: clamp(1.75rem, 3.2vw, 2.6rem);
margin-bottom: 0;
}
.tf-stat-row span,
.tf-metric-card span {
display: block;
font-family: 'Space Grotesk', sans-serif;
font-size: 2rem;
line-height: 1;
color: var(--tf-secondary);
margin-bottom: 0.35rem;
}
.tf-stat-chip,
.tf-metric-card {
background: rgba(255, 255, 255, 0.72);
border: 1px solid rgba(255, 255, 255, 0.7);
border-radius: var(--tf-radius-md);
padding: 1.1rem 1rem;
box-shadow: var(--tf-shadow-soft);
color: var(--tf-muted);
}
.tf-device-card,
.tf-panel,
.tf-proof-card,
.tf-empty-state {
background: var(--tf-surface);
backdrop-filter: blur(18px);
border: 1px solid rgba(255, 255, 255, 0.75);
border-radius: var(--tf-radius-xl);
box-shadow: var(--tf-shadow);
}
.tf-device-card {
padding: 1.25rem;
position: relative;
overflow: hidden;
}
.tf-device-card::after {
content: '';
position: absolute;
width: 160px;
height: 160px;
background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), transparent);
border-radius: 36px;
right: -30px;
bottom: -40px;
transform: rotate(18deg);
}
.tf-device-header {
display: flex;
gap: 0.45rem;
margin-bottom: 1rem;
}
.tf-device-header span {
width: 12px;
height: 12px;
border-radius: 999px;
background: rgba(15, 23, 42, 0.16);
}
.tf-device-body {
position: relative;
z-index: 1;
}
.tf-mini-step,
.tf-activity-row,
.tf-proof-mini {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
padding: 1rem 1.1rem;
border-radius: 18px;
background: rgba(255, 255, 255, 0.72);
border: 1px solid rgba(15, 23, 42, 0.06);
}
.tf-mini-step.active {
color: var(--tf-secondary);
font-weight: 700;
}
.tf-proof-preview,
.tf-panel {
padding: 1.5rem;
}
.tf-panel-dark {
background: linear-gradient(135deg, #0f172a, #1e293b);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.tf-panel-icon {
width: 52px;
height: 52px;
border-radius: 18px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(15, 118, 110, 0.10);
margin-bottom: 1rem;
font-size: 1.25rem;
}
.tf-proof-media-grid,
.tf-proof-media-grid-large,
.tf-proof-media-grid-static {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.85rem;
}
.tf-proof-media-grid-static {
grid-template-columns: 1fr;
}
.tf-photo-slot {
position: relative;
isolation: isolate;
overflow: hidden;
min-height: 170px;
border-radius: 20px;
background:
linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(15, 118, 110, 0.82));
color: rgba(255,255,255,0.92);
font-weight: 700;
display: flex;
align-items: end;
justify-content: start;
padding: 1rem;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.tf-photo-slot::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.56));
z-index: 1;
}
.tf-photo-slot-after {
background: linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(45, 212, 191, 0.86));
}
.tf-photo-slot-has-media {
background: rgba(15, 23, 42, 0.95);
}
.tf-photo-image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
}
.tf-photo-label {
position: relative;
z-index: 2;
display: inline-flex;
align-items: center;
padding: 0.5rem 0.8rem;
border-radius: 999px;
background: rgba(15, 23, 42, 0.42);
backdrop-filter: blur(8px);
}
.tf-empty-proof {
border-radius: 22px;
background: rgba(248, 250, 252, 0.72);
padding: 1rem;
}
.tf-proof-card-link {
display: block;
height: 100%;
}
.tf-proof-card {
overflow: hidden;
}
.tf-proof-card-large .tf-proof-media-grid-large .tf-photo-slot {
min-height: 240px;
}
.tf-proof-card-body {
padding: 1.35rem;
}
.tf-card-tag {
display: inline-flex;
align-items: center;
padding: 0.45rem 0.8rem;
border-radius: 999px;
background: rgba(15, 118, 110, 0.08);
color: var(--tf-primary-deep);
font-size: 0.85rem;
font-weight: 700;
}
.tf-badge-verified,
.tf-rating-pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.42rem 0.75rem;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 800;
}
.tf-badge-verified {
background: rgba(21, 128, 61, 0.10);
color: var(--tf-success);
}
.tf-rating-pill {
background: var(--tf-accent-soft);
color: var(--tf-accent);
}
.tf-status-pill {
display: inline-flex;
align-items: center;
gap: 0.4rem;
border-radius: 999px;
padding: 0.4rem 0.7rem;
font-size: 0.78rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.tf-status-completed,
.tf-status-draft {
background: rgba(15, 23, 42, 0.08);
color: var(--tf-secondary);
}
.tf-status-review_requested,
.tf-status-sent,
.tf-status-viewed {
background: rgba(249, 115, 22, 0.12);
color: var(--tf-accent);
}
.tf-status-proof_ready,
.tf-status-published,
.tf-status-responded {
background: rgba(21, 128, 61, 0.12);
color: var(--tf-success);
}
.tf-status-hidden {
background: rgba(100, 116, 139, 0.12);
color: var(--tf-muted);
}
.tf-inline-link {
color: var(--tf-primary-deep);
font-weight: 700;
}
.tf-inline-link:hover,
.tf-inline-link:focus {
color: var(--tf-primary);
}
.tf-activity-row-soft {
background: rgba(248, 250, 252, 0.9);
}
.tf-activity-link,
.tf-proof-mini {
color: inherit;
}
.tf-proof-mini {
text-decoration: none;
}
.tf-table thead th {
border-bottom-width: 0;
color: var(--tf-muted);
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.04em;
padding: 1.1rem 1.25rem;
}
.tf-table tbody td {
padding: 1.1rem 1.25rem;
border-color: rgba(15, 23, 42, 0.06);
}
.tf-detail-box {
background: rgba(248, 250, 252, 0.92);
border-radius: 18px;
padding: 1rem;
border: 1px solid rgba(15, 23, 42, 0.06);
}
.tf-detail-box span {
display: block;
color: var(--tf-muted);
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.06em;
margin-bottom: 0.35rem;
}
.tf-detail-box strong {
display: block;
font-size: 1rem;
}
.tf-check-row {
display: flex;
gap: 0.9rem;
align-items: center;
font-weight: 600;
}
.tf-check-row span {
width: 34px;
height: 34px;
border-radius: 12px;
background: rgba(15, 118, 110, 0.12);
color: var(--tf-primary-deep);
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 800;
}
.tf-check-field {
background: rgba(248, 250, 252, 0.92);
padding: 1rem;
border-radius: 18px;
border: 1px solid rgba(15, 23, 42, 0.06);
}
.tf-sticky-panel {
top: 6rem;
}
.tf-feedback-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.tf-feedback-option {
position: relative;
display: flex;
align-items: center;
justify-content: center;
min-height: 96px;
border-radius: 22px;
background: rgba(248, 250, 252, 0.92);
border: 1px solid rgba(15, 23, 42, 0.06);
font-weight: 700;
cursor: pointer;
}
.tf-feedback-option input {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
}
.tf-feedback-option:has(input:checked) {
border-color: rgba(15, 118, 110, 0.55);
background: rgba(236, 253, 245, 0.95);
color: var(--tf-primary-deep);
box-shadow: 0 12px 28px rgba(15, 118, 110, 0.14);
}
.tf-testimonial {
font-size: 1.1rem;
line-height: 1.8;
color: var(--tf-secondary);
border-left: 4px solid rgba(15, 118, 110, 0.22);
padding-left: 1rem;
}
.tf-panel-centered {
padding: 2rem;
}
.tf-footer {
border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.tf-footer-brand {
font-family: 'Space Grotesk', sans-serif;
font-size: 1.1rem;
font-weight: 700;
margin-bottom: 0.35rem;
}
.form-control,
.form-select {
min-height: 50px;
border-radius: 16px;
border-color: rgba(15, 23, 42, 0.10);
box-shadow: none;
}
textarea.form-control {
min-height: 120px;
}
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus {
border-color: rgba(15, 118, 110, 0.4);
box-shadow: 0 0 0 0.25rem rgba(15, 118, 110, 0.15);
}
@media (max-width: 991.98px) {
.tf-display {
max-width: 100%;
}
.tf-feedback-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 767.98px) {
.tf-device-card,
.tf-panel,
.tf-proof-card,
.tf-empty-state {
border-radius: 22px;
}
.tf-proof-media-grid,
.tf-proof-media-grid-large {
grid-template-columns: 1fr;
}
.tf-photo-slot,
.tf-proof-card-large .tf-proof-media-grid-large .tf-photo-slot {
min-height: 180px;
}
}
.tf-user-menu {
border: 1px solid rgba(15, 23, 42, 0.06);
background: rgba(255, 255, 255, 0.78);
border-radius: 999px;
padding: 0.8rem 1rem;
box-shadow: var(--tf-shadow-soft);
color: var(--tf-secondary);
font-weight: 700;
}
.tf-user-menu:hover,
.tf-user-menu:focus {
color: var(--tf-primary-deep);
}
.tf-user-dropdown {
border-radius: 18px;
border: 1px solid rgba(15, 23, 42, 0.08);
box-shadow: var(--tf-shadow-soft);
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.tf-user-dropdown .dropdown-item {
font-weight: 600;
color: var(--tf-secondary);
border-radius: 12px;
}
.tf-user-dropdown .dropdown-item:hover,
.tf-user-dropdown .dropdown-item:focus,
.tf-logout-link:hover,
.tf-logout-link:focus {
background: rgba(15, 118, 110, 0.08);
color: var(--tf-primary-deep);
}
.tf-logout-link {
background: transparent;
border: 0;
width: 100%;
text-align: left;
padding: 0.5rem 0.75rem;
}
.tf-auth-card {
max-width: 720px;
margin: 0 auto;
}
.tf-auth-points {
display: grid;
gap: 0.9rem;
}
@media (max-width: 991.98px) {
.tf-user-menu {
width: 100%;
justify-content: center;
}
}
.tf-workspace-chip {
display: inline-flex;
align-items: center;
gap: 0.85rem;
padding: 0.55rem 0.9rem;
border-radius: 999px;
background: rgba(15, 118, 110, 0.12);
border: 1px solid rgba(15, 118, 110, 0.16);
color: #0f3f3b;
}
.tf-workspace-chip strong,
.tf-dropdown-label strong {
display: block;
font-size: 0.92rem;
}
.tf-workspace-chip small,
.tf-dropdown-label span {
display: block;
color: rgba(30, 41, 59, 0.72);
font-size: 0.75rem;
}
.tf-workspace-chip-mark {
width: 2rem;
height: 2rem;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #0f766e, #14b8a6);
color: white;
font-size: 0.8rem;
font-weight: 700;
}
.tf-dropdown-label,
.tf-dropdown-section {
color: #0f172a;
font-size: 0.82rem;
}
.tf-workspace-switch {
border-radius: 0.85rem;
}
.tf-workspace-switch small {
display: block;
color: rgba(30, 41, 59, 0.7);
}
.tf-workspace-switch.active {
background: rgba(15, 118, 110, 0.08);
}
.tf-inline-stat {
padding: 0.9rem 1rem;
border-radius: 1rem;
background: rgba(15, 118, 110, 0.08);
border: 1px solid rgba(15, 118, 110, 0.15);
}
.tf-inline-stat span {
display: block;
font-size: 0.78rem;
color: rgba(30, 41, 59, 0.7);
}
.tf-inline-stat strong {
display: block;
color: #0f172a;
}
.tf-role-card,
.tf-team-member {
display: flex;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.1rem;
border-radius: 1rem;
background: rgba(255, 255, 255, 0.7);
border: 1px solid rgba(15, 118, 110, 0.12);
}
.tf-role-card {
flex-direction: column;
}
.tf-role-card span {
color: rgba(30, 41, 59, 0.76);
}
.tf-team-member-active {
box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.18);
}
.tf-role-pill {
background: rgba(249, 115, 22, 0.14);
color: #9a3412;
}