/* Shared Bio-Nexus tool design shell */
body.tool-body {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.08), transparent 22%),
                radial-gradient(circle at bottom left, rgba(67, 56, 202, 0.12), transparent 22%),
                linear-gradient(180deg, #020617 0%, #08101f 55%, #050811 100%);
    color: #e2e8f0;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body.tool-body .glass, body.tool-body .glass-card, body.tool-body .tool-panel {
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

body.tool-body nav {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.tool-body nav a,
body.tool-body nav h1,
body.tool-body nav h2,
body.tool-body nav .text-slate-400,
body.tool-body nav .text-slate-300 {
    color: #f8fafc !important;
}

body.tool-body .tool-title {
    font-size: clamp(2rem, 2.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: none;
}

body.tool-body .tool-subtitle {
    color: #cbd5e1;
    max-width: 52rem;
}

body.tool-body .tool-card {
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.tool-body .tool-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.24);
}

body.tool-body .tool-button,
body.tool-body .tool-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.95rem 1.75rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.tool-body .tool-button:hover,
body.tool-body .tool-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(56, 189, 248, 0.16);
}

body.tool-body .tool-button-primary {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: white;
}

body.tool-body .tool-button-secondary {
    background: rgba(30, 41, 59, 0.95);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

body.tool-body .tool-input,
body.tool-body .tool-textarea {
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
}

body.tool-body .tool-input:focus,
body.tool-body .tool-textarea:focus {
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

body.tool-body .tool-tag {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}

body.tool-body .tool-footer {
    color: #94a3b8;
}

body.tool-body .tool-alert {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: #bae6fd;
}
