.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.health-node-pulse {
    box-shadow: 0 0 0 0 rgba(0, 207, 231, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 207, 231, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 207, 231, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 207, 231, 0);
    }
}

.filled-icon {
    font-variation-settings: 'FILL' 1;
}

.diag-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #c3c6d4;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #141c24;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.diag-input:focus {
    border-color: #2b5bb5;
    box-shadow: 0 0 0 3px rgba(43, 91, 181, 0.12);
}

.diag-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #434652;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.diag-group-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #004f58;
    padding: 0.35rem 0.75rem;
    background: #9cf0ff33;
    border-left: 3px solid #00cfe7;
    border-radius: 0 0.25rem 0.25rem 0;
    margin-bottom: 1.25rem;
}

.diag-option {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid #dbe3ef;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    user-select: none;
}

.diag-option:hover {
    border-color: #2b5bb5;
    background: #edf4ff;
}

.diag-option input[type="checkbox"],
.diag-option input[type="radio"] {
    margin-top: 2px;
    accent-color: #003178;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.diag-option input:checked ~ span {
    color: #003178;
    font-weight: 600;
}

.diag-option:has(input:checked) {
    border-color: #2b5bb5;
    background: #edf4ff;
}

.diag-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #003178 0%, #0d47a1 100%);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 49, 120, 0.25);
    transition: transform 0.18s, box-shadow 0.18s;
}

.diag-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 49, 120, 0.32);
}

.diag-submit:active {
    transform: scale(0.98);
}

#diag-success {
    display: none;
}

.diag-success-icon {
    animation: successBounce 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes successBounce {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

.text-glow {
    text-shadow: 0 0 20px rgba(13, 71, 161, 0.2);
}
