Spaces:
Sleeping
Sleeping
File size: 48,372 Bytes
b32ab9e fea64ec b32ab9e 82ef302 b32ab9e fea64ec | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 | /* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TrialGuard β main.css
NHS-compliant clinical design system
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* ββ Custom Properties βββββββββββββββββββββββββββββββββββββββββββββ */
:root {
/* NHS Core Palette */
--primary: #003087; /* NHS Blue */
--primary-dark: #002060;
--accent: #0072CE; /* NHS Bright Blue */
--accent-light: #41B6E6; /* NHS Light Blue */
--aqua: #00A9CE; /* NHS Aqua Blue */
/* Risk Tier Colours (NHS-aligned) */
--risk-low: #009639; /* NHS Green */
--risk-medium: #FFB81C; /* NHS Warm Yellow */
--risk-high: #E65C00; /* Vivid Orange β clearly distinct from red */
--risk-critical: #CC0000; /* Vivid Red β clearly distinct from orange */
/* Surface */
--dark-bg: #F0F4F5; /* Page background (pale NHS blue-grey) */
--card-bg: #FFFFFF;
--card-bg-2: #F0F4F5;
/* Text */
--text-primary: #212B32; /* NHS Dark */
--text-muted: #425563; /* NHS Dark Grey */
--text-light: #768692; /* NHS Mid Grey */
/* Borders & Shadows */
--border: #D8DDE0;
--border-hover: #0072CE;
--shadow-card: 0 2px 12px rgba(0,43,135,0.08);
--shadow-glow: 0 4px 20px rgba(0,114,206,0.18);
/* Shape */
--radius: 10px;
--radius-sm: 6px;
--radius-lg: 16px;
--transition: 0.22s ease;
/* Typography */
--font-heading: 'Fira Sans', 'Arial', sans-serif;
--font-body: 'Lato', 'Arial', sans-serif;
/* Legacy aliases β CSS vars that templates still reference */
--crimson: #003087;
--gold: #0072CE;
--gold-light: #41B6E6;
}
/* ββ Reset & Base ββββββββββββββββββββββββββββββββββββββββββββββββββ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
font-family: var(--font-body);
background: var(--dark-bg);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
-webkit-font-smoothing: antialiased;
}
main.main-content { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--text-primary); }
code { font-family: 'Fira Code', 'Courier New', monospace; font-size: 0.88em;
background: var(--card-bg-2); padding: 2px 6px; border-radius: 3px; color: var(--primary); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
/* ββ Animations ββββββββββββββββββββββββββββββββββββββββββββββββββββ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fadeIn 0.5s ease both; }
.fade-in-up { animation: fadeUp 0.5s ease both; animation-delay: var(--delay, 0ms); }
.observe-fade { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.observe-fade.visible { opacity: 1; transform: none; }
/* ββ Scrollbar βββββββββββββββββββββββββββββββββββββββββββββββββββββ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
/* ββ Navbar ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.navbar {
position: sticky; top: 0; z-index: 100;
background: var(--primary);
border-bottom: 1px solid rgba(255,255,255,0.12);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
.nav-inner {
display: flex; align-items: center; justify-content: space-between;
max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 36px; transition: opacity var(--transition); }
.nav-logo:hover .nav-logo-img { opacity: 0.85; }
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-link {
padding: 6px 14px; border-radius: var(--radius-sm);
color: rgba(255,255,255,0.78); font-size: 0.9rem; font-weight: 400;
transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
color: #ffffff; background: rgba(255,255,255,0.15);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-user { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.nav-user-icon { font-size: 1.1rem; }
.nav-user-name { display: none; }
.nav-right .btn,
.nav-right .btn-outline,
.nav-right a[href*="logout"] {
color: #ffffff !important;
opacity: 1 !important;
font-weight: 700;
}
.nav-right .btn-outline {
color: #ffffff;
border-color: rgba(255,255,255,0.7) !important;
}
.nav-right .btn:hover,
.nav-right .btn-outline:hover,
.nav-right a[href*="logout"]:hover {
color: #ffffff !important;
background: rgba(255,255,255,0.18);
}
@media (min-width: 768px) { .nav-user-name { display: inline; } }
.nav-hamburger {
display: none; flex-direction: column; gap: 5px;
background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #ffffff; border-radius: 2px; transition: var(--transition); }
@media (max-width: 860px) {
.nav-links { display: none; }
.nav-hamburger { display: flex; }
.nav-links.open {
display: flex; flex-direction: column; position: absolute;
top: 64px; left: 0; right: 0; background: var(--primary);
border-bottom: 1px solid rgba(255,255,255,0.12); padding: 12px 24px 20px;
gap: 2px; z-index: 99;
}
}
/* ββ Buttons βββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
padding: 9px 20px; border-radius: var(--radius-sm); font-family: var(--font-body);
font-size: 0.9rem; font-weight: 700; cursor: pointer; border: none;
transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
text-decoration: none; white-space: nowrap; letter-spacing: 0.01em;
}
.btn:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }
.btn-gold {
background: var(--primary); color: #ffffff;
box-shadow: 0 2px 8px rgba(0,43,135,0.25);
}
.btn-gold:hover { background: var(--accent); color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,114,206,0.35); }
.btn-outline {
background: transparent; color: var(--primary);
border: 2px solid var(--primary); padding: 8px 20px;
}
.btn-outline:hover { background: var(--primary); color: #ffffff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-muted); padding: 5px 12px; }
.btn-ghost:hover { color: var(--accent); background: rgba(0,114,206,0.06); }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 12px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
/* ββ Cards βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.card {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-card);
transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
transform: translateY(-3px);
border-color: var(--accent);
box-shadow: var(--shadow-glow);
}
.card-header {
display: flex; align-items: center; justify-content: space-between;
padding: 18px 22px 12px; border-bottom: 1px solid var(--border);
}
.card-title { font-family: var(--font-heading); font-size: 0.95rem; color: var(--primary); font-weight: 600; }
.card-badge {
font-size: 0.72rem; padding: 3px 9px; border-radius: 100px;
background: rgba(0,114,206,0.08); color: var(--accent); font-weight: 600;
border: 1px solid rgba(0,114,206,0.2);
}
.card-body { padding: 20px 22px; }
.card-inset {
background: var(--card-bg-2); border-radius: var(--radius-sm);
border: 1px solid var(--border); padding: 12px 16px; margin-top: 14px;
}
/* ββ Messages ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.messages-container { position: fixed; top: 72px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.message {
display: flex; align-items: flex-start; gap: 10px;
padding: 12px 16px; border-radius: var(--radius-sm);
background: var(--card-bg); border: 1px solid var(--border);
box-shadow: var(--shadow-card);
animation: fadeIn 0.3s ease;
}
.message-success { border-left: 3px solid var(--risk-low); }
.message-error { border-left: 3px solid var(--risk-critical); }
.message-warning { border-left: 3px solid var(--risk-medium); }
.message-text { font-size: 0.88rem; color: var(--text-primary); flex: 1; }
.message-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0; }
.message-close:hover { color: var(--primary); }
/* ββ Footer ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.footer {
background: var(--primary);
border-top: 1px solid rgba(255,255,255,0.12);
padding: 20px 24px;
margin-top: auto;
}
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo img { height: 28px; opacity: 0.85; }
.footer-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.65); letter-spacing: 0.05em; }
.footer-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 0.8rem; }
.footer-link { color: var(--accent-light); font-weight: 600; }
.footer-link:hover { color: #ffffff; }
.footer-sep { color: rgba(255,255,255,0.3); }
.footer-copy, .footer-powered { color: rgba(255,255,255,0.55); }
/* ββ Page Header βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.page-header {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
border-bottom: 1px solid rgba(0,43,135,0.15);
padding: 28px 0 20px;
}
.page-header-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.page-title { font-family: var(--font-heading); font-size: 1.6rem; color: #ffffff; margin-bottom: 4px; }
.page-sub { color: rgba(255,255,255,0.8); font-size: 0.88rem; }
.page-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #ffffff; }
.breadcrumb-sep { color: rgba(255,255,255,0.5); }
/* ββ Badge βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.badge {
display: inline-flex; align-items: center;
padding: 3px 9px; border-radius: 100px; font-size: 0.72rem; font-weight: 700;
}
.badge-warning { background: rgba(255,184,28,0.12); color: #B8820A; border: 1px solid rgba(255,184,28,0.35); }
/* ββ Risk Badges βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.risk-badge {
display: inline-flex; align-items: center;
padding: 3px 9px; border-radius: 100px;
font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
}
.risk-low { background: #D4EDDA; color: #155724; border: 1px solid #A8D5B5; }
.risk-medium { background: #FFF3CD; color: #7A4F00; border: 1px solid #F5D77A; }
.risk-high { background: #FFE0CC; color: #7A2900; border: 1px solid #E65C00; }
.risk-critical { background: #FFD5D5; color: #7A0000; border: 1px solid #CC0000; animation: pulse 1.5s infinite; }
.risk-none { background: #F0F4F5; color: #425563; border: 1px solid #D8DDE0; }
.risk-badge-lg { font-size: 0.85rem; padding: 6px 16px; }
.text-gold { color: #FFB81C; }
.text-amber { color: #7A5200; }
.text-green { color: #006627; }
.text-critical { color: #CC0000; animation: pulse 1.5s infinite; }
/* ββ Risk row colouring ββββββββββββββββββββββββββββββββββββββββββββ */
.risk-row-high { background: rgba(237,77,0,0.04); }
.risk-row-critical { background: rgba(204,0,0,0.05); }
/* ββ Status Badges βββββββββββββββββββββββββββββββββββββββββββββββββ */
.status-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.status-active { background: rgba(0,150,57,0.1); color: #006627; border: 1px solid rgba(0,150,57,0.3); }
.status-dropped { background: rgba(204,0,0,0.1); color: #CC0000; border: 1px solid rgba(204,0,0,0.3); }
/* ββ Form Inputs βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.02em; text-transform: uppercase; }
.form-input, .form-select, .form-textarea, select.form-select, input.form-input {
background: #ffffff; border: 1.5px solid var(--border);
border-radius: var(--radius-sm); color: var(--text-primary);
font-family: var(--font-body); font-size: 0.9rem; padding: 9px 13px;
transition: border-color var(--transition), box-shadow var(--transition);
width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus,
select.form-select:focus, input.form-input:focus {
outline: none; border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(0,114,206,0.18);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { font-size: 0.8rem; color: var(--risk-critical); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.input-password-wrap { position: relative; }
.password-toggle {
position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
background: none; border: none; color: var(--text-muted); cursor: pointer;
transition: color var(--transition);
}
.password-toggle:hover { color: var(--accent); }
/* ββ Section βββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-badge {
display: inline-block; font-size: 0.72rem; font-weight: 700;
letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
padding: 4px 14px; border-radius: 100px;
background: rgba(0,114,206,0.08); border: 1px solid rgba(0,114,206,0.2);
margin-bottom: 12px;
}
.section-title { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; }
/* ββ Hero ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.hero {
position: relative; overflow: hidden;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, var(--aqua) 100%);
padding: 100px 0 80px;
min-height: 85vh; display: flex; align-items: center;
}
.hero-bg-pattern {
position: absolute; inset: 0; pointer-events: none;
background-image: repeating-linear-gradient(
45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px,
transparent 0, transparent 50%
);
background-size: 30px 30px;
}
.hero-inner { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
text-transform: uppercase; color: rgba(255,255,255,0.9); padding: 5px 16px;
border-radius: 100px; border: 1px solid rgba(255,255,255,0.35);
background: rgba(255,255,255,0.1); margin-bottom: 20px;
}
.hero-title { margin-bottom: 16px; }
.hero-title-main { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; color: #ffffff; }
.text-gold { color: #FFB81C; }
.hero-tagline { font-family: var(--font-heading); font-size: clamp(1rem, 2.5vw, 1.35rem); color: rgba(255,255,255,0.9); letter-spacing: 0.04em; margin-bottom: 20px; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
border-radius: var(--radius-lg); overflow: hidden; backdrop-filter: blur(8px);
}
.hero-stat {
padding: 22px 16px; text-align: center;
border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stat:last-child { border-right: none; }
.stat-value { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: #ffffff; }
.stat-label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
@media (max-width: 640px) {
.hero-stats { grid-template-columns: repeat(2, 1fr); }
.hero-stat:nth-child(2) { border-right: none; }
.hero-stat { border-bottom: 1px solid rgba(255,255,255,0.15); }
}
/* ββ Features ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.features-section { background: var(--dark-bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
background: var(--card-bg); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: 32px 28px;
transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow-glow); }
.feature-icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: rgba(0,114,206,0.08); border: 1px solid rgba(0,114,206,0.18); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon { width: 32px; height: 32px; }
.feature-title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--primary); margin-bottom: 10px; }
.feature-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.feature-metric { display: flex; align-items: baseline; gap: 8px; border-top: 1px solid var(--border); padding-top: 16px; }
.metric-num { font-family: var(--font-heading); font-size: 1.4rem; color: var(--accent); font-weight: 700; }
.metric-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
/* ββ How It Works ββββββββββββββββββββββββββββββββββββββββββββββββββ */
.how-section { background: var(--dark-bg); }
.steps-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0; }
.step { padding: 0 24px; }
.step-connector { width: 60px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); align-self: center; margin-top: 24px; }
.step-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; color: rgba(0,48,135,0.32); line-height: 1; margin-bottom: 12px; }
.step-title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--primary); margin-bottom: 10px; }
.step-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 860px) {
.steps-flow { grid-template-columns: 1fr; gap: 24px; }
.step-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--primary), var(--accent)); margin: 0 auto; }
.step { padding: 0; }
}
/* ββ Risk Tiers ββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.tier-section { background: var(--dark-bg); }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.tier-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.tier-range { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.tier-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px; }
.tier-action { font-size: 0.82rem; color: var(--text-muted); }
.tier-low .tier-range, .tier-low .tier-label { color: var(--risk-low); }
.tier-medium .tier-range, .tier-medium .tier-label { color: #7A5200; }
.tier-high .tier-range, .tier-high .tier-label { color: var(--risk-high); }
.tier-critical .tier-range, .tier-critical .tier-label { color: var(--risk-critical); }
.tier-critical { border-color: rgba(204,0,0,0.3); }
/* ββ CTA βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.cta-section { background: var(--dark-bg); padding-bottom: 80px; }
.cta-card {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
border-radius: var(--radius-lg);
padding: 56px 40px; text-align: center;
}
.cta-title { font-size: 2rem; margin-bottom: 12px; color: #ffffff; }
.cta-sub { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 28px; font-size: 0.95rem; }
.cta-card .btn-gold { background: #ffffff; color: var(--primary); }
.cta-card .btn-gold:hover { background: var(--accent-light); color: var(--primary); }
/* ββ Auth Page βββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.auth-section { min-height: calc(100vh - 64px - 100px); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-container { width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo-img { height: 44px; margin: 0 auto; padding: 8px 16px; background: var(--primary); border-radius: 8px; display: block; }
.auth-title { font-family: var(--font-heading); font-size: 1.7rem; text-align: center; color: var(--primary); margin-bottom: 8px; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.auth-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-card); }
.auth-messages { margin-bottom: 16px; }
.auth-error { background: rgba(204,0,0,0.06); border: 1px solid rgba(204,0,0,0.25); color: #9e1010; border-radius: var(--radius-sm); padding: 9px 13px; font-size: 0.87rem; margin-bottom: 8px; }
.demo-access-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(211,166,37,0.08); border: 1px solid rgba(211,166,37,0.35); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px; }
.demo-access-info { display: flex; flex-direction: column; gap: 3px; }
.demo-access-label { font-size: 0.78rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; }
.demo-access-creds { font-size: 0.85rem; color: var(--text-secondary); }
.demo-access-creds code { color: var(--gold); font-family: monospace; }
.auth-footer { text-align: center; margin-top: 18px; }
.auth-footer-text { font-size: 0.82rem; color: var(--text-muted); }
.auth-link { color: var(--accent); }
/* ββ KPI Grid ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 24px 0; }
.kpi-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 18px; display: flex; align-items: center; gap: 14px; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.kpi-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-glow); }
.kpi-card-link { text-decoration: none; color: inherit; cursor: pointer; position: relative; padding-bottom: 28px; }
.kpi-card-link:hover { box-shadow: 0 6px 24px rgba(0,114,206,0.18); }
.kpi-card-active { border-color: var(--primary) !important; box-shadow: 0 0 0 2px rgba(0,43,135,0.2), 0 6px 24px rgba(0,43,135,0.1) !important; }
.kpi-card-active-amber { border-color: var(--risk-medium) !important; box-shadow: 0 0 0 2px rgba(255,184,28,0.3) !important; }
.kpi-card-active-red { border-color: var(--risk-critical) !important; box-shadow: 0 0 0 2px rgba(204,0,0,0.3) !important; }
.kpi-cta { display: none; position: absolute; bottom: 8px; right: 12px; font-size: 0.68rem; color: var(--accent); opacity: 0.7; letter-spacing: 0.03em; }
.kpi-card-link:hover .kpi-cta { display: block; }
.kpi-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kpi-icon-blue { background: rgba(0,43,135,0.08); color: var(--primary); border: 1px solid rgba(0,43,135,0.15); }
.kpi-icon-green { background: rgba(0,150,57,0.1); color: #006627; border: 1px solid rgba(0,150,57,0.2); }
.kpi-icon-amber { background: rgba(255,184,28,0.1); color: #7A5200; border: 1px solid rgba(255,184,28,0.25); }
.kpi-icon-red { background: rgba(204,0,0,0.08); color: var(--risk-critical); border: 1px solid rgba(204,0,0,0.2); }
.kpi-icon-gold { background: rgba(0,114,206,0.08); color: var(--accent); border: 1px solid rgba(0,114,206,0.2); }
.kpi-value { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; line-height: 1; color: var(--primary); }
.kpi-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.filter-active-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,114,206,0.08); border: 1px solid rgba(0,114,206,0.25); color: var(--accent); font-size: 0.72rem; font-family: var(--font-body); font-weight: 400; padding: 2px 8px; border-radius: 20px; margin-left: 10px; vertical-align: middle; text-transform: none; letter-spacing: 0; }
.filter-clear-btn { color: var(--accent); opacity: 0.6; text-decoration: none; font-size: 0.75rem; line-height: 1; padding: 0 2px; }
.filter-clear-btn:hover { opacity: 1; }
/* ββ Charts ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.charts-row { display: grid; grid-template-columns: 280px 1fr; gap: 20px; margin-bottom: 24px; }
.chart-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform var(--transition), box-shadow var(--transition); }
.chart-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.chart-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 10px; border-bottom: 1px solid var(--border); }
.chart-title { font-family: var(--font-heading); font-size: 0.9rem; color: var(--primary); font-weight: 600; }
.chart-badge { font-size: 0.7rem; padding: 2px 8px; border-radius: 100px; background: rgba(0,114,206,0.06); color: var(--text-muted); border: 1px solid var(--border); }
.chart-body { padding: 16px 18px; position: relative; }
.chart-img { width: 100%; border-radius: var(--radius-sm); display: block; border: 1px solid var(--border); }
.chart-img-wide { max-height: 360px; object-fit: contain; }
.chart-placeholder { height: 200px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; text-align: center; }
@media (max-width: 860px) { .charts-row { grid-template-columns: 1fr; } }
.donut-legend { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding: 8px 16px 16px; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-muted); }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; }
.full-width { grid-column: 1 / -1; }
/* ββ Table βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.table-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 24px; overflow: hidden; }
.table-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.table-title { font-family: var(--font-heading); font-size: 0.95rem; color: var(--primary); }
.table-controls { display: flex; align-items: center; gap: 10px; }
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table thead th { background: var(--primary); color: rgba(255,255,255,0.9); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 11px 14px; text-align: left; white-space: nowrap; }
.data-table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text-primary); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(0,114,206,0.04); }
.table-empty { text-align: center; color: var(--text-muted); padding: 32px; }
.sortable { cursor: pointer; user-select: none; }
.sortable:hover { color: #ffffff; }
.sort-icon { font-size: 0.7rem; opacity: 0.5; }
.sort-asc .sort-icon, .sort-desc .sort-icon { opacity: 1; color: #ffffff; }
.cell-id { font-family: var(--font-heading); color: var(--primary); font-weight: 700; }
/* Probability bar */
.prob-bar-wrap { display: flex; align-items: center; gap: 8px; min-width: 100px; }
.prob-bar { height: 6px; background: var(--accent); border-radius: 3px; transition: width 0.4s ease; min-width: 2px; }
.prob-text { font-size: 0.82rem; white-space: nowrap; color: var(--text-muted); }
/* ββ Search Input ββββββββββββββββββββββββββββββββββββββββββββββββββ */
.search-input { background: #ffffff; border: 1.5px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); padding: 7px 12px; font-size: 0.85rem; width: 180px; }
.search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,114,206,0.15); }
/* ββ Pagination ββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; border-top: 1px solid var(--border); }
.page-btn { padding: 6px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.82rem; transition: var(--transition); }
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-info { font-size: 0.82rem; color: var(--text-muted); }
/* ββ Trial Selector Form βββββββββββββββββββββββββββββββββββββββββββ */
.trial-selector-form { display: flex; align-items: center; }
select.form-select { min-width: 220px; }
/* ββ Dashboard Layout ββββββββββββββββββββββββββββββββββββββββββββββ */
.dashboard-body { padding-top: 28px; padding-bottom: 40px; }
/* ββ Patient Detail ββββββββββββββββββββββββββββββββββββββββββββββββ */
.patient-body { padding-top: 28px; padding-bottom: 48px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 24px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.demo-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 12px; font-size: 0.88rem; }
.demo-list dt { color: var(--text-muted); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 0 0; }
.demo-list dd { color: var(--text-primary); padding: 6px 0 0; }
.risk-meter-wrap { margin-bottom: 18px; }
.risk-meter { background: var(--card-bg-2); border-radius: 100px; height: 10px; overflow: hidden; border: 1px solid var(--border); }
.risk-meter-fill { height: 100%; border-radius: 100px; background: var(--accent); transition: width 0.6s ease; }
.risk-meter-fill.risk-low { background: var(--risk-low); }
.risk-meter-fill.risk-medium { background: var(--risk-medium); }
.risk-meter-fill.risk-high { background: var(--risk-high); }
.risk-meter-fill.risk-critical { background: var(--risk-critical); }
.risk-prob-label { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--primary); text-align: right; margin-top: 4px; }
.risk-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.risk-meta-item { background: var(--card-bg-2); border-radius: var(--radius-sm); border: 1px solid var(--border); padding: 10px 12px; }
.risk-meta-label { display: block; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.risk-meta-value { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--primary); font-weight: 600; }
.explanation-label { font-size: 0.72rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.explanation-text { font-size: 0.88rem; color: var(--text-primary); line-height: 1.6; }
.drivers-label { font-size: 0.72rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; margin-top: 14px; }
.drivers-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.driver-item { display: grid; grid-template-columns: 20px 1fr auto auto; align-items: center; gap: 8px; font-size: 0.84rem; background: var(--card-bg-2); border-radius: var(--radius-sm); padding: 6px 10px; border: 1px solid var(--border); }
.driver-rank { color: var(--text-muted); font-size: 0.75rem; }
.driver-name { color: var(--text-primary); }
.driver-direction { font-size: 0.75rem; font-weight: 700; }
.dir-up { color: var(--risk-critical); }
.dir-down { color: var(--risk-low); }
.driver-value { font-family: 'Fira Code', monospace; font-size: 0.78rem; color: var(--text-muted); }
.charts-col { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.actions-section { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
@media (max-width: 860px) { .actions-section { grid-template-columns: 1fr; } }
.action-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.action-item { background: var(--card-bg-2); border-radius: var(--radius-sm); border: 1px solid var(--border); padding: 12px 14px; border-left: 3px solid var(--border); }
.action-item.outcome-retained { border-left-color: var(--risk-low); }
.action-item.outcome-dropped_out { border-left-color: var(--risk-critical); }
.action-item.outcome-pending { border-left-color: var(--risk-medium); }
.action-date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.action-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.action-type { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.action-by { font-size: 0.75rem; color: var(--text-muted); }
.action-notes { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.outcome-badge-retained { color: #006627; font-size: 0.75rem; font-weight: 700; }
.outcome-badge-dropped_out { color: var(--risk-critical); font-size: 0.75rem; font-weight: 700; }
.outcome-badge-pending { color: #7A5200; font-size: 0.75rem; font-weight: 700; }
.outcome-badge-no_response { color: var(--text-muted); font-size: 0.75rem; font-weight: 700; }
/* ββ Cohort Page βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.cohort-body { padding-top: 28px; padding-bottom: 48px; }
.forecast-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 860px) { .forecast-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.forecast-kpi-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.forecast-kpi-card:hover { transform: translateY(-3px); }
.forecast-kpi-link { text-decoration: none; color: inherit; display: block; }
.forecast-kpi-link:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.forecast-kpi-cta { font-size: 0.72rem; color: var(--accent); opacity: 0; margin-top: 10px; transition: opacity var(--transition); letter-spacing: 0.02em; }
.forecast-kpi-link:hover .forecast-kpi-cta { opacity: 1; }
.forecast-kpi-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.forecast-kpi-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.forecast-kpi-sub { font-size: 0.75rem; color: var(--text-muted); }
.days-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.8rem; font-weight: 600; }
.days-critical { background: rgba(204,0,0,0.08); color: var(--risk-critical); border: 1px solid rgba(204,0,0,0.25); }
.days-warn { background: rgba(255,184,28,0.1); color: #7A5200; border: 1px solid rgba(255,184,28,0.3); }
.days-ok { background: rgba(0,150,57,0.08); color: #006627; border: 1px solid rgba(0,150,57,0.2); }
.days-unknown { color: var(--text-muted); }
.kpi-30 .forecast-kpi-value { color: var(--risk-low); }
.kpi-60 .forecast-kpi-value { color: var(--accent); }
.kpi-90 .forecast-kpi-value { color: var(--risk-high); }
.kpi-ci .forecast-kpi-value { color: var(--primary); font-size: 1.3rem; }
.download-section { margin-top: 24px; }
.download-inner { padding: 28px 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.download-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--primary); margin-bottom: 4px; }
.download-sub { font-size: 0.87rem; color: var(--text-muted); max-width: 500px; }
.download-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* ββ Upload Page βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.upload-body { padding-top: 28px; padding-bottom: 48px; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.upload-tabs { display: flex; border-bottom: 2px solid var(--border); padding: 0 20px; background: var(--dark-bg); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.upload-tab { background: none; border: none; padding: 14px 20px; font-size: 0.88rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color var(--transition), border-color var(--transition); }
.upload-tab:hover { color: var(--primary); }
.upload-tab.tab-active { color: var(--primary); border-bottom-color: var(--accent); }
.tab-panel.hidden { display: none; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group-inline { display: flex; align-items: center; gap: 10px; }
.form-label-inline { font-size: 0.85rem; color: var(--text-primary); font-weight: 500; margin: 0; }
.form-checkbox { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.upload-success-banner { background: #D4EDDA; color: #155724; border: 1px solid #A8D5B5; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.88rem; margin-bottom: 16px; }
@media (max-width: 860px) { .upload-grid { grid-template-columns: 1fr; } }
.file-drop-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 32px 20px; cursor: pointer; transition: border-color var(--transition), background var(--transition); position: relative; text-align: center; min-height: 140px; }
.file-drop-zone:hover, .file-drop-zone.drag-over { border-color: var(--accent); background: rgba(0,114,206,0.03); }
.file-drop-zone.has-file { border-color: var(--risk-low); }
.drop-text { font-size: 0.9rem; color: var(--text-muted); margin-top: 10px; }
.drop-hint { font-size: 0.78rem; color: var(--text-muted); opacity: 0.6; }
.file-name-display { display: block; font-size: 0.82rem; color: var(--accent); margin-top: 6px; }
.upload-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.result-stat { background: var(--card-bg-2); border-radius: var(--radius-sm); padding: 14px; text-align: center; border: 1px solid var(--border); }
.result-num { display: block; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; }
.result-label { display: block; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.result-created .result-num { color: var(--risk-low); }
.result-skipped .result-num { color: #7A5200; }
.result-errors .result-num { color: var(--risk-critical); }
.guide-section { margin-bottom: 24px; }
.guide-type { font-family: var(--font-heading); font-size: 0.9rem; color: var(--primary); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.guide-table { width: 100%; font-size: 0.83rem; border-collapse: collapse; }
.guide-table th { background: rgba(0,43,135,0.06); color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 7px 10px; text-align: left; }
.guide-table td { padding: 6px 10px; border-top: 1px solid var(--border); color: var(--text-primary); vertical-align: middle; }
.guide-table td:nth-child(3) { color: var(--accent); font-weight: 700; text-align: center; }
.guide-note { font-size: 0.82rem; color: var(--text-muted); background: rgba(0,114,206,0.04); border: 1px solid rgba(0,114,206,0.15); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 16px; line-height: 1.6; }
/* ββ Train Panel βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.train-panel { margin-top: 16px; padding: 0; }
.train-panel-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; flex-wrap: wrap; }
.train-panel-title { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin: 0 0 4px; }
.train-panel-sub { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.train-panel-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.train-status-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.train-status-badge.status-running { background: rgba(0,114,206,0.12); color: var(--accent); }
.train-status-badge.status-ok { background: rgba(0,150,57,0.12); color: #009639; }
.train-status-badge.status-error { background: rgba(204,0,0,0.12); color: #CC0000; }
/* ββ Empty State βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary); margin-bottom: 8px; }
.empty-sub { color: var(--text-muted); margin-bottom: 24px; font-size: 0.9rem; }
/* ββ Responsive ββββββββββββββββββββββββββββββββββββββββββββββββββββ */
@media (max-width: 600px) {
.kpi-grid { grid-template-columns: repeat(2, 1fr); }
.page-title { font-size: 1.3rem; }
.hero-cta { flex-direction: column; align-items: center; }
}
/* ββ Print styles ββββββββββββββββββββββββββββββββββββββββββββββββββ */
@media print {
.navbar, .footer, .btn, .page-header-actions, .action-form-card { display: none !important; }
body { background: white; color: black; }
.card { border: 1px solid #ccc; box-shadow: none; }
.page-header { background: #003087 !important; }
}
/* Navbar Sign Out visibility fix */
.navbar .nav-right .btn-outline,
.navbar .nav-right a.btn-outline,
.navbar .nav-right button.btn-outline {
color: #ffffff !important;
border-color: rgba(255,255,255,0.75) !important;
background: transparent !important;
}
.navbar .nav-right .btn-outline:hover,
.navbar .nav-right a.btn-outline:hover,
.navbar .nav-right button.btn-outline:hover {
color: #ffffff !important;
background: rgba(255,255,255,0.18) !important;
border-color: #ffffff !important;
} |