Complete MVP implementation including: - PHP 8.4 backend with Front Controller pattern (80+ API endpoints) - Multi-tenant architecture with organization_id isolation - JWT authentication (HS256, 2h access + 7d refresh tokens) - 14 controllers: Auth, Organization, Assessment, Dashboard, Risk, Incident, Policy, SupplyChain, Training, Asset, Audit, Admin - AI Service integration (Anthropic Claude API) for gap analysis, risk suggestions, policy generation, incident classification - NIS2 gap analysis questionnaire (~80 questions, 10 categories) - MySQL schema (20 tables) with NIS2 Art. 21 compliance controls - NIS2 Art. 23 incident reporting workflow (24h/72h/30d) - Frontend: login, register, dashboard, assessment wizard, org setup - Docker configuration (PHP-FPM + Nginx + MySQL) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1642 lines
36 KiB
CSS
1642 lines
36 KiB
CSS
/* ═══════════════════════════════════════════════════════════════════
|
|
NIS2 Agile - Main Stylesheet
|
|
Professional compliance management UI
|
|
═══════════════════════════════════════════════════════════════════ */
|
|
|
|
/* ── CSS Variables ────────────────────────────────────────────────── */
|
|
:root {
|
|
/* Primary palette */
|
|
--primary: #1a73e8;
|
|
--primary-light: #4a9af5;
|
|
--primary-dark: #1557b0;
|
|
--primary-bg: #e8f0fe;
|
|
|
|
/* Status colors */
|
|
--secondary: #34a853;
|
|
--secondary-light: #5cb876;
|
|
--secondary-bg: #e6f4ea;
|
|
--warning: #fbbc04;
|
|
--warning-light: #fdd663;
|
|
--warning-bg: #fef7e0;
|
|
--danger: #ea4335;
|
|
--danger-light: #f28b82;
|
|
--danger-bg: #fce8e6;
|
|
--info: #4285f4;
|
|
--info-bg: #e8f0fe;
|
|
|
|
/* Neutrals */
|
|
--gray-50: #f8fafc;
|
|
--gray-100: #f1f5f9;
|
|
--gray-200: #e2e8f0;
|
|
--gray-300: #cbd5e1;
|
|
--gray-400: #94a3b8;
|
|
--gray-500: #64748b;
|
|
--gray-600: #475569;
|
|
--gray-700: #334155;
|
|
--gray-800: #1e293b;
|
|
--gray-900: #0f172a;
|
|
|
|
/* Sidebar */
|
|
--sidebar-bg: #1e293b;
|
|
--sidebar-hover: #334155;
|
|
--sidebar-active: #1a73e8;
|
|
--sidebar-text: #94a3b8;
|
|
--sidebar-text-active: #ffffff;
|
|
--sidebar-width: 260px;
|
|
|
|
/* Layout */
|
|
--content-bg: #f1f5f9;
|
|
--card-bg: #ffffff;
|
|
--card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
|
|
--card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
|
|
--border-radius: 8px;
|
|
--border-radius-lg: 12px;
|
|
--border-radius-sm: 4px;
|
|
|
|
/* Typography */
|
|
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
--font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
|
|
|
|
/* Transitions */
|
|
--transition-fast: 150ms ease;
|
|
--transition: 250ms ease;
|
|
}
|
|
|
|
/* ── Reset & Base ─────────────────────────────────────────────────── */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family);
|
|
background: var(--content-bg);
|
|
color: var(--gray-700);
|
|
line-height: 1.6;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* ── Layout ───────────────────────────────────────────────────────── */
|
|
.app-layout {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
width: var(--sidebar-width);
|
|
background: var(--sidebar-bg);
|
|
color: var(--sidebar-text);
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 100;
|
|
transition: transform var(--transition);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
padding: 24px 20px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.sidebar-brand-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
background: var(--primary);
|
|
border-radius: var(--border-radius);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-brand-icon svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: #fff;
|
|
}
|
|
|
|
.sidebar-brand h1 {
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.sidebar-brand span {
|
|
font-size: 0.7rem;
|
|
color: var(--sidebar-text);
|
|
display: block;
|
|
margin-top: 2px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
flex: 1;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.sidebar-nav-label {
|
|
padding: 16px 20px 8px;
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.sidebar-nav a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 20px;
|
|
color: var(--sidebar-text);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
border-radius: 0;
|
|
transition: all var(--transition-fast);
|
|
border-left: 3px solid transparent;
|
|
}
|
|
|
|
.sidebar-nav a:hover {
|
|
background: var(--sidebar-hover);
|
|
color: var(--sidebar-text-active);
|
|
}
|
|
|
|
.sidebar-nav a.active {
|
|
background: rgba(26, 115, 232, 0.12);
|
|
color: var(--primary-light);
|
|
border-left-color: var(--primary);
|
|
}
|
|
|
|
.sidebar-nav a svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex-shrink: 0;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.sidebar-nav a.active svg,
|
|
.sidebar-nav a:hover svg {
|
|
opacity: 1;
|
|
}
|
|
|
|
.sidebar-footer {
|
|
padding: 16px 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.sidebar-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.sidebar-user-avatar {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-user-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.sidebar-user-name {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.sidebar-user-role {
|
|
font-size: 0.7rem;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.sidebar-logout-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--gray-400);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: var(--border-radius-sm);
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.sidebar-logout-btn:hover {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
margin-left: var(--sidebar-width);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.content-header {
|
|
background: var(--card-bg);
|
|
padding: 20px 32px;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
}
|
|
|
|
.content-header h2 {
|
|
font-size: 1.375rem;
|
|
font-weight: 700;
|
|
color: var(--gray-900);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.content-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.content-body {
|
|
padding: 24px 32px;
|
|
}
|
|
|
|
/* ── Mobile sidebar toggle ────────────────────────────────────────── */
|
|
.sidebar-toggle {
|
|
display: none;
|
|
position: fixed;
|
|
top: 16px;
|
|
left: 16px;
|
|
z-index: 200;
|
|
background: var(--sidebar-bg);
|
|
border: none;
|
|
color: #fff;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: var(--border-radius);
|
|
cursor: pointer;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
/* ── Cards ────────────────────────────────────────────────────────── */
|
|
.card {
|
|
background: var(--card-bg);
|
|
border-radius: var(--border-radius-lg);
|
|
box-shadow: var(--card-shadow);
|
|
transition: box-shadow var(--transition);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: var(--card-shadow-hover);
|
|
}
|
|
|
|
.card-header {
|
|
padding: 16px 24px;
|
|
border-bottom: 1px solid var(--gray-100);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.card-header h3 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--gray-900);
|
|
}
|
|
|
|
.card-body {
|
|
padding: 24px;
|
|
}
|
|
|
|
.card-footer {
|
|
padding: 16px 24px;
|
|
border-top: 1px solid var(--gray-100);
|
|
background: var(--gray-50);
|
|
}
|
|
|
|
/* ── Stat Cards ───────────────────────────────────────────────────── */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--card-bg);
|
|
border-radius: var(--border-radius-lg);
|
|
box-shadow: var(--card-shadow);
|
|
padding: 20px 24px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
transition: box-shadow var(--transition), transform var(--transition);
|
|
}
|
|
|
|
.stat-card:hover {
|
|
box-shadow: var(--card-shadow-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.stat-card-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: var(--border-radius);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.stat-card-icon svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.stat-card-icon.primary { background: var(--primary-bg); color: var(--primary); }
|
|
.stat-card-icon.primary svg { fill: var(--primary); }
|
|
.stat-card-icon.success { background: var(--secondary-bg); color: var(--secondary); }
|
|
.stat-card-icon.success svg { fill: var(--secondary); }
|
|
.stat-card-icon.warning { background: var(--warning-bg); color: var(--warning); }
|
|
.stat-card-icon.warning svg { fill: var(--warning); }
|
|
.stat-card-icon.danger { background: var(--danger-bg); color: var(--danger); }
|
|
.stat-card-icon.danger svg { fill: var(--danger); }
|
|
|
|
.stat-card-content h4 {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--gray-500);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.stat-card-value {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--gray-900);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.stat-card-change {
|
|
font-size: 0.75rem;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.stat-card-change.up { color: var(--secondary); }
|
|
.stat-card-change.down { color: var(--danger); }
|
|
|
|
/* ── Score Gauge ──────────────────────────────────────────────────── */
|
|
.score-gauge {
|
|
position: relative;
|
|
width: 180px;
|
|
height: 180px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.score-gauge svg {
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.score-gauge-circle-bg {
|
|
fill: none;
|
|
stroke: var(--gray-200);
|
|
stroke-width: 12;
|
|
}
|
|
|
|
.score-gauge-circle {
|
|
fill: none;
|
|
stroke-width: 12;
|
|
stroke-linecap: round;
|
|
transition: stroke-dashoffset 1s ease, stroke 0.5s ease;
|
|
}
|
|
|
|
.score-gauge-value {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
text-align: center;
|
|
}
|
|
|
|
.score-gauge-number {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
color: var(--gray-900);
|
|
line-height: 1;
|
|
}
|
|
|
|
.score-gauge-label {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Score colors */
|
|
.score-critical { --score-color: var(--danger); }
|
|
.score-low { --score-color: #f97316; }
|
|
.score-medium { --score-color: var(--warning); }
|
|
.score-good { --score-color: #84cc16; }
|
|
.score-excellent { --score-color: var(--secondary); }
|
|
|
|
.score-gauge-circle {
|
|
stroke: var(--score-color, var(--primary));
|
|
}
|
|
|
|
/* ── Risk Matrix Colors ───────────────────────────────────────────── */
|
|
.risk-critical { background: var(--danger); color: #fff; }
|
|
.risk-high { background: #f97316; color: #fff; }
|
|
.risk-medium { background: var(--warning); color: var(--gray-900); }
|
|
.risk-low { background: var(--secondary); color: #fff; }
|
|
.risk-info { background: var(--info); color: #fff; }
|
|
|
|
.risk-text-critical { color: var(--danger); }
|
|
.risk-text-high { color: #f97316; }
|
|
.risk-text-medium { color: #d97706; }
|
|
.risk-text-low { color: var(--secondary); }
|
|
|
|
/* ── Buttons ──────────────────────────────────────────────────────── */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 10px 20px;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
font-family: inherit;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--border-radius);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: var(--primary-dark);
|
|
border-color: var(--primary-dark);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--gray-100);
|
|
color: var(--gray-700);
|
|
border-color: var(--gray-300);
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: var(--gray-200);
|
|
border-color: var(--gray-400);
|
|
}
|
|
|
|
.btn-success {
|
|
background: var(--secondary);
|
|
color: #fff;
|
|
border-color: var(--secondary);
|
|
}
|
|
|
|
.btn-success:hover:not(:disabled) {
|
|
background: var(--secondary-light);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--danger);
|
|
color: #fff;
|
|
border-color: var(--danger);
|
|
}
|
|
|
|
.btn-danger:hover:not(:disabled) {
|
|
background: var(--danger-light);
|
|
}
|
|
|
|
.btn-warning {
|
|
background: var(--warning);
|
|
color: var(--gray-900);
|
|
border-color: var(--warning);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.btn-outline:hover:not(:disabled) {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--gray-600);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.btn-ghost:hover:not(:disabled) {
|
|
background: var(--gray-100);
|
|
color: var(--gray-800);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 14px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 14px 28px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.btn-icon {
|
|
padding: 8px;
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
|
|
.btn-group {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ── Forms ────────────────────────────────────────────────────────── */
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
color: var(--gray-700);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.form-label .required {
|
|
color: var(--danger);
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.form-input,
|
|
.form-select,
|
|
.form-textarea {
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
font-size: 0.875rem;
|
|
font-family: inherit;
|
|
color: var(--gray-700);
|
|
background: var(--card-bg);
|
|
border: 1px solid var(--gray-300);
|
|
border-radius: var(--border-radius);
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
outline: none;
|
|
}
|
|
|
|
.form-input:focus,
|
|
.form-select:focus,
|
|
.form-textarea:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
|
|
}
|
|
|
|
.form-input::placeholder,
|
|
.form-textarea::placeholder {
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.form-input.error,
|
|
.form-select.error,
|
|
.form-textarea.error {
|
|
border-color: var(--danger);
|
|
box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.1);
|
|
}
|
|
|
|
.form-textarea {
|
|
resize: vertical;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.form-select {
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 12px center;
|
|
padding-right: 36px;
|
|
}
|
|
|
|
.form-help {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.form-error {
|
|
font-size: 0.75rem;
|
|
color: var(--danger);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
/* Radio & Checkbox */
|
|
.form-radio-group,
|
|
.form-check-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-radio,
|
|
.form-check {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
padding: 8px 16px;
|
|
border: 1px solid var(--gray-200);
|
|
border-radius: var(--border-radius);
|
|
transition: all var(--transition-fast);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.form-radio:hover,
|
|
.form-check:hover {
|
|
border-color: var(--primary);
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
.form-radio input[type="radio"],
|
|
.form-check input[type="checkbox"] {
|
|
accent-color: var(--primary);
|
|
}
|
|
|
|
.form-radio.selected,
|
|
.form-check.selected {
|
|
border-color: var(--primary);
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
/* Range Slider */
|
|
.form-range {
|
|
width: 100%;
|
|
accent-color: var(--primary);
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.form-range-labels {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 0.7rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
/* ── Tables ───────────────────────────────────────────────────────── */
|
|
.table-container {
|
|
overflow-x: auto;
|
|
border-radius: var(--border-radius-lg);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
thead {
|
|
background: var(--gray-50);
|
|
}
|
|
|
|
thead th {
|
|
padding: 12px 16px;
|
|
font-weight: 600;
|
|
color: var(--gray-600);
|
|
text-align: left;
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
border-bottom: 2px solid var(--gray-200);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
tbody td {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--gray-100);
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
tbody tr {
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: var(--gray-50);
|
|
}
|
|
|
|
tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* ── Badges / Tags ────────────────────────────────────────────────── */
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 3px 10px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
border-radius: 100px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.badge-primary { background: var(--primary-bg); color: var(--primary); }
|
|
.badge-success { background: var(--secondary-bg); color: #15803d; }
|
|
.badge-warning { background: var(--warning-bg); color: #a16207; }
|
|
.badge-danger { background: var(--danger-bg); color: var(--danger); }
|
|
.badge-info { background: var(--info-bg); color: var(--primary); }
|
|
.badge-neutral { background: var(--gray-100); color: var(--gray-600); }
|
|
|
|
.badge-lg {
|
|
padding: 6px 16px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 10px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
background: var(--gray-100);
|
|
color: var(--gray-600);
|
|
border-radius: var(--border-radius-sm);
|
|
border: 1px solid var(--gray-200);
|
|
}
|
|
|
|
/* ── Progress Bar ─────────────────────────────────────────────────── */
|
|
.progress {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: var(--gray-200);
|
|
border-radius: 100px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
border-radius: 100px;
|
|
transition: width 0.8s ease;
|
|
background: var(--primary);
|
|
}
|
|
|
|
.progress-bar.success { background: var(--secondary); }
|
|
.progress-bar.warning { background: var(--warning); }
|
|
.progress-bar.danger { background: var(--danger); }
|
|
|
|
.progress-lg {
|
|
height: 12px;
|
|
}
|
|
|
|
.progress-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 6px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.progress-label span:first-child {
|
|
font-weight: 600;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.progress-label span:last-child {
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
/* ── Modal ────────────────────────────────────────────────────────── */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(15, 23, 42, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
.modal-overlay.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.modal {
|
|
background: var(--card-bg);
|
|
border-radius: var(--border-radius-lg);
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
|
|
width: 90%;
|
|
max-width: 560px;
|
|
max-height: 85vh;
|
|
overflow-y: auto;
|
|
transform: translateY(20px) scale(0.95);
|
|
transition: transform var(--transition);
|
|
}
|
|
|
|
.modal-overlay.active .modal {
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid var(--gray-100);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.modal-header h3 {
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: var(--gray-900);
|
|
}
|
|
|
|
.modal-close {
|
|
background: none;
|
|
border: none;
|
|
color: var(--gray-400);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: var(--border-radius-sm);
|
|
transition: color var(--transition-fast);
|
|
line-height: 1;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 24px;
|
|
}
|
|
|
|
.modal-footer {
|
|
padding: 16px 24px;
|
|
border-top: 1px solid var(--gray-100);
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ── Notifications / Toasts ───────────────────────────────────────── */
|
|
.notification-container {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
z-index: 2000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.notification {
|
|
background: var(--card-bg);
|
|
border-radius: var(--border-radius);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
|
padding: 14px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 320px;
|
|
max-width: 480px;
|
|
pointer-events: auto;
|
|
animation: slideIn 0.3s ease;
|
|
border-left: 4px solid var(--gray-400);
|
|
}
|
|
|
|
.notification.success { border-left-color: var(--secondary); }
|
|
.notification.error { border-left-color: var(--danger); }
|
|
.notification.warning { border-left-color: var(--warning); }
|
|
.notification.info { border-left-color: var(--primary); }
|
|
|
|
.notification-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.notification.success .notification-icon { color: var(--secondary); }
|
|
.notification.error .notification-icon { color: var(--danger); }
|
|
.notification.warning .notification-icon { color: var(--warning); }
|
|
.notification.info .notification-icon { color: var(--primary); }
|
|
|
|
.notification-message {
|
|
flex: 1;
|
|
font-size: 0.875rem;
|
|
color: var(--gray-700);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.notification-close {
|
|
background: none;
|
|
border: none;
|
|
color: var(--gray-400);
|
|
cursor: pointer;
|
|
padding: 2px;
|
|
font-size: 1.1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.notification.fade-out {
|
|
animation: slideOut 0.3s ease forwards;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideOut {
|
|
from {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
/* ── Steps / Wizard ───────────────────────────────────────────────── */
|
|
.steps {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0;
|
|
margin-bottom: 32px;
|
|
padding: 0 16px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
color: var(--gray-400);
|
|
white-space: nowrap;
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.step-number {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--gray-200);
|
|
color: var(--gray-500);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
flex-shrink: 0;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.step.active .step-number {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.step.active {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.step.completed .step-number {
|
|
background: var(--secondary);
|
|
color: #fff;
|
|
}
|
|
|
|
.step.completed {
|
|
color: var(--secondary);
|
|
}
|
|
|
|
.step-connector {
|
|
width: 32px;
|
|
height: 2px;
|
|
background: var(--gray-200);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step.completed + .step-connector,
|
|
.step.completed ~ .step-connector {
|
|
background: var(--secondary);
|
|
}
|
|
|
|
/* ── Activity Feed ────────────────────────────────────────────────── */
|
|
.activity-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.activity-item {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--gray-100);
|
|
}
|
|
|
|
.activity-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.activity-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: var(--primary-bg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.activity-icon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
fill: var(--primary);
|
|
}
|
|
|
|
.activity-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.activity-text {
|
|
font-size: 0.875rem;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.activity-time {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* ── Deadline Item ────────────────────────────────────────────────── */
|
|
.deadline-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--gray-100);
|
|
}
|
|
|
|
.deadline-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.deadline-date {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: var(--border-radius);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.deadline-date .day {
|
|
font-size: 1.125rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.deadline-date .month {
|
|
font-size: 0.6rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.deadline-date.urgent {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.deadline-date.soon {
|
|
background: var(--warning-bg);
|
|
color: #a16207;
|
|
}
|
|
|
|
.deadline-date.normal {
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.deadline-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.deadline-title {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.deadline-desc {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
/* ── Quick Actions ────────────────────────────────────────────────── */
|
|
.quick-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.quick-action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 20px;
|
|
background: var(--card-bg);
|
|
border: 2px dashed var(--gray-200);
|
|
border-radius: var(--border-radius-lg);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
font-family: inherit;
|
|
color: var(--gray-600);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.quick-action-btn:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
.quick-action-btn svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
/* ── Auth Pages ───────────────────────────────────────────────────── */
|
|
.auth-page {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
|
|
padding: 20px;
|
|
}
|
|
|
|
.auth-card {
|
|
background: var(--card-bg);
|
|
border-radius: var(--border-radius-lg);
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
width: 100%;
|
|
max-width: 440px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.auth-header {
|
|
padding: 32px 32px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.auth-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.auth-logo-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
background: var(--primary);
|
|
border-radius: var(--border-radius);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.auth-logo-icon svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: #fff;
|
|
}
|
|
|
|
.auth-logo-text {
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
color: var(--gray-900);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.auth-logo-text span {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.auth-subtitle {
|
|
font-size: 0.875rem;
|
|
color: var(--gray-500);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.auth-body {
|
|
padding: 32px;
|
|
}
|
|
|
|
.auth-footer {
|
|
padding: 0 32px 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.auth-footer p {
|
|
font-size: 0.8125rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.auth-footer a {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.auth-error {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
padding: 10px 16px;
|
|
border-radius: var(--border-radius);
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
margin-bottom: 16px;
|
|
display: none;
|
|
}
|
|
|
|
.auth-error.visible {
|
|
display: block;
|
|
}
|
|
|
|
/* Password Strength */
|
|
.password-strength {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.password-strength-bar {
|
|
display: flex;
|
|
gap: 4px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.password-strength-segment {
|
|
flex: 1;
|
|
height: 4px;
|
|
border-radius: 2px;
|
|
background: var(--gray-200);
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.password-strength-segment.active.weak { background: var(--danger); }
|
|
.password-strength-segment.active.fair { background: #f97316; }
|
|
.password-strength-segment.active.good { background: var(--warning); }
|
|
.password-strength-segment.active.strong { background: var(--secondary); }
|
|
|
|
.password-strength-text {
|
|
font-size: 0.7rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
/* ── Classification Badge ─────────────────────────────────────────── */
|
|
.classification-preview {
|
|
padding: 20px;
|
|
border-radius: var(--border-radius-lg);
|
|
border: 2px solid var(--gray-200);
|
|
text-align: center;
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
.classification-preview.essential {
|
|
border-color: var(--danger);
|
|
background: var(--danger-bg);
|
|
}
|
|
|
|
.classification-preview.important {
|
|
border-color: var(--warning);
|
|
background: var(--warning-bg);
|
|
}
|
|
|
|
.classification-preview.not-applicable {
|
|
border-color: var(--gray-300);
|
|
background: var(--gray-50);
|
|
}
|
|
|
|
.classification-label {
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.classification-preview.essential .classification-label { color: var(--danger); }
|
|
.classification-preview.important .classification-label { color: #a16207; }
|
|
.classification-preview.not-applicable .classification-label { color: var(--gray-500); }
|
|
|
|
.classification-desc {
|
|
font-size: 0.8125rem;
|
|
color: var(--gray-600);
|
|
margin-top: 8px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ── Category Score Bars (Assessment) ─────────────────────────────── */
|
|
.category-score {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.category-score-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.category-score-name {
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.category-score-value {
|
|
font-size: 0.8125rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ── Empty State ──────────────────────────────────────────────────── */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 48px 24px;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.empty-state svg {
|
|
width: 64px;
|
|
height: 64px;
|
|
margin-bottom: 16px;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.empty-state h4 {
|
|
font-size: 1rem;
|
|
color: var(--gray-600);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.empty-state p {
|
|
font-size: 0.875rem;
|
|
max-width: 320px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* ── Loading Spinner ──────────────────────────────────────────────── */
|
|
.spinner {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 3px solid var(--gray-200);
|
|
border-top-color: var(--primary);
|
|
border-radius: 50%;
|
|
animation: spin 0.7s linear infinite;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.spinner-lg {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-width: 4px;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.loading-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
/* ── Grid Helpers ─────────────────────────────────────────────────── */
|
|
.grid-2 {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 24px;
|
|
}
|
|
|
|
.grid-3 {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 24px;
|
|
}
|
|
|
|
/* ── Utility Classes ──────────────────────────────────────────────── */
|
|
.text-center { text-align: center; }
|
|
.text-right { text-align: right; }
|
|
.text-muted { color: var(--gray-500); }
|
|
.text-primary { color: var(--primary); }
|
|
.text-success { color: var(--secondary); }
|
|
.text-danger { color: var(--danger); }
|
|
.text-warning { color: #a16207; }
|
|
.font-bold { font-weight: 700; }
|
|
.font-semibold { font-weight: 600; }
|
|
.mt-0 { margin-top: 0; }
|
|
.mt-8 { margin-top: 8px; }
|
|
.mt-16 { margin-top: 16px; }
|
|
.mt-24 { margin-top: 24px; }
|
|
.mt-32 { margin-top: 32px; }
|
|
.mb-0 { margin-bottom: 0; }
|
|
.mb-8 { margin-bottom: 8px; }
|
|
.mb-16 { margin-bottom: 16px; }
|
|
.mb-24 { margin-bottom: 24px; }
|
|
.mb-32 { margin-bottom: 32px; }
|
|
.p-16 { padding: 16px; }
|
|
.p-24 { padding: 24px; }
|
|
.gap-8 { gap: 8px; }
|
|
.gap-16 { gap: 16px; }
|
|
.gap-24 { gap: 24px; }
|
|
.flex { display: flex; }
|
|
.flex-col { flex-direction: column; }
|
|
.items-center { align-items: center; }
|
|
.justify-between { justify-content: space-between; }
|
|
.flex-1 { flex: 1; }
|
|
.hidden { display: none !important; }
|
|
.w-full { width: 100%; }
|
|
|
|
/* ── Responsive ───────────────────────────────────────────────────── */
|
|
@media (max-width: 1024px) {
|
|
.grid-3 {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
.sidebar.open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.content-header {
|
|
padding: 16px 20px;
|
|
padding-left: 60px;
|
|
}
|
|
|
|
.content-body {
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.grid-2,
|
|
.grid-3 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.steps {
|
|
overflow-x: auto;
|
|
justify-content: flex-start;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.form-radio-group {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.quick-actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.modal {
|
|
width: 95%;
|
|
margin: 16px;
|
|
}
|
|
|
|
.auth-card {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.stats-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 16px;
|
|
}
|
|
}
|