/* ============================================================
   DMC NEON GRAFFITI THEME — PrintFix Pro
   Full Production Styling
============================================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}


/* ===============================
   🔝 TOP TOOLBAR
================================*/
.top-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;

    background: #000000e8;
    border-bottom: 2px solid #00eaff66;
    backdrop-filter: blur(10px);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 20px;
    z-index: 99999;
}

/* Left section */
.toolbar-left {
    display: flex;
    align-items: center;
}

.toolbar-logo {
    height: 40px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(0 0 6px #00eaffaa);
}

.toolbar-title {
    color: #00eaff;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 0 8px #00eaffaa;
}

/* Right section links */
.toolbar-right a {
    color: #00eaff;
    margin-left: 20px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    text-shadow: 0 0 6px #00eaff88;
}

.toolbar-right a:hover {
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ffbb;
}

/* Prevent content from hiding under toolbar */
body {
    padding-top: 70px;
}

.top-toolbar a::after {
    content:"";
    position:absolute;
    bottom:-4px;
    left:50%;
    width:0%;
    height:2px;
    background:#00eaff;
    box-shadow:0 0 10px #00eaff;
    transform:translateX(-50%);
    transition:0.3s;
}

.top-toolbar a:hover::after {
    width:80%;
    background:#ff00ff;
}


/* Neon glow text */
.neon {
    color: #00eaff;
    text-shadow:
        0 0 6px #00eaff,
        0 0 12px #00eaff,
        0 0 24px #00eaff,
        0 0 48px #00ccff;
}

/* Content section layout */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px 120px;
}

/* Cards and containers */
.card,
.calc-box {
    background: #111;
    border-radius: 14px;
    padding: 22px;
    margin: 25px 0;
    border: 2px solid rgba(0, 238, 255, 0.35);
    box-shadow: 0 0 22px rgba(0, 255, 255, 0.08);
}

/* Calculator style */
.calc-box {
    border-color: rgba(255, 0, 255, 0.45);
    box-shadow: 0 0 24px rgba(255, 0, 255, 0.18);
}

/* Inputs */
input,
select {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    border: none;
    border-radius: 10px;
    background: #222;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}

input:focus,
select:focus {
    box-shadow: 0 0 10px #00eaff;
}

/* Buttons */
button {
    width: 100%;
    padding: 14px;
    margin-top: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: #00eaff;
    color: #000;
    font-weight: 800;
    font-size: 18px;
    transition: 0.2s;
}

button:hover {
    background: #69f3ff;
    box-shadow: 0 0 12px #00eaff;
}

/* Calculator results */
.result {
    background: #000;
    padding: 12px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid rgba(0, 238, 255, 0.35);
}

/* Navigation bar */
.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000e6;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-around;
    padding: 14px 0;
    z-index: 9999;
    border-top: 2px solid #00eaff66;
}

.nav a {
    color: #00eaff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 0 8px #00eaffaa;
}

.nav a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ffaa;
}

/* Router loader bar */
#route-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #00eaff, #ff00ff);
    box-shadow: 0 0 12px #00eaff;
    z-index: 99999;
    transition: width 0.5s ease;
}

/* Page transition animations */
#app {
    opacity: 1;
    transform: translateY(0px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.page-exit {
    opacity: 0;
    transform: translateY(20px);
}

.page-enter {
    opacity: 0;
    transform: translateY(-20px);
}

.page-enter-active {
    opacity: 1;
    transform: translateY(0px);
}

/* AI Spinner */
.ai-spinner {
    margin: 30px auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 6px solid #222;
    border-top: 6px solid #00eaff;
    box-shadow: 0 0 15px #00eaff;
    display: none;
    animation: spin 1s linear infinite, pulseGlow 1.4s infinite alternate;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 6px #00eaff; }
    to   { box-shadow: 0 0 22px #00eaff; }
}

/* Probability bar */
.prob-bar-container {
    width: 100%;
    height: 18px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 238, 255, 0.4);
    margin: 6px 0 14px;
}

.prob-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00eaff, #ff00ff);
    box-shadow: 0 0 12px #00eaff;
    transition: width 1.4s ease-out;
}

/* Result cards */
.spray {
    padding: 15px;
    border-radius: 14px;
    background: #111;
    border: 2px solid #00eaff;
    box-shadow: 0 0 24px #00eaff60;
    margin-bottom: 20px;
}

.ai-issue {
    font-size: 22px;
    font-weight: 700;
    color: #00eaff;
}

.ai-fix {
    font-size: 17px;
    opacity: 0.85;
}

.ai-ring {
    position: absolute;
    top: -10px; left: -10px;
    right: -10px; bottom: -10px;
    border-radius: 20px;
    border: 4px solid transparent;
    animation: radarPulse 2s infinite ease-in-out;
}

@keyframes radarPulse {
    0% { border-color: #00eaff44; box-shadow: 0 0 2px #00eaff; }
    50% { border-color: #ff00ff44; box-shadow: 0 0 12px #ff00ff; }
    100% { border-color: #00eaff44; box-shadow: 0 0 2px #00eaff; }
}


/* Spray wipe animation */
@keyframes sprayWipe {
    0% { clip-path: circle(0% at 50% 50%); opacity: 1; }
    100% { clip-path: circle(150% at 50% 50%); opacity: 0; }
}

.spray-wipe {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, #00eaff, #ff00ff);
    mix-blend-mode: screen;
    z-index: 99998;
    animation: sprayWipe 0.6s ease-out forwards;
    pointer-events: none;
}

.ai-result-pop {
    animation: popin 0.4s ease-out;
}

@keyframes popin {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.tool-header {
    text-align: center;
    padding: 25px 10px 10px;
}

.tool-logo {
    width: 180px;
    max-width: 70%;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 12px #00eaffaa);
}

.tool-ribbon {
    margin-top: 12px;
    padding: 12px 8px;
    border-radius: 10px;
    background: linear-gradient(90deg, #00eaff, #ff00ff);
    color: #000;
    font-size: 22px;
    font-weight: 800;
    text-shadow: none;
    box-shadow: 0 0 22px #00eaffaa;
    animation: ribbonIn 0.45s ease-out;
}

@keyframes ribbonIn {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 120px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00eaff, #ff00ff);
    color: #000;
    font-size: 28px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 18px #00eaffaa;
    cursor: pointer;
    z-index: 999999;
    transition: 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px #ff00ff;
}

/* ADVANCED DIAGNOSER ELEMENTS */

.adv-option {
    background: #1a1a1a;
    padding: 14px;
    margin: 8px 0;
    border-radius: 10px;
    border: 1px solid #00eaff55;
    cursor: pointer;
    transition: 0.2s;
    color: #00eaff;
}

.adv-option:hover {
    background:#00eaff22;
    color:#ff00ff;
    box-shadow:0 0 12px #00eaff88;
}

.adv-prob-bar {
    width: 100%;
    height: 18px;
    border-radius: 10px;
    overflow:hidden;
    background:#222;
    margin:10px 0;
    border:1px solid #00eaff55;
}

.adv-prob-fill {
    height:100%;
    width:0%;
    background:linear-gradient(90deg, #00eaff, #ff00ff);
    box-shadow:0 0 12px #00eaff;
    transition:width 1.4s ease-out;
}

.adv-best {
    border:2px solid #ff00ff;
    box-shadow:0 0 25px #ff00ff88;
    padding:10px;
    border-radius:12px;
}

.home-logo-box {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.home-logo {
    width: 160px;
    max-width: 70%;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px #00eaffaa);
}

.home-title {
    font-size: 42px;
    margin: 0;
}

.home-subtitle {
    margin-top: 6px;
    font-size: 20px;
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ffaa;
    font-weight: 700;
    letter-spacing: 1px;
}

.toolbar-right a.active {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    border-bottom: 2px solid #ff00ff;
}

.tool-btn {
    width: 100%;
    padding: 14px;
    margin-top: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(90deg, #00eaff, #ff00ff);
    color: #000;
    font-weight: 700;
    font-size: 16px;
    transition: 0.25s;
    box-shadow: 0 0 14px #00eaffaa;
}

.tool-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff00ffaa;
    background: linear-gradient(90deg, #ff00ff, #00eaff);
}

.tool-btn:active {
    transform: scale(0.96);
}

.diag-stepPill.active{
  opacity: 1 !important;
  border-color: rgba(0,234,255,.55) !important;
  box-shadow: 0 0 16px rgba(0,234,255,.18) !important;
}
.diag-confidence{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  font-size: 12px;
  font-weight: 900;
  margin: 6px 0 8px;
}
.diag-confidence.high{ border-color: rgba(0,255,204,.35); }
.diag-confidence.med{ border-color: rgba(0,234,255,.35); }
.diag-confidence.low{ border-color: rgba(255,0,255,.30); }

